(the list archive is down right now, so pardon me if this has been covered before.)
In pd/src/makefile.in and pd/extra/*/makefile, there are an number of lines that literally call 'cc' rather than use the $(CC) var. This means that you can't compile Pd using CC=gcc-3.2, for example, which is needed for Debian/sid(unstable) or any other system that uses gcc-3.3 as its cc. (you can change the symlink, but that can break other dependencies).
Attached are "diff -uw" files for the relevant changes.
.hc
________________________________________________________________________ ____
Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish. -William Carlos Williams
Good idea. I'll correct this for 0.37.1 which should come out in a day or so. I wonder if there are other "standard" macros like that that I should be using?
cheers Miller
On Sat, Sep 27, 2003 at 11:24:43PM -0400, Hans-Christoph Steiner wrote:
(the list archive is down right now, so pardon me if this has been covered before.)
In pd/src/makefile.in and pd/extra/*/makefile, there are an number of lines that literally call 'cc' rather than use the $(CC) var. This means that you can't compile Pd using CC=gcc-3.2, for example, which is needed for Debian/sid(unstable) or any other system that uses gcc-3.3 as its cc. (you can change the symlink, but that can break other dependencies).
Attached are "diff -uw" files for the relevant changes.
.hc
Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish. -William Carlos Williams
Hallo, Miller Puckette hat gesagt: // Miller Puckette wrote:
Good idea. I'll correct this for 0.37.1 which should come out in a day or so. I wonder if there are other "standard" macros like that that I should be using?
I think, these are the "Implicit Variables" of makefiles, "info make" has a complete list (for GNU make). Most are like usual:
`AR' Archive-maintaining program; default `ar'.
`CC' Program for compiling C programs; default `cc'.
`CXX' Program for compiling C++ programs; default `g++'.
`CPP' Program for running the C preprocessor, with results to standard output; default `$(CC) -E'
[...]
Also CFLAGS and so on are mentioned there.
ciao