hey Anton,

> 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
kind
> of library (static, shared, ..) is it?
It's very simple.

Try compiling this:

-cut-
library test;

var o: integer;

exports
  o;

end.
-cut-

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.

Sincerely,
Maarten.

_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to