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

See the CrossGCC FAQ for lots more information.


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

RE: can not find sys/mman.h!!


> > Why are you using newlib with a Linux target? 
> > 
> BecauseI  compile gcc for embedded linux system.

That's not the way it works; AFAIK newlib doesn't work
on top of Linux, it's used for standalone (OS-less) applications.
For Linux targets, you need Glibc (standard lib) or uCLibc or
some other, less supported but smaller libraries that are much
smaller than glibc (but require more work to get to work).

Cheers,
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


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