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

See the CrossGCC FAQ 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: canadian build


Hi Tobias, all,

> I get this error:
>
> [INFO ]? Performing some trivial sanity checks
> [INFO ]? Build started 20120307.200018
> [INFO ]? Building environment variables
> [WARN ]? Directory '/home/tobias/src' does not exist.
> [WARN ]? Will not save downloaded tarballs to local storage.
> [EXTRA]? Preparing working directories
> [ERROR]? Missing: 'i586-pc-linux-gnu-ar' or 'i586-pc-linux-gnu-ar' or 'ar' : either needed!
> [00:01] / make: *** [build] Fehler 1
>
Last week, building canadian cross-compiler using the head/top of the
crosstool-NG repository,
i got the same error.
I did find a bug in: script/crosstool-NG.sh
Quick fix is:
sed -e 's/CT_TTOLCHAIN_TYPE/CT_TOOLCHAIN_TYPE/' \
  -i script/crosstool-NG.sh

I have some patches in my queue, but they need to be cleaned up before
submission.


It seems that there is another bug at least about build-system-prefix
and/or the host one.
To quickly fix this (i was/am a bit in the rush), i added the bin
directory for both the
build-to-host cross-compiler and the build-to-target one to my PATH
and correctly set the
build-system-tuple as well as the host-system-tuple.

So you need to have these 2 cross-compilers built before starting the canadian.
Have a look at: http://sourceware.org/ml/crossgcc/2011-03/msg00069.html


Regards,

Sam

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