This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG 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: Toolchain not relocatable


On Fri, Oct 25, 2013 at 11:02 AM, Richard Weinberger
<richard.weinberger@gmail.com> wrote:
> 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?

Found the issue. (After doing 10+ complete builds using different settings :-\)

My .config has:
CT_PREFIX_DIR="/home/rw/work/its_workshop1/ryo/maker/_deploy//toolchain"

This path contains a double slash.
If I remove that double slash, my toolchain becomes relocatable.

Now we should find out whether this is a gcc or crosstool-ng issue.
Yann, have you seen such issues in the past?

-- 
Thanks,
//richard

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