passing an option to gcc without a -

Hal Daume III hdaume@ISI.EDU
Thu, 25 Jul 2002 10:42:38 -0700 (PDT)


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