Message97883
| Author |
grobian |
| Recipients |
grobian |
| Date |
2010年01月16日.16:25:09 |
| SpamBayes Score |
1.3447327e-10 |
| Marked as misclassified |
No |
| Message-id |
<1263659111.9.0.539414753247.issue7714@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
configure.in contains a check for the compiler in use for Darwin like this:
gcc_version=`gcc -v 2>&1 | grep version | cut -d\ -f3`
This yields in a wrong answer if the output of gcc -v has "version" in another place as well, such as when --enable-version-specific-runtime-libs is enabled. A better way to retrieve the compiler version is to use GCC's -dumpversion argument, which works with Apple's GCC 3.3, 4.0.1 and 4.2.1 and doesn't need additional grepping/cutting, etc.
The attached patch uses -dumpversion to retrieve the GCC version, which allows a successful configure run. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年01月16日 16:25:12 | grobian | set | recipients:
+ grobian |
| 2010年01月16日 16:25:11 | grobian | set | messageid: <1263659111.9.0.539414753247.issue7714@psf.upfronthosting.co.za> |
| 2010年01月16日 16:25:10 | grobian | link | issue7714 messages |
| 2010年01月16日 16:25:10 | grobian | create |
|