2012-09-16 08:13, nitnit skrev: > Jordi Gutiérrez Hermoso wrote >> On Fri, Sep 14, 2012 at 3:44 PM, Jordi Gutiérrez Hermoso wrote: >> Nitzan, can you please publish the sources you've used to build MinGW? >> It's a little worrisom that we're in effect distributing GPL-violating >> MinGW binaries. >> > Attached are the patches I have used for octaveforge packages in order to > build them on mingw. Be aware that most of them are simply workarounds to > overcome mingw environment failures to identify libs. I hope that I will be > able to fix some of these on next mingw octave build. > > Nitzan > > > ************************************************************************** > sockets-1.0.8 > ************************************************************************** > > --- sockets-1.0.8.tar.gz\sockets\src\Makefile Tue Jan 10 21:05:12 2012 > +++ sockets-1.0.8_patched.tar.gz\sockets\src\Makefile Sat Aug 04 11:35:39 > 2012 > @@ -14,7 +14,8 @@ > all: $(OCT) > > %.oct: %.cc > - mkoctfile $(VFLAGS) -s $< > + mkoctfile -L/C/Octave/Octave3.6.0_gcc4.6.2/mingw32/lib $(VFLAGS) -s > -lws2_32 $< > +# mkoctfile $(VFLAGS) -s $< > > test: $(OCT) > test_octave_sockets > Considering the above change for the sockets package, is there some way to detect that one runs in mingw, so it is possible to use the same octfile on multiple platforms? something like (in pseudo code) if $(lsb_config ???) == mingw moreflags= -L/c/..../ end
The less patches needed, the better. paul ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev