This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG 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] |
Simply put: where are the glib(1 or 2) files for the host/target? I am building on an x86_64, and target is an rpi-1 (armv6-rpi-linux-gnueabifh). I have the toolchain built and it works for a simple progam, such as "Hello World". Here is the configure command: ./configure --host=armv6-rpi-linux-gnueabihf --includedir=<toolchain path>/x-tools/ib/glib2.0/include CFLAGS="-g -pg" CXXFLAGS="-g -pg" --with-pkg-config-path=<toolchain path>/x-tools/armv6-rpi-linux-gnueabihf/lib/pkgconfig --with-sysroot=/<toolchain path>x-tools/armv6-rpi-linux-gnueabihf/armv6-rpi-linux-gnueabihf/sysroot This runs ok. When I run make, for the first CC I get an error like "glibconfig.h: No such file or directory". I have glib(1 and 2.0) installed on the build system. But if I use that, the compiler thinks the host is also a 64 bit system (which it isn't). Any ideas? Any and all help greatly appreciated. TIA -- 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] |