This is the mail archive of the newlib@sourceware.org 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]
Other format: [Raw text]

GCC switches required to use custom-built newlib


Hello

Assuming I have built my own version of newlib, how can a pre-built GCC be instructed (via command-line switches or environment variables) to link against that version?  (I am interested in cross compilation).

I think that -sysroot is designed for this, but am not sure; xxx-gcc -print-search-dirs doesn't have = signs prefixing all the paths.  Also, I probably need to explicitly link against $(xxx-gcc -print-libgcc-file-name), right?

Regards

Konrad


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