< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] How to put the objtive files and libaries based on computer architecture?


Alan,

It works as you said.
Thank you so much!

Frank Y.

Alan Hawrylyshen wrote:


On Aug 2, 2005, at 01:50, FrankYuan wrote:


The executable  programs should be  put bin-computer-architecture dir.

The bottom line is how to put *.o *.lo and library, etc to the compiling computer related directory instead of the same directory for different OS compiling computers.


This is not how autotools works.
Make your own compilation directory and build + configure there:

$ ls configure
configure
$ mkdir i686.Linux
$ cd !$
$ ../configure ...
...
$ make
...

You make in a different directory from the source (and run configure there 1st). That way you can have as many build dirs as you want, not just one per architecture. Works very well.

Alan