----- "Patrice Colet" <[email protected]> a écrit : > The problem I'm encountering on win32 with makefile.am is that pd.dll > is not built > >
if I add this: if WINDOWS LIBS += -lwsock32 -lwinmm -lole32 pd_CFLAGS += -DUSEAPI_MMIO -DPD_INTERNAL pd_SOURCES += s_audio_mmio.c s_midi_mmio.c lib_LTLIBRARIES = libpd.la libpd_la_SOURCES = $(pd_sources) libpd_la_LDFLAGS = -no-undefined pd_LDADD = libpd.la bin_SCRIPTS = endif libpd.dll building is initiated: Creating library file: .libs/libpd.dll.a but the linker complains about > ----- "IOhannes m zmoelnig" <[email protected]> a écrit : > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On 2011-07-11 17:59, Hans-Christoph Steiner wrote: > > > > > > We have the opposite problem than that automake hack is trying to > > > solve. When ASIO is including, then everything including > portaudio > > is > > > built and linked using g++. Portaudio fails to build with g++, so > > we > > > need to find a way to make only ASIO build with g++, while the > rest > > > build with gcc. I think automake will still choose g++ for > linking > > > since its choosing g++ for ASIO. > > > > > > > ah thanks for clarifying the problem. > > > > however: automake will chose the _compiler_ on a file-per-file > basis; > > so > > forcing the _linker_ to be CXX for pd, should have no effect on the > > compilining portaudio (and creating the portaudio library) > > > > fgamdr > > IOhannes > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.11 (GNU/Linux) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > > > iEYEARECAAYFAk4bIPIACgkQkX2Xpv6ydvTdYwCfUlNGwDybirLriNT1O6UwV8v1 > > j68AnjgGtdThIklLxRGBSN9vK4anSbjx > > =HAmS > > -----END PGP SIGNATURE----- > > > > > > _______________________________________________ > > Pd-dev mailing list > > [email protected] > > http://lists.puredata.info/listinfo/pd-dev > > -- > Patrice Colet > > _______________________________________________ > Pd-dev mailing list > [email protected] > http://lists.puredata.info/listinfo/pd-dev -- Patrice Colet _______________________________________________ Pd-dev mailing list [email protected] http://lists.puredata.info/listinfo/pd-dev
