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] |
Frederic, All, On Sunday 16 May 2010 00:08:38 Frederic Roussel wrote: > So I've been doing some experiments that I want to report to you guys. > <disclaimer> > I don't know a whole lot about canadian compilers, so probability that > I will say something stupid is fairly high. > But I'm willing to learn from my mistakes :-) > </disclaimer> > So my .config file has the following values set: > CT_CANADIAN=y > CT_TOOLCHAIN_TYPE="canadian" > CT_HOST="i686-linux-gnu" > CT_HOST_PREFIX="" > CT_HOST_SUFFIX="" > When running ct-ng build, it exits with an error: > [DEBUG] 'x86_64-build_pc-linux-gnu-strip' -> '/usr/bin/strip' > [DEBUG] ==> Executing: 'chmod 700 > /usr/src/CTNG/crosstool-ng/x-tools/arm-sbgcc45-linux-gnueabi/buildtools/x86_64-build_pc-linux-gnu-strip' > [DEBUG] Missing: 'x86_64-linux-gnu-windres' or > 'x86_64-linux-gnu-windres' or 'windres' : not required. > [ERROR] Missing: 'i686-linux-gnu-ar' or 'i686-linux-gnu-ar' or 'ar' : > either needed! > make: *** [build] Error 1 > What I'm understanding is that in the script scripts/crosstool-NG.sh, > in the 'for' loop around ${install_build_tools_for}, it tries to > locate various tools. Of course, it can't find the 32bits versions of > the tools as they have not be compiled, nor installed by other means. > > I have the nagging feeling that I am grossly missing something out ... You first have to have a cross-compiler that targets the host. Look at: http://ymorin.is-a-geek.org/projects/crosstool#canadian_build I've tried to explain it. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- 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] |