Targets

Yves Rutschle y.rutschle@indigovision.com
Thu Jul 12 09:14:00 GMT 2001


--
Yves Rutschle                   IndigoVision Ltd
Software Engineer               Technopole Bush Loan
tel: +44(0) 131 475 7200        Edinburgh EH26 0PJ
fax: +44(0) 131 475 7201        Scotland


> -----Original Message-----
> From: Stuart Kenny [ mailto:skenny@solidum.com ]
> Sent: 12 July 2001 16:46
> To: crossgcc@sourceware.cygnus.com
> Subject: Targets
> 
> 
> 
> I've been reading through the new FAQ at : 
> http://crossgcc.billgatliff.com/crossgccfaq/t1.html
> and I have a question about target names.
> 
> I have been using target names as they (more or less) appear 
> as output from config.guess, using targets such as
> i386-pc-linux-gnu, i386-pc-netbsd1.4.3,  and sparc-sun-solaris2.7
> 
> The FAQ uses:
> powerpc-eabi, powerpc-elf, powerpc-linux, arm-linux, arm-elf, 
> sh-elf, sh-linux, h8300-coff and  m68k-coff
> 
> 
> My question:
> 
> Am I using the wrong form for my target, or is either valid?  

Both are valid. config.guess guesses (sic) the complete name
of your target with what you gave, along with some assumptions.
For example, *-linux targets will normally be elf, but you can
have a.out if you ask for it (a.out and elf are two different
executable format, somewhat like .com and .exe under Windows).

> Where do I are these terms defined?

Good question which I don't think has an answer; or if it
does, I don't know it :-)

> I've been a windows geek until resently, and I'm not sure 
> what half of these even are.  The FAQ assumes that you know what
> elf, arm, coff, etc. are.

The general rule of thumb is that if you don't know what something
is, then you don't want/need it. Eg: if you don't know an ARM is
a processor, you most probably don't want to compile anything
for it :-)
elf and coff are 2 executable formats.

/Y



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list