blob: ce27939c844f7fe9a608386707a58043c5cfd53d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- share/src/fpc-1.0.10/compiler/utils/samplecfg.old Sun Jan 4 04:15:50 2004
+++ share/src/fpc-1.0.10/compiler/utils/samplecfg Sun Jan 4 04:17:59 2004
@@ -38,7 +38,7 @@
fi
# Find path to libgcc.a
-GCCSPEC=`(gcc -v 2>&1)| head -n 1| awk '{ print $4 } '`
+GCCSPEC=`gcc -print-file-name=libgcc.a`
GCCDIR=`dirname $GCCSPEC`
echo Found libgcc.a in $GCCDIR
|