This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: gcc 3.0.4 build problem
- From: "Igor Trevisan" <igor dot trevisan at bluewind dot it>
- To: igor dot trevisan at bluewind dot it, Pete Barrie <peter at cis dot strath dot ac dot uk>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 11 Mar 2002 09:23:55 +0100
- Subject: [ECOS] Re: gcc 3.0.4 build problem
Hi Pete!
I don't know the reason for the error we had to solve but...
I can tell you the way I followed to build native gcc 3.0.3
under cygwin (Windows2000):
I first compiled gcc3.0 and then I used it to compile
the 3.0.3 release of gcc.
Finally with gcc 3.0.3 I build the ARM X-compiler.
What follow is just what "I" did:
../gcc-3.x/configure --prefix="yourpath" --enable-threads=single
to configure both gcc 3.0 and 3.0.3
and give the following make command:
make -w all-gcc install-gcc LANGUAGES="c c++"
I hope this can help you with gcc-3.0.4...
Igor.
On 8 Mar 2002, at 21:05, Pete Barrie wrote:
> 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
>
>
-----------------------------------------------------------------
BlueWind Embedded Systems Design
Via Steffani 7/B
31033 Castelfranco Veneto (TV)
-----------------------------------------------------------------
Office +39 0 423 723431
Fax +39 0 423 744738
Mobile +39 335 7298820
mailto:igor.trevisan@bluewind.it
http://www.bluewind.it
----------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss