|
From: SourceForge.net <no...@so...> - 2008-09-06 00:33:59
|
Bugs item #2096014, was opened at 2008-09-06 10:33 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=2096014&group_id=12740 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Anton Blanchard (antonb) Assigned to: Nobody/Anonymous (nobody) Summary: configure fails to find unit test libs with full path in CC Initial Comment: A common way to test an alternate compiler is to override CC and CXX, eg: ./configure CC=/root/gcc-test/bin/gcc CXX=/root/gcc-test/bin/g++ Unfortunately configure fails to find the boost unit test libs because it creates patterns with the full pathname: /root/gcc-test/bin/g++ -o conftest conftest.cc -lboost_unit_test_framework-/root/gcc-test/bin/gcc44 We can use basename to strip the full path from CC. After applying the patch and running autoconf we now find the library: /root/gcc-test/bin/g++ -o conftest conftest.cc -lboost_unit_test_framework-gcc44 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=2096014&group_id=12740 |