Hi, On Mon, 29 May 2017, Karoly Balogh (Charlie/SGR) wrote:
> Plus you need to fix the Makefile.fpc in rtl/linux to include -32 for > SPARC, and regenerate it using fpcmake -Tall. Then everything works. Maybe > it's also possible to just add ASTARGET=-32 into the make command line, > without patching the Makefile. But I did not try this. > > Can you try if you can reproduce this? Err, sorry, there's a typo in the previous line I've sent. here's the correct one. Also, ASTARGET= override seems to work, so you don't need to patch the sources, you can fix it during build with options. Like this: make all ASTARGET=-32 OPT="-ao-32 -Fo/usr/lib32 -Fl/usr/lib32" This builds current 3.1.1 SVN with the preinstalled 3.0.2 package on the Debian SPARC64 box without patching anything. Now, if you want to patch the compiler for this, or simply wire additional options to the package supplied fpc.cfg with the right paths and options, that decision is not mine to make. I'm not the Linux maintainer, and even less of a SPARC maintainer. :) Charlie _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel