Try putting -ld_classic into your LD_FLAGS, i.e.
export LD_FLAGS=-ld_classic ./configure ...
--Chun
On Fri, Feb 23, 2024 at 1:09?PM Steve Arons <steve.arons at gmail.com> wrote:
The linker fails when writing the object code:
******Writing object code******
/bin/sh ./libtool --tag=CC --mode=link gcc -O3 -o poly polyexport.o libpolymain/libpolymain.la libpolyml/libpolyml.la -lstdc++
libtool: link: gcc -O3 -o .libs/poly polyexport.o libpolymain/.libs/libpolymain.a libpolyml/.libs/libpolyml.dylib -lstdc++
ld: LINKEDIT overlap of start of LINKEDIT and symbol table in '/Users/susanbeningson/poly/polyml/polyexport.o' in '/Users/susanbeningson/poly/polyml/polyexport.o'
clang: *error: **linker command failed with exit code 1 (use -v to see invocation)*
make[2]: *** [poly] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
This is clang from the Apple dev tools masquerading as gcc; is it necessary to use GNU gcc and the GNU bin tools?
Thanks, Steve
polyml mailing list polyml at inf.ed.ac.uk http://lists.inf.ed.ac.uk/mailman/listinfo/polyml