This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Cross compiler: problem with limits.h


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]