Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#42 ECL: Problems with whitespaces and ld-flags

open
nobody
None
5
2012-11-18
2010-03-04
Paulo Andrade
No

ECL wants ld-flags as a properly formatted list of strings, but maxima passes it as a one element list.

I opened a bug report earlier for ecl but it was closed, see:
https://sourceforge.net/tracker/?func=detail&aid=2962219&group_id=30035&atid=398053

Attached is a "better/proper" patch then the first one I made, to correct the issue in maxima.

This properly pass the ld-flags. Example/cut&paste from rpm build log:

;;; Note: Invoking external command:
;;; x86_64-mandriva-linux-gnu-gcc -o "/home/pcpa/rpm/BUILD/maxima-5.20.1/src/binary-ecl/maxima" -L"/usr/lib64/" "/tmp/ECLINITWfqz7L.o" "/home/pcpa/rpm/BUILD/maxima-5.20.1/src/binary-ecl/maxima-package.o" <really-really-long-list-of-files-here> "-Wl,--as-needed" "-Wl,--no-undefined" "-Wl,-z,relro" "-Wl,-O1" -lecl -lgmp -lgc -lpthread -ldl -lm make[1]: Leaving directory `/home/pcpa/rpm/BUILD/maxima-5.20.1/src'
Making all in lisp-utils

Discussion