public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Richard Weinberger <richard.weinberger@gmail.com>
To: yann.morin.1998@free.fr, crossgcc@sourceware.org
Subject: Toolchain not relocatable
Date: Fri, 25 Oct 2013 09:02:00 -0000	[thread overview]
Message-ID: <CAFLxGvwvBXZ6AHr9xXdb-uzz4DCTU7hBZGRhg=04ER6cQY4pyQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

Hi!

Toolchains created by crosstool-ng seem to be not relocatable.
I tried both 1.18.0 and 1.19.0. My .config is attached.

$ ./toolchain/bin/arm-ryo-linux-gnueabi-gcc -o hw hw.c
^^^^ works fine.

$ mv toolchain/ toolchainX
$ ./toolchainX/bin/arm-ryo-linux-gnueabi-gcc -o hw hw.c
hw.c:1:19: fatal error: stdio.h: No such file or directory
compilation terminated.
^^^^^ broken

Or am I doing something very wrong?

-- 
Thanks,
//richard

[-- Attachment #2: ctng.config --]
[-- Type: application/x-config, Size: 12064 bytes --]

[-- Attachment #3: Type: text/plain, Size: 71 bytes --]

--
For unsubscribe information see http://sourceware.org/lists.html#faq

             reply	other threads:[~2013-10-25  9:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-25  9:02 Richard Weinberger [this message]
2013-10-26 12:28 ` Richard Weinberger
2013-11-15 17:56   ` Yann E. MORIN

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='CAFLxGvwvBXZ6AHr9xXdb-uzz4DCTU7hBZGRhg=04ER6cQY4pyQ@mail.gmail.com' \
    --to=richard.weinberger@gmail.com \
    --cc=crossgcc@sourceware.org \
    --cc=yann.morin.1998@free.fr \
    /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).