[fpc-devel] FPC 3.0.2 for SPARC

Pierre Muller pierre at freepascal.org
Mon May 8 15:47:01 CEST 2017



Le 07/05/2017 à 16:35, Mark Morgan Lloyd a écrit :
> On 05/05/17 16:00, Pierre Muller wrote:
> 
>>   You probably need to add the -Xn option into the makepack script!
> 
> Thanks for the pointer as to where it goes: those last words stopped me 
> spending days looking for the appropriate makefile :-)
> 
> If I do this it builds successfully:
> 
>   *sunos*) MAKE=gmake
>          EXTRAOPT='-Xn'
>       # Use GNU tar if present
>       if [ "`which gtar`" != "" ]; then
>         TAR=`which gtar`
>       fi
>   ;;
> 
> Should I raise a bug on Mantis for this? can anybody comment on what 
> impact this would have on the Intel target for Solaris?
> 
> I'll add a note to the existing stuff on the Wiki.

  I committed the patch below,
which basically restricts your change to native compilation.


Pierre



muller at gcc45:~/pas/trunk$ svn diff -c 1302
Index: install/makepack
===================================================================
--- install/makepack    (revision 1301)
+++ install/makepack    (revision 1302)
@@ -45,6 +45,10 @@
   ;;

  *sunos*) MAKE=gmake
+     # Use system linker if on solaris machine
+     if [ "$SOURCEOS" == "solaris" ]; then
+       EXTRAOPT="-Xn"
+     fi
      # Use GNU tar if present
      if [ "`which gtar`" != "" ]; then
        TAR=`which gtar`



More information about the fpc-devel mailing list