I've got asio linking with g++ working, this is explained in here:
http://www.mail-archive.com/libtool@gnu.org/msg11308.html
# ASIO needs to go after PORTAUDIO in order for it to link properly if ASIO # automake hack to force linking with g++ SUBDIRS = ../asio # Dummy C++ source to cause C++ linking. nodist_EXTRA_libpd_la_SOURCES = dummy.cxx pd_LDADD += ../asio/libasio.la pd_LINK = $(CXXLINK) endif
if WINDOWS lib_LTLIBRARIES += libpd.la libpd_la_SOURCES = $(pd_sources) libpd_la_LDFLAGS = -no-undefined LIBS += -lwsock32 -lwinmm -lole32 -lpthreadGC2 -ldl pd_CFLAGS += -DUSEAPI_MMIO -DPD_INTERNAL pd_SOURCES += s_audio_mmio.c s_midi_mmio.c pd_LDADD += libpd.la bin_SCRIPTS = endif
now how can we fix startup/libdir.dll?
when starting pd, console shows:
C:/msys/1.0/home/patko/pd-extended/0.43/packages/win32_inno/build/startup/libdir: can't load startup library'!