I've found the odd part of that page is that they use LTLIBRARIES variable while pd/src/Makefile.am doesn't.
On Fri, 01 Jul 2011 19:36 +0200, "IOhannes m zmölnig"
On 07/01/2011 06:24 PM, Hans-Christoph Steiner wrote:
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>
It would be worth trying:
LD=$CXX
http://www.gnu.org/software/automake/manual/html_node/Libtool-Convenience-Li...
That solution at the bottom of that page looks easy but a bit odd. I suppose its the 'official' way. Patco, do you think you can try to get that working?
.hc
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Ah, right, supporting LTLIBRARIES would be a bigger reorg. Any luck with the LD=$(CXX) option?
.hc
On Jul 2, 2011, at 7:01 AM, Patrice Colet wrote:
I've found the odd part of that page is that they use LTLIBRARIES variable while pd/src/Makefile.am doesn't.
On Fri, 01 Jul 2011 19:36 +0200, "IOhannes m zmölnig"
On 07/01/2011 06:24 PM, Hans-Christoph Steiner wrote:
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>
It would be worth trying:
LD=$CXX
http://www.gnu.org/software/automake/manual/html_node/Libtool-Convenience-Li...
That solution at the bottom of that page looks easy but a bit odd. I suppose its the 'official' way. Patco, do you think you can try to get that working?
.hc
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
-- Patrice Colet
----------------------------------------------------------------------------
Mistrust authority - promote decentralization. - the hacker ethic
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-07-02 13:01, Patrice Colet wrote:
I've found the odd part of that page is that they use LTLIBRARIES variable while pd/src/Makefile.am doesn't.
does this mean that you have had no success with the dummy.cpp file (output?) or that you decided to not try because you were unsure?
fgjadsr IOhannes