[fpc-devel] RTL make shared

Adriaan van Os adriaan at adriaan.biz
Tue Oct 29 11:37:53 CET 2024


> Trying to build the FPC RTL as a dynamic library on MacOS (with make shared), I run into several 
> problems
> 
> 1. When I try with fpc-3.0.4 or 3.2.2, ppumove returns an ld error that -shared is an unknown flag. 
> I think the ld flags -shared -E should be -dylib -dynamic on MacOS

I forgot to mention - when I build with fpc-3.3.1 trunk I get an additional error that ppumove 
doesn't know the -P flag. Doing the link by hand, the ld unnown symbol errors remain.

Regards,

Adriaan van Os



More information about the fpc-devel mailing list