mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 11:18:10 +02:00
fpc-crosswin32: removed prefix fpc- of binutils
git-svn-id: trunk@18489 -
This commit is contained in:
parent
13512410f8
commit
f19b7371c3
@ -160,7 +160,7 @@ if [ $BuildCrossWin32DEB = "yes" ]; then
|
||||
cd ${BinUtilsDir}
|
||||
for binutility in $(ls -B ${BinUtilsPrefix}*); do
|
||||
NewName=$(echo $binutility | sed -e "s#^$BinUtilsPrefix##")
|
||||
NewFileName="fpc-${TargetCPU}-${TargetOS}-$NewName"
|
||||
NewFileName="${TargetCPU}-${TargetOS}-$NewName"
|
||||
if [ $NewName = "windres" ]; then
|
||||
# windres needs two names:
|
||||
# - the Makefiles expects without prefix fpc-
|
||||
@ -216,7 +216,7 @@ if [ $BuildCrossWin32DEB = "yes" ]; then
|
||||
chmod a+x $DebianRulezDir/postinst
|
||||
fi
|
||||
|
||||
# create postinst if needed
|
||||
# create postrm if needed
|
||||
if [ -f "$ResourceDir/postrm" ]; then
|
||||
echo "creating DEBIAN/postrm file"
|
||||
cat $ResourceDir/postrm | sed -e "s/FPCVERSION/$FPCVersion/g" > $DebianRulezDir/postrm
|
||||
|
@ -1,3 +1,8 @@
|
||||
fpc-crosswin32 (2.2.2)
|
||||
|
||||
* Tools are now installed without prefix fpc-.
|
||||
For example i386-win32-windres.
|
||||
|
||||
fpc-crosswin32 (2.0.4)
|
||||
|
||||
* Started package
|
||||
|
@ -1,8 +1,8 @@
|
||||
#!/bin/sh
|
||||
# add -FD and -XP entry for cross compiling
|
||||
echo '# set binutils paths for crosscompiling # fpc_crosswin32' >> /etc/fpc.cfg
|
||||
echo '#IFDEF FPC_CROSSCOMPILING # fpc_crosswin32' >> /etc/fpc.cfg
|
||||
echo ' -XPfpc-i386-win32-' >> /etc/fpc.cfg
|
||||
echo '#ENDIF # fpc_crosswin32' >> /etc/fpc.cfg
|
||||
#echo '# set binutils paths for crosscompiling # fpc_crosswin32' >> /etc/fpc.cfg
|
||||
#echo '#IFDEF NEEDCROSSBINUTILS # fpc_crosswin32' >> /etc/fpc.cfg
|
||||
#echo ' -XPfpc-i386-win32-' >> /etc/fpc.cfg
|
||||
#echo '#ENDIF # fpc_crosswin32' >> /etc/fpc.cfg
|
||||
# end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user