Jean-Marc Valin
2007-Dec-03 00:25 UTC
[Speex-dev] [PATCH] Add Visual Studio 2008 Prject files
>> Does MinGW require any change to the autoconf files or does it work out >> of the box. > > The changes are very, very minor. One change to configure.ac and > if you want a windows DLL, you need a very minor changes to the > Makefile.am. > > Neither of these changes interfere with Linux/Unix compiles.Can you tell me what these changes are?>> BTW, Windows is not quite the only "special" platform, there's the TI >> C55x DSP as well. At least that one has the excuse of not being a >> general purpose computing platform. > > Windows is *not* a general purpose computing platform.By that I mean more general purpose than a 16-bit DSP with no OS and on which sizeof(int)==sizeof(char)==1. (not bashing the C5x, at least *it* has an excuse). Cheers, Jean-Marc
Erik de Castro Lopo
2007-Dec-03 08:46 UTC
[Speex-dev] [PATCH] Add Visual Studio 2008 Prject files
Jean-Marc Valin wrote:> > The changes are very, very minor. One change to configure.ac and > > if you want a windows DLL, you need a very minor changes to the > > Makefile.am. > > > > Neither of these changes interfere with Linux/Unix compiles. > > Can you tell me what these changes are?I just checked and there is nothing needed in configure.ac. In the Makefile.am that creates the shared library you need to add "-no-undefined" to the LDFLAGS variable like this: libspeex_la_LDFLAGS = -no-undefined @WHATEVER_WAS_THERE_BEFORE@ Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "Islam isn't in America to be equal to any other faith, but to become dominant. The Koran should be the highest authority in America, and Islam the only accepted religion on earth." -- Omar Ahmad, board chairman of Council of American Islamic Relations to an islamic audience in 1998.
Alexander Chemeris
2007-Dec-03 19:58 UTC
[Speex-dev] [PATCH] Add Visual Studio 2008 Prject files
On 12/3/07, Erik de Castro Lopo <mle+la@mega-nerd.com> wrote:> I just checked and there is nothing needed in configure.ac. > > In the Makefile.am that creates the shared library you need to add > "-no-undefined" to the LDFLAGS variable like this: > > libspeex_la_LDFLAGS = -no-undefined @WHATEVER_WAS_THERE_BEFORE@Which symbols will it export? I think default behaviour would be to export all symbols, which is not good. So, is there way to pass *.def file to it? -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000