Thank you Sven, this will be a big help
Regards,
Andreas
On 22/08/2018 12:12, Sven Barth via fpc-pascal wrote:
Andreas <andreasberger....@gmail.com
<mailto:andreasberger....@gmail.com>> schrieb am Mi., 22. Aug. 2018,
12:59:
Hi, I have a question. Is it possible to link FPC for Linux (PC
and ARM)
with GCC or other C++ object files?
You can use the $L directive for this (
https://freepascal.org/docs-html/current/prog/progsu43.html#x50-490001.2.43
).
If you use C++ it's recommended to use "extern "C"" however even
though FPC supports cppdecl (as it can't handle all cases currently).
And classes won't work either.
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal