This is the mail archive of the crossgcc@sourceware.org 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] |
here's a question for which i'm pretty sure i know the answer, but i need to be absolutely sure.
i'm trying to cross-compile a downloaded tarball (the toolchain was downloaded from a vendor), and the instructions for cross-compiling were simply to
$ make CC=arm-...-gcc LD=arm-...-ld
which is pretty standard. but the cross compile failed almost immediately, complaining about a missing "curses.h" file.
the software compiles fine natively on my ubuntu 10.04 system, because i have all the curses-related packages installed. but if i'm trying to cross-compile, is it not the responsibility of the *toolchain* to supply all necessary standard header files?
as soon as i got that error, i checked where i installed the toolchain and noticed immediately that there was no curses.h file, and mentioned that.
someone else claimed that what i really needed to do was install the toolchain at /opt rather than elsewhere because the README claimed that the toolchain wasn't relocatable. but i can't see how that's relevant.
if i'm trying to cross-compile, and a C file includes a header file, and the toolchain doesn't supply that header file, shouldn't i expect the build to fail? i certainly don't expect the cross compiler to wander off, looking for header files elsewhere so my position is that that toolchain simply isn't capable of compiling anything that requires curses capability because it doesn't provide a curses.h file.
am i misunderstanding anything here?
rday
--
======================================================================== Robert P. J. Day Waterloo, Ontario, CANADA
Top-notch, inexpensive online Linux/OSS/kernel courses http://crashcourse.ca
Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
-- For unsubscribe information see http://sourceware.org/lists.html#faq
| Peter Wippich Voice: +49 30 46776411 | | G&W Instruments GmbH fax: +49 30 46776419 | | Gustav-Meyer-Allee 25, Geb. 12 Email: pewi@gw-instruments.de | | D-13355 Berlin / Germany |
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |