public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Hendrik Greving <hendrik.greving.intel@gmail.com>
To: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Problem with ARM cross compiler
Date: Wed, 18 Dec 2013 18:59:00 -0000	[thread overview]
Message-ID: <CANc4vhpyAx2o4AdhBNdpwzY_W+A+ut4eT2qvBKTZdYPQ-HnsHg@mail.gmail.com> (raw)

I am compiling (trying to) ARM cross compiler (on x86):

../gcc-4_8-branch/configure --prefix=/local_disk/hgreving/gcc_arm
--program-suffix=-arm --target=arm-none-linux-gnueabi
--disable-threads --enable-languages=c,c++ --with-gnu-as --with-gnu-ld
--disable-libmudflap --disable-libssp --disable-libstdcxx-pch
--disable-shared --enable-lto --disable-nls
--with-build-time-tools=/local_disk/hgreving/gcc_arm/bin

Fails with

checking dynamic linker characteristics... configure: error: Link
tests are not allowed after GCC_NO_EXECUTABLES.

I am seeing 2 errors in ./arm-none-linux-gnueabi/libquadmath/config.log:

1)

/local_disk/hgreving/gcc_arm/arm-none-linux-gnueabi/bin/ld: cannot
find crt1.o: No such file or directory
/local_disk/hgreving/gcc_arm/arm-none-linux-gnueabi/bin/ld: cannot
find crti.o: No such file or directory
/local_disk/hgreving/gcc_arm/arm-none-linux-gnueabi/bin/ld: cannot find -lc
/local_disk/hgreving/gcc_arm/arm-none-linux-gnueabi/bin/ld: cannot
find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status

2)

conftest.c:15:19: fatal error: stdio.h: No such file or directory


Any help/hint appreciated,
Regards,
Hendrik Greving

             reply	other threads:[~2013-12-18 18:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-18 18:59 Hendrik Greving [this message]
2013-12-19  0:16 ` Maxim Kuvyrkov
2013-12-19  8:15   ` Kai Ruottu
2013-12-19  9:23     ` Brian Drummond
2013-12-19  9:53   ` Andrew Haley
2013-12-19 18:46     ` Hendrik Greving

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANc4vhpyAx2o4AdhBNdpwzY_W+A+ut4eT2qvBKTZdYPQ-HnsHg@mail.gmail.com \
    --to=hendrik.greving.intel@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).