> - Would there be four separate Pascal entry points, one for each
>   assembler file? (Each could take arguments: fini, argc, argv, envp.)

Presumably various symbols undefined in *prt0.o, defined in the C
library, would have to be additional arguments. (Or is there another
way of doing it?) Currently these are undefined in gprt0.as on
aarch64-linux:

                 U PASCALMAIN
                 U __libc_start_main
                 U __monstartup
                 U _etext
                 U _mcleanup
                 U abort
                 U atexit

Edmund
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to