Re: passing an option to gcc without a -
Hal Daume III <[EMAIL PROTECTED]> writes: > 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. ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
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| [EMAIL PROTECTED] than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users