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]
Other format: [Raw text]

How to build applications for an embeded linux target using newlib ?


Hi

I have built a crossgcc running on cygwin for powerpc target.
With this crossgcc i successfuly built a linux kernel for my embeded
powerpc target.
Now i want to build applications to run on this linux system.
Therefore i built newlib with the following configuration:

--target=powerpc-eabi-linux-gnu --host=i686-pc-cygwin
--build=i686-pc-cygwin

I did run make and make install successfuly.
Now i have multiple directories with the built libraries.
I use the libc from the "lin" directory.
I am able to build a simple application using libc and libnosys.
But which files do i need to link against my applications if i want to use
system specific things like fork(), mkdir(), etc. .

Does newlib provide this special stubs for linux within a library ?
What is libgloss for ?
Is it at all possible to build applications for linux with newlib or is it
better to use glibc ?
I searched the www, but i did not find answers to all my questions.

Appreciate for any hints or information.

Thanks
Mathias



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


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