ghc-3.00-linux bug in linking

1998-02-10 Thread S.D.Mechveliani
Please, help! I have a large project working under ghc-2.10 which i cannot so far port to ghc-3.00. Makefile compiles all, `ar' creates .../docon/export/libDoCon.a and indexes it with ar -s. Then the test program compiles /usr/ghc-3.00/bin/ghc -c -O Main.hs -syslib ghc -fvia-C -cpp

Re: ghc-3.00-linux bug in linking

1998-02-10 Thread Simon Marlow
[EMAIL PROTECTED] (S.D.Mechveliani) writes: I have a large project working under ghc-2.10 which i cannot so far port to ghc-3.00. Makefile compiles all, `ar' creates .../docon/export/libDoCon.a and indexes it with ar -s. I'm not sure if this is your problem, but the library name

Re: Updated to Redhat 5.0, and now dead.....

1998-02-10 Thread Simon Marlow
David Barton [EMAIL PROTECTED] writes: 1) The new library seems to use __USE_BSD rather than __FreeBSD__; I had to change one "ifndef" to get it through "gmake boot". Huh? Which library? 2) The full pathname to cpp had changed; I had to modify "mkdependHS" by hand. re-configure

Re: Updated to Redhat 5.0, and now dead.....

1998-02-10 Thread David Barton
Simon Marlow writes: 1) The new library seems to use __USE_BSD rather than __FreeBSD__; I had to change one "ifndef" to get it through "gmake boot". Huh? Which library? Just about all of them; hopping into /usr/include and doing a "grep USE_BSD" gives a whole mess of files: