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

Reply via email to