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]

re: ct-ng: not installing include directory


Hello David!
Hello all!

> Message du 02/04/08 17:20
> De : "David George" <david@harktech.com>
> A : crossgcc@sourceware.org
> Copie à : 
> Objet : ct-ng: not installing include directory
> 
> Up to now I have been using crosstool for building ARM binaries.  I am 
> trying to use EABI for a new project and noticed ct-ng so I thought I'd 
> give it a try.  Anyway I can successfully build with gcc 4.2.1 and glibc 
> 2.6.1 (kernel 2.6.24).  I have my CT_PREFIX_DIR set to 
> /opt/crosstool/${CT_TARGET}/gcc-${CT_CC_VERSION}-glibc-${CT_LIBC_VERSION} 
> to mimic what I am used to with crosstool. In 
> /opt/crosstool/arm-unknown-linux-gnueabi/gcc-4.2.1-glibc-2.6.1/arm-unknown-linux-gnueabi/include 
> there is only a c++ directory.  I have CT_KERNEL_LINUX_HEADERS_INSTALL=y 
> in my .config.
> 
> Any ideas what I am doing wrong?

The real include directory is in ${CT_PREFIX_DIR}/${CT_TARGET}/sysroot . The one
you are poiting at is used internally by gcc to find (precompiled?) C++ headers.

You will also notice that there is a ${CT_PREFIX_DIR}/${CT_TARGET}/lib directory
that contains some gcc libraries. They do really belong to the sysroot as well,
but gcc is dumb enough not to install them at the correct place (I thought I fixed
that in crosstool-NG 1.0.0).

Regards,
Yann E. MORIN.


--
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]