crt0.o is missing with --target=i686-pc-linux-gnu

Mike Frysinger vapier@gentoo.org
Tue May 5 07:08:00 GMT 2015


On 04 May 2015 18:06, Junfeng Dong wrote:
> I build newlib with "--target=i686-pc-linux-gnu --prefix=", no ctr0.o
> is compiled and installed. what is the problem?
> My build machine is 64 bit ubuntu 14.04.

your tuple is invalid.  "xxx-linux-gnu" means "the OS is Linux" and "the 
userland is GNU (i.e. glibc)".  you need to use something like i686-elf.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20150505/1f062310/attachment.sig>


More information about the Newlib mailing list