|
Hi Simon,
sorry for the late reply. The top-level is a specific application which its own main() (testing filtering command-line arguments to handle some like --query-goal). It is not the case of user defined application for which the default main() does not scan the command-line (the user is free to use any command). Your executable is such an application, only the default main() is used. To provide an executable with your own C code which behaves like the actual top-level (resulting in an augmented top-level with new functionalities built-in) it is necessary to add a compiler option (e.g. --new-top-level) to force the inclusion of the top-level main(). Do you need this ? Daniel Le 02/12/2017 à 07:14, Simon Curry a écrit :
|
_______________________________________________ Bug-prolog mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-prolog
