[fpc-devel]Exporting variables in libraries for Linux / FreeBSD
elevator at planet.nl
Fri Feb 14 21:09:21 CET 2003
> In Free Pascal Programmer's Manual, 7. 2., I didn't find anything about
> restrictions for exporting variables. Where did you read that? And what
> of library (static, shared, ..) is it?
It's very simple.
Try compiling this:
var o: integer;
it will compile on Win32, but just refuse to compile on Linux. When you
search on the error the compiler generates, you'll find the docs that
explain that exporting of variables is only supported on Win32.
More information about the fpc-devel