This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc 3.0.4 build problem


Igor, I have got the same compilation error that
you got in February. I'm trying to compile 3.0.4 native
on Cygwin, which is apparently possible.
I'll then be building ARM thumb X-compiler for Atmel ARM development
board.

I get errors below. Any ideas appreciated.
I couldn't find any resolution to the problem on
any of the groups/web search.

Thanks

Pete



  /src/gcc/gcc-3.0.4/configure --prefix=/usr --enable-threads=win32  *** 
this is OK
make bootstrap-lean  *** eventually FAILS as below...

8<...............

In file included from /usr/include/w32api/windows.h:101,
                  from /src/gcc/gcc-3.0.4/gcc/gthr-win32.h:67,
                  from ../../gcc/gthr-default.h:1,
                  from /src/gcc/gcc-3.0.4/gcc/gthr.h:98,
                  from /src/gcc/gcc-3.0.4/libobjc/thr-objc.c:31:
/usr/include/w32api/windef.h:131: conflicting types for `BOOL'
/src/gcc/gcc-3.0.4/libobjc/objc/objc.h:42: previous declaration of `BOOL'
make[2]: *** [thr-objc.lo] Error 1
make[2]: Leaving directory `/tmp/build/gcc3.0.4/i686-pc-cygwin/libobjc'
make[1]: *** [all-target-libobjc] Error 2
make[1]: Leaving directory `/tmp/build/gcc3.0.4'
make: *** [bootstrap-lean] Error 2


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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