macosx ld does not support the --version-script



FYI:  ld for macosx 10.5.2 does not support the "--version-script" option:

/bin/sh ../libtool --tag=CC --mode=link cc  -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g   -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -L/opt/local/lib -L/Users/jackal/garnome/lib -o libgamin-1.la -rpath /Users/jackal/garnome/lib -Wl,--version-script=./gamin_sym.version -version-info 1:9:1 -lpthread gam_api.lo gam_data.lo gam_fork.lo gam_error.lo gam_event.lo 
cc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libgamin-1.0.1.9.dylib  .libs/gam_api.o .libs/gam_data.o .libs/gam_fork.o .libs/gam_error.o .libs/gam_event.o  -L/opt/local/lib -L/Users/jackal/garnome/lib -lpthread  -Wl,-dylib_file -Wl,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -Wl,--version-script=./gamin_sym.version -install_name  /Users/jackal/garnome/lib/libgamin-1.0.dylib -Wl,-compatibility_version -Wl,2 -Wl,-current_version -Wl,2.9
ld: unknown option: --version-script=./gamin_sym.version
collect2: ld returned 1 exit status
make: *** [libgamin-1.la] Error 1

$ which ld
/usr/bin/ld




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