gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] Cross-compiling doesn't find chrpath/g++


From: Tomalak Geret'kal
Subject: Re: [gpsd-users] Cross-compiling doesn't find chrpath/g++
Date: Fri, 17 Feb 2012 12:57:31 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1

On 17/02/2012 12:35, Tomalak Geret'kal wrote:
On 17/02/2012 12:33, Tomalak Geret'kal wrote:
On x86 FC11, I'm following the notes in build.txt to build
gpsd 3.4 for ARM, basically doing the following:


Correction: my build commands are:

cd gpsd-3.4
echo "target = 'arm-none-linux-gnueabi'" > .scons-option-cache
echo "prefix = '/usr/local/arm-2009q1/'" >> .scons-option-cache
scons

Tom


OK, as for g++, I've found that the SConstruct file only checks for CXX, not GXX. Since our system uses g++ rather than c++, this fails.

A hacky fix is for SConstruct:1615:

  cxx = config.checkCXX()
+ env["CXX"] = 'g++'
+ cxx2 = config.CheckCXX()
+ cxx = cxx | cxx2

According to http://www.scons.org/doc/HTML/scons-man.html there doesn't appear to be anything in Configure like CheckGXX.

Perhaps I'm just better off setting CXX=g++ on the environment before running scons? I feel like I shouldn't have to, though.

Still trying to figure out why chrpath isn't being located.

Tom



reply via email to

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