[fpc-devel]Linking FPC program with FPC made *.so
Peter Vreman
peter at freepascal.org
Thu Jul 5 18:10:58 CEST 2001
>
>-+- p1.s.bak Wed Jul 4 16:02:59 2001
>+++ p1.s Wed Jul 4 16:04:09 2001
>@@ -72,6 +72,7 @@
> .size pas1, .Le0 - pas1
> .balign 16
> .globl PASCALMAIN
>+.hidden PASCALMAIN
> .type PASCALMAIN, at function
> PASCALMAIN:
> .globl P1_main
>
>This is more correct solution for Linux (2 shared library can now have
>PASCALMAIN as entry without name conflict). But I do not know
>how this AS keyword is supported under other OS (OS2, WIN32).
Thanks, i'll implement it this way
Peter
More information about the fpc-devel
mailing list