passing an option to gcc without a -

I'm linking with a .a file built from C; when I do this on a C program I do something like: gcc myfile.c -o myout theafile.a so i tried ghc MyFile.hs -o myout -optctheafile.a but this doesn't appear to pass the paramter. when i run with -v3 and inspect the call to gcc it doesn't include this option. if i copy that call to gcc and add it maually at the command line, everything's cool thoughts? - hal -- Hal Daume III "Computer science is no more about computers | hdaume@isi.edu than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume

Hal Daume III
I'm linking with a .a file built from C [...] so i tried
ghc MyFile.hs -o myout -optctheafile.a
but this doesn't appear to pass the paramter.
If it's acceptable, you can try mv theafile.a libtheafile.a ghc MyFile.hs -o myout -L. -ltheafile Just a thought. Feri.
participants (2)
-
Ferenc Wagner
-
Hal Daume III