This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

m68k-elf cross bug?


I don't know if this is really a bug or a configuration issue, but I ran
into a problem when trying to cross compile for m68k-elf, my configuration
is as follows. My host system is an i686-pc-linux-gnu, running both Suse
6.0 (kernel 2.0.36) and Redhat 5.2 (kernel 2.0.36):

/usr/local/source/egcs-19990405/configure --target=m68k-elf
--prefix=/usr/local/gcc-m68k --with-headers=/usr/include
--with-libraries=/usr/local/gcc-m68k/lib 

Here is the error that I am getting when issuing a 'make cross':

  /usr/local/build/egcs/gcc/xgcc -B/usr/local/build/egcs/gcc/
-B/usr/local/gcc-m68k/m68k-elf/bin/ -c -g -O2 -I.
-I/usr/local/source/egcs-19990405/libio
/usr/local/source/egcs-19990405/libio/filedoalloc.c -o pic/filedoalloc.o
/usr/local/build/egcs/gcc/xgcc -B/usr/local/build/egcs/gcc/
-B/usr/local/gcc-m68k/m68k-elf/bin/ -c -g -O2 -I.
-I/usr/local/source/egcs-19990405/libio
/usr/local/source/egcs-19990405/libio/filedoalloc.c
In file included from /usr/local/source/egcs-19990405/libio/libio.h:30,
                 from /usr/local/source/egcs-19990405/libio/iolibio.h:1,
                 from /usr/local/source/egcs-19990405/libio/libioP.h:40,
                 from /usr/local/source/egcs-19990405/libio/filedoalloc.c:48:
_G_config.h:43: parse error before `_G_sigset_t'
_G_config.h:43: warning: data definition has no type or storage class
make[2]: *** [filedoalloc.o] Error 1
make[2]: Leaving directory `/usr/local/build/egcs/m68k-elf/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/usr/local/build/egcs'
make: *** [cross] Error 2

line 43 of _G_config.h states:  #define _G_va_list __gnuc_va_list

where is __gnuc_va_list defined?  I couldn't find it...  Am I looking in
the right place or off in left field? :)

I hope this is enough information.

Thanks in advanced,
Lucas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]