[mercury-users] --ld-flags

Michael Day mikeday at yeslogic.com
Fri May 20 19:00:33 AEST 2005


Hi,

I need to pass an unquoted flag to the linker on MacOS X, like this:

 $ gcc ... -framework ApplicationServices

However, I can't seem to find the right combination of quoting or escaping
that will convince Mercury to pass this. I've tried:

 $ mmc ... --ld-flag="-framework ApplicationServices"

but whatever I do seems to lead to the thing being quoted as one argument,
which gcc ignores, or getting broken at the space, which breaks the shell.

Any tips? I'm reduced to running the link command by hand each time :)

Cheers,

Michael

-- 
YesLogic Prince prints XML!
http://yeslogic.com
--------------------------------------------------------------------------
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