This is the mail archive of the ecos-discuss@sourceware.org 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: Help creating synthetic targets on cygwin-pc.


On 06/08/10 21:58, dcoder wrote:
So, I switched over to a linux box:
uname -a
Linux iapetus 2.6.33.6-147.fc13.x86_64 #1 SMP Tue Jul 6 22:32:17 UTC 2010
x86_64 x86_64 x86_64 GNU/Linux
> and  I am running into similar problems.  I am building synthetic
> target 'i386linux'.  When I do make inside the buildtree, I get
> i686-pc-linux-gnu-gcc not found.

The synth target is 32-bit only; your OS is 64-bit. To build it you will need to add -m32 to the global cflags. (Having made that change, you ought to blow away your build tree and rebuild from scratch.) It should run just fine.


Ross


--
eCosCentric Ltd, Barnwell House, Barnwell Drive, Cambridge CB5 8UU, UK
Registered in England no. 4422071.                 www.ecoscentric.com

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


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