[uClibc] first try of gcc 4.0.0 compiling for ppc

Wojciech Kromer wojciech.kromer at dgt.com.pl
Fri Jun 10 10:48:50 UTC 2005


/opt/uclibc/ppc_4_0_0/build_powerpc_nofpu/staging_dir/bin/powerpc-linux-uclibc-gcc  
-Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing   
-msoft-float  -fno-builtin -nostdinc -D_LIBC -I../../../include -I.  -Os 
-funit-at-a-time -isystem 
/opt/uclibc/ppc_4_0_0/build_powerpc_nofpu/staging_dir/lib/gcc/powerpc-linux-uclibc/4.0.0/include 
-DNDEBUG -fpic -DL_memcpy string.c -c -o memcpy.o
string.c: In function 'memcpy':
string.c:63: error: invalid lvalue in increment
string.c:63: error: invalid lvalue in increment
string.c:70: error: invalid lvalue in increment
string.c:70: error: invalid lvalue in increment


-are there any syntax changes from gcc 3.4.3 to 4.0.0?
 there is just:

  ++(unsigned long *)tmp_to = *++(unsigned long *)from;

in line 63





More information about the uClibc mailing list