mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-07-24 14:56:33 +02:00
* from Ales Katona: use $fpcversion instead of fixed version number when generating config
git-svn-id: trunk@2498 -
This commit is contained in:
parent
b18fc0479b
commit
fa1e63d391
@ -65,6 +65,10 @@ else
|
|||||||
echo Found libgcc.a in $GCCDIR
|
echo Found libgcc.a in $GCCDIR
|
||||||
GCCDIR=-Fl$GCCDIR
|
GCCDIR=-Fl$GCCDIR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# set right path to FPC with $fpcversion
|
||||||
|
FPCPATH=`dirname "$1"`/\$fpcversion
|
||||||
|
|
||||||
# Write the file
|
# Write the file
|
||||||
echo Writing sample configuration file to $thefile
|
echo Writing sample configuration file to $thefile
|
||||||
cat <<EOFCFG > $thefile
|
cat <<EOFCFG > $thefile
|
||||||
@ -195,16 +199,16 @@ cat <<EOFCFG > $thefile
|
|||||||
|
|
||||||
# path to the messagefile, not necessary anymore but can be used to override
|
# path to the messagefile, not necessary anymore but can be used to override
|
||||||
# the default language
|
# the default language
|
||||||
#-Fr$1/msg/errore.msg
|
#-Fr$FPCPATH/msg/errore.msg
|
||||||
#-Fr$1/msg/errorn.msg
|
#-Fr$FPCPATH/msg/errorn.msg
|
||||||
|
|
||||||
# searchpath for includefiles
|
# searchpath for includefiles
|
||||||
#-Fi/pp/inc;/pp/rtl/inc
|
#-Fi/pp/inc;/pp/rtl/inc
|
||||||
|
|
||||||
# searchpath for units and other system dependent things
|
# searchpath for units and other system dependent things
|
||||||
-Fu$1/units/\$fpctarget
|
-Fu$FPCPATH/units/\$fpctarget
|
||||||
-Fu$1/units/\$fpctarget/*
|
-Fu$FPCPATH/units/\$fpctarget/*
|
||||||
-Fu$1/units/\$fpctarget/rtl
|
-Fu$FPCPATH/units/\$fpctarget/rtl
|
||||||
#-Fu~/fpc/packages/base/*/units/$fpctarget;~/fpc/fcl/units/$fpctarget;~/fpc/rtl/units/$fpctarget
|
#-Fu~/fpc/packages/base/*/units/$fpctarget;~/fpc/fcl/units/$fpctarget;~/fpc/rtl/units/$fpctarget
|
||||||
|
|
||||||
# searchpath for libraries
|
# searchpath for libraries
|
||||||
|
Loading…
Reference in New Issue
Block a user