bindist for Intel MacOS X 10.4 (Tiger) with static libs
Christian.Maeder at dfki.de
Wed Jan 9 09:48:03 EST 2008
Christian Maeder wrote:
>> I've succeeded in building a binary distribution that uses static
>> libraries for gmp and readline. libreadline.a, libncurses.a and libgmp.a
>> with corresponding header files are included. (For license issues ask
>> someone else.) Linking is done using the flag -search_paths_first.
>> Frameworks or dylibs for gmp or readline are no longer required and are
>> not used when linking binaries.
The file is updated now. My error was to strip the binaries. That means
also "make install-strip" should not be used for installation.
> Be warned.
> While static linking seems to work, dynamic linking using ghci does not:
> ghci -package readline
This works now as expected.
> GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help
> Loading package base ... linking ... done.
> Loading package old-locale-188.8.131.52 ... linking ... done.
> Loading package old-time-184.108.40.206 ... linking ... done.
> Loading package filepath-220.127.116.11 ... linking ... done.
> Loading package directory-18.104.22.168 ... linking ... done.
> Loading package unix-22.214.171.124 ... linking ... done.
> Loading package process-126.96.36.199 ... linking ... done.
> unknown symbol `_rl_insert_completions'
> Loading package readline-188.8.131.52 ... linking ... ghc-6.8.2: unable to
> load package `readline-184.108.40.206'
More information about the Glasgow-haskell-users