[fpc-devel] Porting fpc to linux-sparc64

Florian Klämpfl florian at freepascal.org
Mon May 29 22:10:00 CEST 2017

Am 29.05.2017 um 17:35 schrieb John Paul Adrian Glaubitz:
> On Mon, May 29, 2017 at 05:11:52PM +0200, Karoly Balogh (Charlie/SGR) wrote:
>> 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.
> Ok, that's a good start. Thank you!
>> 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. :)

The -Fo and -Fl can go into t_linux.pas, adding -32 for the sparc assembler should be supported for
years, so it can go into compiler/sparc/cpugas.pas

> I need to figure out where the package's own fpc.cfg resides. The
> packaging is a bit confusing.
> Adrian

More information about the fpc-devel mailing list