Discussion:
FPC 3.0.2 for SPARC
(too old to reply)
Pierre Muller
2017-05-05 11:59:02 UTC
Permalink
Raw Message
Hi Mark,
This is something that was discussed on the FPC-Pascal ML but it died.
I am able to build installation bundles for SPARC running Linux (Debian)
and Solaris (OpenSXCE). The fp IDE works but doesn't have libgdb
support, and I've got limited time to struggle up the learning curve.
Would these be of use for the downloads area, which at present only has
2.6.2 and 2.4.2 respectively?
Yes it would be very nice,
libgdb missing for IDE is really not a big deal...

Please let me know how you can send me the files.

Thanks again,

Pierre
_______________________________________________
fpc-devel maillist - fpc-***@lists.freepascal.org
http://lists.freepasc
Pierre Muller
2017-05-05 15:55:43 UTC
Permalink
Raw Message
gmake NOGDB=1 OPT='-V3.0.0 -O- -gl -Xn -vt' all
but the full build is giving me a linking error.
Following Pierre's instructions I'm using
CHECKLIBGDB=no install/makepack
which is eventually failing with
/usr/local/src/fpc/fpcbuild-3.0.2/fpcsrc/compiler$
/usr/local/bin/ppcsparc -Ur -Xs -O2 -n -Fusparc -Fusystems
-Fu/usr/local/src/fpc/fpcbuild-3.0.2/fpcsrc/rtl/units/sparc-solaris
-Fisparc -FE. -FUsparc/units/sparc-solaris -dRELEASE -dsparc -dGDB
-dBROWSERLOG -Sew pp.pas
/usr/bin/gld:built in linker script:21: syntax error
pp.pas(238,36) Error: Error while linking
pp.pas(238,36) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
I'm pretty sure I've come across this one before and that the cause is
something like the wrong linker being invoked by the makefile, leave it
with me so I can go through my notes.
I'll be back ;-)
You probably need to add the -Xn option into the makepack script!

Pierre
_______________________________________________
fpc-devel maillist - fpc-***@lists.freepascal.org
http://lists.freepascal.org/
Pierre Muller
2017-05-08 13:47:01 UTC
Permalink
Raw Message
Post by Pierre Muller
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 :-)
*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



***@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`
_______________________________________________
fpc-devel maillist - fpc-***@lists.freepascal.org
http://lists.freepascal.o
Ozz Nixon
2017-05-05 11:46:12 UTC
Permalink
Raw Message
(Personally): AWESOME!

This is something that was discussed on the FPC-Pascal ML but it died.

I am able to build installation bundles for SPARC running Linux (Debian) and Solaris (OpenSXCE). The fp IDE works but doesn't have libgdb support, and I've got limited time to struggle up the learning curve.
Would these be of use for the downloads area, which at present only has
2.6.2 and 2.4.2 respectively?



_______________________________________________
fpc-devel maillist - fpc-***@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-d
John Lee
2017-05-07 17:09:05 UTC
Permalink
Raw Message
I've lost track of what are the issues in this thread, but if the tar of
the source files is less than 2G and you want to transfer it tar I have a
2G or so ftp site that you could use to transfer the tar. Let me know and
I'll send the details via private email to each of you that needs it.
john
This is something that was discussed on the FPC-Pascal ML but it died.
I am able to build installation bundles for SPARC running Linux (Debian)
and Solaris (OpenSXCE). The fp IDE works but doesn't have libgdb support,
and I've got limited time to struggle up the learning curve. Would these be
of use for the downloads area, which at present only has 2.6.2 and 2.4.2
respectively?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Pierre Muller
2017-05-08 13:51:03 UTC
Permalink
Raw Message
This is something that was discussed on the FPC-Pascal ML but it died.
I am able to build installation bundles for SPARC running Linux (Debian)
and Solaris (OpenSXCE). The fp IDE works but doesn't have libgdb
support, and I've got limited time to struggle up the learning curve.
Would these be of use for the downloads area, which at present only has
2.6.2 and 2.4.2 respectively?
I have uploaded the files that Mark sent to me
to both main ftp server and SourceForge,
and adapted html pages.

You should now be able to download 3.0.2 sparc-solaris and sparc-linux
installation tar files by following the links starting at:


https://www.freepascal.org/download.var

If you encounter any problems, to download the files or to
install the new 3.0.2 sparc compiler, please let us know!


Thanks Mark!


Pierre
_______________________________________________
fpc-devel maillist - fpc-***@lists.freepascal.org
http://lists.freepascal.org/cgi-

Loading...