Re: cross gcc 4.0.2 question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Capek <jen@xxxxxxxx> writes:

> make[1]: Entering directory `/home/jan/mc/gcc-4.0.2/obj-gcc-pic30/gcc'
> ./NONExgcc -B./ -B/home/jan/mc/pic30/pic30-coff/bin/ -isystem 
> /home/jan/mc/pic30/pic30-coff/include -isystem 
> /home/jan/mc/pic30/pic30-coff/sys-include 
> -L/home/jan/mc/gcc-4.0.2/obj-gcc-pic30/gcc/../ld -O2  -DIN_GCC 
> -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes 
> -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g  
> -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. 
> -I/home/jan/mc/gcc-4.0.2/gcc-4.0.2/gcc 
> -I/home/jan/mc/gcc-4.0.2/gcc-4.0.2/gcc/. 
> -I/home/jan/mc/gcc-4.0.2/gcc-4.0.2/gcc/../include 
> -I/home/jan/mc/gcc-4.0.2/gcc-4.0.2/gcc/../libcpp/include  -DL_muldi3 -c 
> /home/jan/mc/gcc-4.0.2/gcc-4.0.2/gcc/libgcc2.c -o libgcc/./_muldi3.o
> In file included from /home/jan/mc/gcc-4.0.2/gcc-4.0.2/gcc/libgcc2.c:37:
> ./auto-host.h:75:14: warning: missing whitespace after the macro name
> In file included from /home/jan/mc/gcc-4.0.2/gcc-4.0.2/gcc/libgcc2.c:43:
> /home/jan/mc/gcc-4.0.2/gcc-4.0.2/gcc/tsystem.h:53: error: syntax error 
> before '*' token
> /home/jan/mc/gcc-4.0.2/gcc-4.0.2/gcc/tsystem.h:57: error: syntax error 
> before 'void'
> /home/jan/mc/gcc-4.0.2/gcc-4.0.2/gcc/tsystem.h:61: error: syntax error 
> before '(' token
> /home/jan/mc/gcc-4.0.2/gcc-4.0.2/gcc/tsystem.h:61: error: syntax error 
> before ')' token
> /

You need to look at the preprocessed output to see what is happening.
Run the above command with the --save-temps option.  Look at the
libgcc2.i file.  I suspect the problem will be obvious.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux