mkhaldi@gosympatico.ca wrote:
When I compile my module. First of all, I generate the interface with --interface-only flag. Then I generate implementation with --implementation-only flag. This way seems to be wrong. Actually, When I use this way, no Init_ModuleName symbol appears.
"gpc -c --implementation-only testModule.p; nm -A testModule.o" gives :
But When I use the normal compilation command line, I get this :
Another symbol appears : init_M
Try the attached patch.
Is there another way to bypass this problem?
You could try compiling without and "-only" switch the 2nd time. This will regenerate the gpi files, but shouldn't hurt. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707