{was} Which patches {now invalid lvalue???}
Amalaye Oyake
amalaye.oyake at jpl.nasa.gov
Fri Jan 26 00:26:19 UTC 2007
Yes Joel,
it was a configure problem. Adding the newlib symlink as described in the
instructions glided me past this problem (limits.h file).
My tools/bin dir now looks like
ls ../bin/
i386-rtems-addr2line i386-rtems-c++ i386-rtems-g++ i386-rtems-gccbug
i386-rtems-gdbtui i386-rtems-objcopy i386-rtems-readelf i386-rtems-strip
i386-rtems-ar i386-rtems-c++filt i386-rtems-gcc i386-rtems-gcov
i386-rtems-ld i386-rtems-objdump i386-rtems-size i386-rtems-as
i386-rtems-cpp i386-rtems-gcc-4.1.1 i386-rtems-gdb i386-rtems-nm
i386-rtems-ranlib i386-rtems-strings
To build RTEMS I did a
../rtems-4.6.6/configure --target=i386-rtems --disable-itron --enable-tests
--enable-rdbg --enable-rtemsbsp=pc686 --prefix=/home/coder/RTEMS/tools
make all install
i386-rtems-gcc --pipe -DHAVE_CONFIG_H -isystem
../../../../pc686/lib/include -D__RTEMS_INSIDE__ -mcpu=pentiumpro -O4
-g -Wall -ansi -fasm -o o-optimize/eventsend.o -c
../../../../../../rtems-4.6.6/c/src/../../cpukit/rtems/src/eventsend.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
i386-rtems-gcc --pipe -DHAVE_CONFIG_H -isystem
../../../../pc686/lib/include -D__RTEMS_INSIDE__ -mcpu=pentiumpro -O4
-g -Wall -ansi -fasm -o o-optimize/eventsurrender.o -c
../../../../../../rtems-4.6.6/c/src/../../cpukit/rtems/src/eventsurrender.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
../../../../../../rtems-4.6.6/c/src/../../cpukit/rtems/src/eventsurrender.c:
In function â:
../../../../../../rtems-4.6.6/c/src/../../cpukit/rtems/src/eventsurrender.c:
67: error: invalid lvalue in assignment
../../../../../../rtems-4.6.6/c/src/../../cpukit/rtems/src/eventsurrender.c:
99: error: invalid lvalue in assignment
make[4]: *** [o-optimize/eventsurrender.o] Error 1
make[4]: Leaving directory
`/home/coder/RTEMS/tools/build-rtems/i386-rtems/c/pc686/exec/rtems'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/coder/RTEMS/tools/build-rtems/i386-rtems/c/pc686/exec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/coder/RTEMS/tools/build-rtems/i386-rtems/c/pc686'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/coder/RTEMS/tools/build-rtems/i386-rtems/c'
make: *** [all-recursive] Error 1
-----Original Message-----
From: Joel Sherrill [mailto:joel.sherrill at oarcorp.com]
Sent: Thursday, January 25, 2007 10:10 AM
To: Amalaye Oyake
Cc: rtems-users at rtems.org
Subject: Re: Which patches should I use for binutils, gcc and newlib?
*limits.h*
Amalaye Oyake wrote:
>
> I should have been more specific. I asked what patch I should use b/c
> I was bombing out compiling gcc 4.1.1
it complains about limits.h
>
This looks like a configure problem. What command did you configure
with? Did you include --with-newlib?
>
More information about the users
mailing list