octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3.0.1 release? (Reports on mingw build)


From: Michael Goffioul
Subject: Re: 3.0.1 release? (Reports on mingw build)
Date: Mon, 7 Apr 2008 18:25:12 +0200

On Mon, Apr 7, 2008 at 5:21 PM, Tatsuro MATSUOKA <address@hidden> wrote:
>  >Damn, why does it work under MSVC?"
>  I also think what you said is completly right now.  However, I thought that 
> it was a
>  careless mistake at the integrating the unixy and windowsish codes at that 
> moment.
>  That was my careless mistake.

Sorry if this sounded a little bit too harsh, that was not my intention.
I think what you can check is whether HAVE_LOADLIBRARY_API is
defined in your config.h. Normally, it is defined unconditionally under
Win32 platforms (cygwin, mingw and msvc): see configure.in, around
line 1394.

If HAVE_LOADLIBRARY_API is defined, then windows.h should get
included from lo-utils.h. If this is not the case, what I usually do is to
run only the preprocessor and trace file inclusion. To run only the
preprocessor, I do in liboctave:
1) "rm lo-sysdep.o"
2) "make lo-sysdep.o"
3) copy the command echo'ed at 2) and add the -E flag to run the
preprocessor and redirect the output to some temp file.
4) inspect the temp file

Hope this helps.

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]