help-octave
[Top][All Lists]
Advanced

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

Re: failed to install .mex file


From: Michael Goffioul
Subject: Re: failed to install .mex file
Date: Fri, 10 Oct 2008 13:57:09 +0200

On Fri, Oct 10, 2008 at 1:16 PM, Benjamin Lindner <address@hidden> wrote:
> Do we really need an additional configure check for this?
> A simple solution would be to mask the linker flag addtion in a
> #ifndef __MINGW32__
>   <add the linker flag>
> #endif
>
> or a
> #ifdef _MSVC_VER
>   <add the linker flag>
> #endif
> pair.
>
> Since it is a specific msvc flag, probably better the second way.
> what do you think?

(Note, it's_MSC_VER, not _MSVC_VER).

This would be fine if you assume that mkoctfile.cc will only
be used under Win32 MSVC/MinGW. If you want to be more
generic, letting the configure script to decide what the flag
should be is probably better.

Michael.


reply via email to

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