This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


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

Re: Building CrosGCC with newlib: crt1.o missing


Martin Oberhuber wrote:
> 
> Hello,
> 
> I am trying to build a Windows (cygwin-1.1.5) based CrossGCC (2.95.2-5)
> with newlib-1.8.2. Target should be i386-pc-linux-gnu.
> 
> I first compiled binutils, then I merged the gcc and newlib source
> trees, then I could build the CrossGCC. In fact, my new CrosGCC can
> build correct objects, but it fails to link because crt1.o is missing.
> 
> Where do I get the missing crt1.o for a i386-pc-linux-gnu target? I
> thought that it should be part of libc/newlib?
> 
> Martin
> 
> --
> ---------------------------------/()\-----------------------------------
> DI Martin Oberhuber                mailto:martin.oberhuber@windriver.com
> Field Support Engineer             Phone  (UTC +1h): +43 (662) 457915-85
> TakeFive Software GmbH, a Wind River Company    Fax: +43 (662) 457915-6
> Jakob-Haringer-Str.8, A-5020 Salzburg, Austria  http://www.windriver.com
> ---------------- The Leader in Source Code Engineering -----------------

Martin,

  You won't find the Linux crt1.o in newlib.

  Newlib was initially intended only to support embedded platforms.  Other than
the Cygwin project, no native platform OS's were supported - the thought being that there
were already much more robust native C libraries out there such as glibc.

  Werner Almesberger has been doing work to add Linux support to newlib.
See ftp://icaftp.epfl.ch/pub/people/almesber/misc/newlib-linux/ for further details.


-- Jeff J.

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