[PD-dev] double precision Pd: .patch files, tests and benchmarks

IOhannes m zmölnig zmoelnig at iem.at
Wed Oct 5 21:37:57 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/05/2011 12:40 PM, katja wrote:
> On Tue, Oct 4, 2011 at 11:38 AM, IOhannes m zmoelnig <zmoelnig at iem.at> wrote:
> 
>> the proper way is to use CPPFLAGS="-DPD_FLOAT_PRECISION=64",
> 
> But now you undo the CPPFLAGS as defined in the makefile. I didn't
> know how to add to the CFLAGS from the command line, but found a
> solution here:
> 
> http://theory.uwinnipeg.ca/localfiles/infofiles/make/make_66.html#SEC65
> 
> It requires a small adaptation to the makefile. Instead of:
> 
> CFLAGS = ....
> 
> comes:
> 
> override CFLAGS += .....
> 
> Now you can add to CFLAGS from the command line, like so:
> 
> make CFLAGS="-DPD_FLOAT_PRECISION=64"
> 
> Note that the CFLAGS in the makefile now have precedence and you can
> only add to it from the command line, not override it.
> 

i don't get the point here, since CPPFLAGS is not set in the Pd
Makefiles, so setting them to outside should have no weird sideeffects,
whereas CFLAGS does.

ah, on closer inspection it seems like you are building Pd with the old
autoconf system (pd/src/configure.ac generates pd/src/makefile), whereas
i am using (and talking about) the newer autotools based build system
(pd/configure.ac generates pd/src/Makefile)

afaik, this is the build-system used in the nightly builds (apart from w32)

fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6MshUACgkQkX2Xpv6ydvQkHwCg5ld9exXjKmAsIHbbINmPJZkp
kxIAn1bEYE/kKTVCsXM3D0zKLMqXr+So
=UNU0
-----END PGP SIGNATURE-----



More information about the Pd-dev mailing list