-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/01/2011 08:40 AM, Patrice Colet wrote: > >> needs to figure out how to do the final linking using g++ to link the >> C >> ++ ASIO files and C files from the rest. >> > > why not using cc for compiling portaudio files,
because you need a c++ compiler to compile c++ code. and you need a c++ linker to link with c++ objects (such as the portaudio objects) the trick to use g++ for linking, is to use a dummy .cpp file, so autotools will automatically choose g++. something like: <snip> nodist_EXTRA_pd_SOURCES= if PORTAUDIO nodist_EXTRA_pd_SOURCES += dummy.cpp endif </snip> fgmsdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4NjoEACgkQkX2Xpv6ydvTuOACdFHGNF2qVQz+TbvgjXDHSisjH YHQAnjK/SViMF1aXY51Bi59UmgezhFxR =u+vA -----END PGP SIGNATURE----- _______________________________________________ Pd-dev mailing list [email protected] http://lists.puredata.info/listinfo/pd-dev
