From maintainers-request at octave dot org Wed Jan 12 08:01:01 2005 Subject: Re: Octave on Windows compiled with MinGW From: Laurent Mazet To: Ole Jacob Hagen Cc: maintainers at octave dot org Date: Wed, 12 Jan 2005 15:00:39 +0100 On Wed, 12 Jan 2005 10:18:54 +0100 (CET) Ole Jacob Hagen wrote: > Hi, Laurent. Hi Ole, > Happy New year. > > I am now setting up MinGW and downloading Octave-2.1.64. > > Here is what you did: > % Snip from > http://www.octave.org/mailing-lists/octave-maintainers/2004/783 % > > - I used ./configure --disable-static --enable-shared > --disable-readline > --enable-dl > > - I added -lwsock32 which wasn't detected by ./configure > > - In /usr/include/winnt.h, I disabled typedef union IMAGE_AUX_SYMBOL > because of > a name conflict with Array. > > - For liboctinterp I added a $(DLD_PICOBJ) into the rule of > src/Makefile > > - In src/DLD-FUNCTIONS/sort.cc, I 'sed' s/= octave_NaN/= > lo_ieee_nan_value ()/ > > - I finish install by hand, copying some dlls into the binary > directory. > > % End of snip % > > What did you added in the rule $(DLD_PICOBJ) in the src/Makefile? I'm sorry but I didn't kept the source on my hard-disk. If I remember correctly liboctinterp.$(SHLEXT): $(PICOBJ) $(DLD_PICOBJ) $(PIC_XERBLA) rm -f $ at $(SH_LD) $(SH_LDFLAGS) $(SONAME_FLAGS) -o $ at $^ $(OCTINTERP_LINK_DEPS) > How does Octave work? Is it fast enough? Did you compiled with with > gcc-3.2.x as well? Well... I managed to start octave and run some tests/benchmarks. I spend all my results on an octave mailing-list few months ago. But, frankly, without readline nor kpathsearch nor fork, it wasn't really usefull. I compiled it with the laster MinGW release i.e. gcc-3.2.x > > Cheers, > > Ole J. -- Dr. Laurent Mazet: Research Engineer /V\ Centre de Recherche de MOTOROLA Tel: +33 (0)1 69 35 48 30 =-=-=-=-=-=-=-=-=-=-= Email: mazet at crm dot mot dot com