... Also of note is that LD_LIBRARY_PATH is the path where the OS looks
when dynamically loading libraries at runtime (on dlopen to be precise).
I suspect what you need to set is LIBRARY_PATH, since that's the
variable gcc uses to decide where to look for libraries:
http://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html
cheers
Tom
Malcolm Wallace wrote:
I'm having trouble getting started with building yhc on MacOS.
The configure step does not get very far:
$ ./configure --prefix=/sw
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for __gmpz_init in -lgmp... no
configure: error: cannot find libgmp
However, I do have libgmp installed, in /sw/lib, and my LD_LIBRARY_PATH
variable points to that directory. Any ideas?
Regards,
Malcolm
_______________________________________________
Yhc mailing list
[email protected]
http://haskell.org/mailman/listinfo/yhc
_______________________________________________
Yhc mailing list
[email protected]
http://haskell.org/mailman/listinfo/yhc