ts-7000
[Top] [All Lists]

Re: [ts-7000] Cross-compiling question

To:
Subject: Re: [ts-7000] Cross-compiling question
From: Larry <>
Date: Tue, 27 Jan 2009 15:58:35 -0500
What you are proposing to do won't work even if you
trick make into letting you do it.
The compiler must also know the architecture, so there would have
to be a separate make file tree for each architecture as well.
configure does much of the architecture detect work automatically,
so you would have to override this to create the non native make tree, etc.
In my opinion what you are proposing would be very complex to set up.

I recommend a book "Building Embedded Linux Systems" by Karim Yaghmour
It has an in depth description on how to set up a cross development environment
as well as how to set up multiple cross development environments for supporting
multiple versions of code.

skirkpatrick1091 wrote:

I need to build a library for two different architectures - x86 and
ARM. The library's source has a configure script. I can create a
subdirectory called 'x86' and execute '../configure' and then 'make'
and the object files are all in the x86 directory but the libraries
all still go into the base lib directory. How can I get the resulting
libraries to be built into different folders for different
architectures? A directory structure similar to:

myLib
|-- include
|-- src
|-- lib
| |- x86
| -- arm
|- x86
-- arm


No virus found in this incoming message. Checked by AVG. Version: 7.5.552 / Virus Database: 270.10.14/1917 - Release Date: 1/26/2009 6:37 PM
__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU