From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4227 invoked by alias); 22 Nov 2007 15:30:36 -0000 Received: (qmail 4151 invoked by uid 22791); 22 Nov 2007 15:30:35 -0000 X-Spam-Check-By: sourceware.org Received: from bay0-omc3-s26.bay0.hotmail.com (HELO bay0-omc3-s26.bay0.hotmail.com) (65.54.246.226) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 22 Nov 2007 15:30:25 +0000 Received: from BAY105-W9 ([65.54.224.109]) by bay0-omc3-s26.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 22 Nov 2007 07:30:24 -0800 Message-ID: From: C B To: Lars Poeschel CC: Date: Thu, 22 Nov 2007 16:42:00 -0000 In-Reply-To: References: <472B7580.4080409@mlbassoc.com> <20071114133044.GX4401@lunn.ch> <473B12DF.3020408@mlbassoc.com> <473DDE1B.8000703@mlbassoc.com> <2a3305fe0711161155o72cbb9dfj4a26175dcedf8287@mail.gmail.com> <47419EA7.4050400@chez-thomas.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] eCos compatible with arm-elf-gcc version 4.1.1? X-SW-Source: 2007-11/txt/msg00154.txt.bz2 Sorry about mixing up the threads. =20 My configuration works perfectly with gcc 3.2.1. No problems finding any f= iles or building eCos. The ONLY thing that I changed was to point the buil= d tools at the 4.1.1 version of gcc and suddenly it can't find files that a= re in fact there. Seems like a problem related to gcc 4.1.1 in some way. > CC: ecos-discuss@ecos.sourceware.org > From: larsi@wh2.tu-dresden.de > Subject: Re: [ECOS] eCos compatible with arm-elf-gcc version 4.1.1? > Date: Thu, 22 Nov 2007 15:05:12 +0100 > To: csb_80@hotmail.com > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > >> I am successfully able to build the latest eCos from CVS using >> arm-elf-gcc version 3.2.1 that I got from eCosCentric. In order to >> take advantage of some additional instructions for my target I was >> attempting to update to arm-elf-gcc version 4.1.1 but I'm not able >> to build eCos now. I'm using the configtool in Windows XP and the >> only change is that I'm pointing to a new set of build tools. The >> error I'm getting looks like this: >> >> >> ... >> headers finished >> make -r -C hal/arm/arch/current arm.inc >> make[1]: Entering directory `/ecos-c/cygwin/opt/ecos/ecos-cvs/tmp3/ >> test_build/hal/arm/arch/current' >> arm-elf-gcc.exe: /opt/ecos/ecos-cvs/ecos/packages/hal/arm/arch/ >> current/src/hal_mk_defs.c: No such file or directory > > As you can see here, the compiler is not able to find a source file. > This is not a problem of gcc, but of your configuration. > Check your ECOS_REPOSITORY shell variable, > check that you set up your build environment with this variable, > and finally check that all source files are in place, propably you > have to update your local cvs tree. > >> arm-elf-gcc -finline-limit=3D7000 -mcpu=3Darm9tdmi -Wall -Wpointer- >> arith -Wstrict-prototypes -Winline -Wundef -g -O2 -ffunction- >> sections -fdata-sections -fno-exceptions -I/ecos-c/cygwin/opt/ >> ecos/ecos-cvs/tmp3/test_install/include -I/opt/ecos/ecos-cvs/ecos/ >> packages/hal/arm/arch/current -I/opt/ecos/ecos-cvs/ecos/packages/ >> hal/arm/arch/current/src -I/opt/ecos/ecos-cvs/ecos/packages/hal/arm/ >> arch/current/tests -I. -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S /opt/ >> ecos/ecos-cvs/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c >> arm-elf-gcc.exe: no input files > > Here you can see again, that the source file was not found. > >> make[1]: Leaving directory `/ecos-c/cygwin/opt/ecos/ecos-cvs/tmp3/ >> test_build/hal/arm/arch/current' >> make[1]: *** [arm.inc] Error 1 >> make: Leaving directory `/ecos-c/cygwin/opt/ecos/ecos-cvs/tmp3/ >> test_build' >> make: *** [build] Error 2 >> >> >> Is gcc 4.x not supported or am I missing something else? If not, >> is 3.2.1 (which is fairly old) that latest? > > Generally ecos should build for gcc4.x. > > Lars > > P.S.: Next time, don't answer to a previous mail, if you start a new > thread! > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (Darwin) > > iD8DBQFHRYyb3m3cZ1XsbwcRAkZmAJ9rVreAajPn5/AaEMgSZjYEfuzMJgCeOTqZ > rz2HBEmZ4HsllpSaAEGsACk=3D > =3DwTd1 > -----END PGP SIGNATURE----- _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/connect.html?ocid=3DTXT_TAGLM_Wave2_newways_1120= 07 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss