Gentoo Archives: gentoo-devhelp

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
Date: Tue, 17 May 2011 15:41:13
Message-Id: iqu4t9$vtq$1@dough.gmane.org
In Reply to: Re: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS? by Peter Volkov
1 On 05/17/2011 11:57 AM, Peter Volkov wrote:
2 > В Втр, 17/05/2011 в 10:18 +0300, Nikos Chantziaras пишет:
3 >> On 05/17/2011 09:45 AM, Peter Volkov wrote:
4 >>> В Втр, 17/05/2011 в 08:23 +0300, Nikos Chantziaras пишет:
5 >>>> scons: *** Path for option install_path does not exist:
6 >>>> /var/tmp/portage/dev-util/gpuocelot-9999/image
7 >>>
8 >>> Please, post full ebuild.
9 >
10 >> src_compile() {
11 >> tc-export CC CXX
12 >> escons install_path="${D}"/usr test_level=none || die
13 >
14 > You don't need install_path here, only in src_install().
15
16 Removing it brings us back to the original problem:
17
18 g++ -o .release_build/OcelotConfig -L/usr/lib64/llvm -lpthread -lffi
19 -ldl -lm .release_build/ocelot/tools/OcelotConfig.o -L/usr/lib
20 -L/usr/lib64/llvm -L. -locelot
21 /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld:
22 cannot find -locelot
23 collect2: ld returned 1 exit status

Replies