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]

Newlib doubt


Hi,

I was trying to compile newlib using an i386->mips cross gcc. I have a
couple of questions.
 I realize that I need to provide my own implementation of close, read,
write etc for my applications to work.  But when I tried the above
compilation, newlib needed the following header files - machine/ansi.h,
stddef.h, limits.h etc.(this is just a partial list). Now what I don't
understand is, do I have to have these header files as target specific
stuff since I am compiling newlib as a target library or do I have to
have these stuff from the native host which is i386.
I was able to compile newlib when I gave the i386 specific header files
in the include path. But I am not sure if this is the right thing.

I really appreciate your time and help.

Thank you,
Bharani.


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