[mercury-users] dynamic linking..
Robert Ernst Johann JESCHOFNIK
rejj at cat.cs.mu.OZ.AU
Sat Oct 16 00:46:38 AEST 1999
Hello.
I just uncovered something a bit odd whilst playing with dynamic linking
on my linux system.
If I set the following flag in the Mmakefile:
(along with EXTRA_MLFLAGS = -shared in both cases)
MGNUCFLAGS = -DML_OMIT_ARRAY_BOUNDS_CHECKS --pic-reg
I get this error during make (whilst mgnuc is running)
cc1: Invalid option `-fpic-reg'
However, with the two flags reversed,
MGNUCFLAGS = --pic-reg -DML_OMIT_ARRAY_BOUNDS_CHECKS
I get no such error, and everything compiles just fine. Is there any
particular reason for this?
Rob
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list