automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Difficulty cross-compiling


From: Ralf Corsepius
Subject: Re: Difficulty cross-compiling
Date: Tue, 13 Oct 2009 05:56:15 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-2.7.b4.fc11 Thunderbird/3.0b4

On 10/12/2009 08:26 PM, William Tracy (wtracy) wrote:
Hello,



I'm trying to cross-compile a library that uses GNU Autotools (Google
Coredumper, to be specific) for PPC using the MontaVista tool chain. The
sequence of commands I'm following is:



$ ./configure --host=ppc CC=/path/to/gcc CXX=/path/to/g++

Normally, a cross-toolchain's tools are called <host>-<tool>

i.e.
* one normally doesn't have to set CC nor CXX.

* the value being passed to --host is the tool prefix and therefore must match the tool-prefix being used by your toolchain.

Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]