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]

Re: gcc 3.0.4 build problem



I went through this a while back.  There's a way to disable any of the extra 
languages that gcc can be compiled for (in this case objectiveC).  I think 
its something like "languages=c c++" or something like that.  I know its 
painful but check out the gcc documentation.

-Erik Reikes

PS Actually I found it in I think either the x86 or PowerPC instructions for 
eCos.  HTH.

>From: Pete Barrie <peter@cis.strath.ac.uk>
>To: igor.trevisan@bluewind.it
>CC: ecos-discuss@sources.redhat.com
>Subject: [ECOS] gcc 3.0.4 build problem
>Date: Fri, 08 Mar 2002 21:05:49 +0000
>MIME-Version: 1.0
>Received: from [209.249.29.67] by hotmail.com (3.2) with ESMTP id 
>MHotMailBE5273770073400438E7D1F91D4312F40; Fri, 08 Mar 2002 13:09:15 -0800
>Received: (qmail 17137 invoked by alias); 8 Mar 2002 21:05:59 -0000
>Received: (qmail 16978 invoked from network); 8 Mar 2002 21:05:55 -0000
>Received: from unknown (HELO imailg1.svr.pol.co.uk) (195.92.195.179)  by 
>sources.redhat.com with SMTP; 8 Mar 2002 21:05:55 -0000
>Received: from [195.92.168.141] (helo=tmailb1.svr.pol.co.uk)by 
>imailg1.svr.pol.co.uk with esmtp (Exim 3.35 #1)id 16jRYn-0008BC-00; Fri, 08 
>Mar 2002 21:05:53 +0000
>Received: from modem-942.zebra.dialup.pol.co.uk ([217.134.243.174] 
>helo=PC-PETER2.cis.strath.ac.uk)by tmailb1.svr.pol.co.uk with esmtp (Exim 
>3.35 #1)id 16jRYm-0007Yq-00; Fri, 08 Mar 2002 21:05:52 +0000
>From ecos-discuss-return-13838-ereikes Fri, 08 Mar 2002 13:11:07 -0800
>Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm
>Precedence: bulk
>List-Unsubscribe: 
><mailto:ecos-discuss-unsubscribe-ereikes=hotmail.com@sources.redhat.com>
>List-Subscribe: <mailto:ecos-discuss-subscribe@sources.redhat.com>
>List-Archive: <http://sources.redhat.com/ml/ecos-discuss/>
>List-Post: <mailto:ecos-discuss@sources.redhat.com>
>List-Help: <mailto:ecos-discuss-help@sources.redhat.com>, 
><http://sources.redhat.com/ml/#faqs>
>Sender: ecos-discuss-owner@sources.redhat.com
>Delivered-To: mailing list ecos-discuss@sources.redhat.com
>Message-Id: <5.1.0.14.0.20020308203803.0296d930@pophost.cs.strath.ac.uk>
>X-Sender: peter@pophost.cs.strath.ac.uk
>X-Mailer: QUALCOMM Windows Eudora Version 5.1
>
>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
>


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


-- 
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]