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


On 07. mars 2012 20:01, Tobias Arp wrote:
> Hi,
> 
> i try to do a canadian build with crosstool-ng 1.14.1.
> 
> Build=i686-pc-linux-gnu
> 
> Host=i586-pc-linux-gnu
> 
> Target=arm
> 
> 
> What do i have to put in *** Build system *** -> Tuple
> and in *** Host system *** Tuple.
> 
> When i add this for the build system: i686-pc-linux-gnu
> and this for the host: i586-pc-linux-gnu
> 
> 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
> 
> 
> 
> Best regards
> 
> Tobias
> 

Here is a config file I use to build with canadian cross:
Build: x86_64-pc-linux-gnu
Host: i686-pc-linux-gnu
Target: arm-none-eabi

I works for me.
You have to build the arm-non-eabi compiler for x86_64-pc-linux-gnu
first and put it in ${CT_TOP_DIR}/x-tools/x86_64/

I have a Jenkins build job that uses an ant script to first build native
arm-none-eabi for x86_64, then canadian crosss for i686 and mingw32.


Per A.

Attachment: config.x86-pc-linux_arm-none-eabi
Description: Text document

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