Hello I felt bad in the morning so that I canceled today's work. In the afternoon my situaion rather became better so I tried the be below. I have down loaded the SVN today by
langus (an alias comand by me to set locale to US for avoiding character traslation mistakes) svn co https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge/main/fixed fixed On mingw [EMAIL PROTECTED] ~/octaves/fixedSVN/fixed/examples $ make Depending ffft.cc rm -f ffft.d g++ -M -I/mingw/include -I/usr/local/octave-3.0.0/include -I/GnuWin32/include -Ic:/progra~1/Pcre/include -I/usr/local/octave-3.0.0/include/octave-3.0.0 -I/usr/local/octave-3.0.0/include/octave-3.0.0/octave -I/usr/local/octave-3.0.0/include -mieee-fp -g -O2 -I../src -DHAVE_OCTAVE_30 ffft.cc | /bin/sed -e 's,^[^:]*/\(.*\.o\):,\1:,' -e 's,ffft\.o,pic/& & ffft.d,g' > ffft.d-t && mv ffft.d-t ffft.d Depending fixed_inc.cc : : Linking ffft.oct g++ -shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -o ffft.oct ffft.o -L../src -lfixed -L/usr/local/octave-3.0.0/lib/octave-3.0.0 -L/usr/local/octave-3.0.0/lib -loctinterp -loctave -lcruft -L/mingw/lib -L/usr/local/octave-3.0.0/lib -L/GnuWin32/lib -L/GnuWin32/bin -llapack -ltmglib -lblas -lfftw3 -lreadline -ltermcap -lz -lm -luuid -lgmp -lws2_32 -lkernel32 -L/mingw/lib -L/usr/local/octave-3.0.0/lib -L/GnuWin32/lib -L/GnuWin32/bin -L/mingw/bin/../lib/gcc/mingw32/3.4.5 -L/mingw/bin/../lib/gcc -L/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib -L/mingw/bin/../lib/gcc/mingw32/3.4.5/../../.. -lz -lm -luuid -lgmp -lfrtbegin -lg2c -lmingw32 -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 c:\Programs\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lfixed collect2: ld returned 1 exit status make: *** [ffft.oct] Error 1 Result is just the same on cygwin. Main problem is that new Makefile by you did not give a liboctave_fixed.dll.a so that the link seeme to be failed. However my condition is not so good, I only just the report the results. My feeling the previous fix is required for the cygwin/mingw. For the dll point of view, the gcc exporting function is the same on the cygwin and the mingw. So that the treatments for dlls are the same. Regards Tatsuro --- David Bateman <[EMAIL PROTECTED]> wrote: > Michael Goffioul wrote: > > On Thu, Mar 27, 2008 at 12:54 PM, David Bateman > > <[EMAIL PROTECTED]> wrote: > > > >> The problem I had with cygwin is that at the time the example oct-files > >> were build it wanted the symbols to be resolved, and thus linked against > >> fixed.oct..... If the OCTAVE_FIXED_API macro doesn't address that issue > >> then I don't think my fix with work on the cygwin platform and probably > >> not the mingw platform either. It should work on MSVC as this is > >> essentially what you were doing with your previous patches... > >> > >> How can we force the link of the oct-file to not attempt to resolve the > >> symbols for the fixed type during the link, but rather at run time? > >> > > > > You can't. What I did with MSVC is to add "-lfixed" flag when linking > > the oct-files from the examples directory. AFAIK, in Win32, whatever > > you do, all symbols must be resolved at link-time. > > > > Ok, then if you can link against the oct-file, then that doesn't change > anything except the need to add "-L../src -lfixed" when building the > example oct-files.. I committed another patch to do that.. Tatsuro, > you'll need to update your SVN before trying > > cd main/fixed/src > ./autogen.sh > ./configure > make > cd ../examples > make > octave > addpath ("../src") > a = ffft(fixed(6,4,32*randn(64,1))) > > > to see if this works for cygwin/mingw > > Regards > David > > -- > David Bateman [EMAIL PROTECTED] > Motorola Labs - Paris +33 1 69 35 48 04 (Ph) > Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob) > 91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax) > > The information contained in this communication has been classified as: > > [x] General Business Information > [ ] Motorola Internal Use Only > [ ] Motorola Confidential Proprietary > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Octave-dev mailing list > Octave-dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/octave-dev > -------------------------------------- Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar http://pr.mail.yahoo.co.jp/toolbar/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev