This is the mail archive of the crossgcc@sources.redhat.com 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] | |
On Tue, 19 Aug 2003, Alexandros Karypidis wrote:
>
> Well, I do use --prefix to specify different target directories for
> libraries/executables, but the .o files need to removed/rebuilt. If I have 2
> source directories, I need to copy changes among them (as far as I understand
> I will have two copies of the source code). Is this the suggestion? i.e.:
>
> - Keep sources in 2 directories: x86 and arm
> - Edit contents of x86
> - Sync arm sources every time needed and compile
>
> Have I understood correctly?
>
I think that the build-outside-the-source-tree idea is a good one for you
in this type of situation. For example:
Source code is in /home/user/projsrc
Go to that directory, and create a directory called "x86build". Create
another directory called "armbuild". To build for the x86, go into the
x86build directory and run "../configure" with whatever options you need.
Same for the ARM.
Your object files and executable will be placed in the x86build/armbuild
directories, respectively.
- Mike
Michael B. Trausch AIM: MndsQueenyBoi20
720 Orchard St. E-mail: fd0man@yahoo.com
Toledo, OH 43609 Web: http://fd0man.theunixplace.com
(419) 514-5047
-----------------------------------------------------------------
For e-mail that pertains to any software that I work with, please
make sure to include the name of the piece of software within the
subject line. Otherwise, any e-mail from unknown persons will be
ignored. Thanks!
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |