Cross compiler: problem with limits.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

This used to work with older versions of GCC (4.2 series and earlier),
but with the trunk version I'm facing the following problem when using
the built cross compiler (for i586-pc-gnu, by the way).  I'm getting the
limits.h header file installed as both
`lib/gcc/i586-pc-gnu/4.3.0/install-tools/include/limits.h' and
`lib/gcc/i586-pc-gnu/4.3.0/include-fixed/limits.h'.  However gcc doesn't
look into these directories, but expects the file to be avaliable from
`lib/gcc/i586-pc-gnu/4.3.0/include/', which is also where the other
GCC-shipped header files are stored.

This is what I've been doing:

Install cross binutils.

  [...]/configure \
    --target="$TARGET" --prefix="$ROOT" --with-sysroot="$SYS_ROOT"
  make all install
#v-

Install cross GCC.

  [...]/configure \
    --target="$TARGET" --prefix="$ROOT" --with-sysroot="$SYS_ROOT" \
    --disable-shared --without-headers --with-newlib --enable-languages=c
  make all-gcc install-gcc

Any idea what's going wrong there?


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux