Option at position 26 (-sp) needs an argument
Original Reporter info from Mantis: wavebvg
-
Reporter name: Boris Glavin
Original Reporter info from Mantis: wavebvg
- Reporter name: Boris Glavin
Description:
make crossinstall FPMAKEOPT="-v" NOGDB=1 CPU_TARGET=i386
in path "ide"
./fpmake compile -v --localunitdir=.. --globalunitdir=../packages --os=linux --cpu=i386 -o -Pi386 -o -XPi386-linux- -o -Xr -o -Ur -o -Xs -o -O2 -o -n -o -dRELEASE --compiler=/tmp/fpc/compiler/ppcross386 -bu --NoGDB=1 -sp
Warning: Better do not combine the SearchPath and Global/Local-UnitDir parameters
The installer encountered the following error:
Option at position 26 (-sp) needs an argument
Additional information:
Work with:
NOGDB=0
or path
Index: ide/Makefile
===================================================================
--- ide/Makefile (revision 34765)
+++ ide/Makefile (working copy)
@@ -2304,7 +2304,7 @@
endif # NOGDB
ifndef GDBMI_IS_STATIC
ifndef BUILDFULLNATIVE
-FPMAKE_OPT+=-sp
+FPMAKE_OPT+=--skipcrossprograms
endif
endif # GDBMI_IS_STATIC
ifdef PPC_TARGET
Index: ide/Makefile.fpc
===================================================================
--- ide/Makefile.fpc (revision 34765)
+++ ide/Makefile.fpc (working copy)
@@ -73,7 +73,7 @@
ifndef GDBMI_IS_STATIC
ifndef BUILDFULLNATIVE
# Omit executable is only required if generated executable is not static
-FPMAKE_OPT+=-sp
+FPMAKE_OPT+=--skipcrossprograms
endif
endif # GDBMI_IS_STATIC
Mantis conversion info:
- Mantis ID: 30791
- OS: Ubuntu
- OS Build: 16.04
- Platform: Linux
- Version: 3.1.1