[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] OSX Build Bug

From: Jonathan deWerd
Subject: [Bug-readline] OSX Build Bug
Date: Sat, 14 Feb 2009 11:18:04 -0700

Version: 5.2-release

uname -a: Darwin reremtav.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386

Compilation flags: none

gcc -v:
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5484~1/src/configure --disable- checking -enable-werror --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ $/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5484)

./configure; make fails by default on Leopard (with my version of gcc). GCC barfs when -compatibility_version is passed with the - dynamic option, claiming that it can only be passed with the - dynamiclib option. The -dynamiclib option seems to be synonymous with - dynamic (gcc's manpage doesn't really say) because it's used elsewhere in the makefile for similar tasks. More to the point, -dynamiclib works, and allows everything to compile correctly.

The fix is a one-liner, patchfile attached.

Attachment: readline-osx-build.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]