octave-maintainers
[Top][All Lists]
Advanced

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

Re: fltk-config for windows gives -mwindows flag (was octave-3.3.50 buil


From: Tatsuro MATSUOKA
Subject: Re: fltk-config for windows gives -mwindows flag (was octave-3.3.50 built by mingw-gcc-4.4.0 cannot be executed.)
Date: Thu, 12 Nov 2009 09:33:13 +0900 (JST)

Hello

--- "John W. Eaton" wrote:

> On 11-Oct-2009, Michael Goffioul wrote:
> 
> | On Sun, Oct 11, 2009 at 4:12 PM, John W. Eaton <address@hidden> wrote:
> | > | diff -r a65c135a1deb configure.in
> | > | --- a/configure.in   Mon Oct 05 19:22:13 2009 +0200
> | > | +++ b/configure.in   Mon Oct 05 20:30:33 2009 +0200
> | > | @@ -847,6 +847,11 @@
> | > |   FLTK_CFLAGS="`$FLTK_CONFIG $fltkconf_args --use-gl --cflags`"
> | > |   FLTK_LDFLAGS="`$FLTK_CONFIG $fltkconf_args --use-gl --ldflags`"
> | > |
> | > | + case "$canonical_host_type" in
> | > | + *-*-mingw*)
> | > | +  FLTK_LDFLAGS="`echo $FLTK_LDFLAGS | sed -e 's+-mwindows++g'`"
> | > | + esac
> | > | +
> | > |   AC_MSG_CHECKING(for OpenGL support in FLTK)
> | > |   cat > conftest.cc <<EOF
> | > |   #include <FL/gl.h>
> | >
> | > Only *-*-mingw*? Would this also be a problem for *-*-msdosmsvc?
> | 
> | No. The -mwindows flag is only GCC specific.
> 
> I checked in the following change.
> 
>   http://hg.savannah.gnu.org/hgweb/octave/rev/f5126ea721e2
> 
> Is this OK?  Or should we be more careful and try to only match
> -mwindows if it appears as a word by itself?  Or is this change even
> needed now?
> 
I think it is OK.
By the change, people who would like to build octave by themselves on mingw  
need not tweak
fltk-config.

Regards

Tatsuro


--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/


reply via email to

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