wxruby-dev
[Top][All Lists]
Advanced

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

[Wxruby-dev] MinGW build


From: Gour
Subject: [Wxruby-dev] MinGW build
Date: Tue, 22 Jul 2003 20:54:26 +0200
User-agent: Mutt/1.4i

Hi!

After playing a little bit (actually, beeing a newbie I spent quite a lot of 
time :-)
I hope that 'debugging' session was successful and the problem with MinGW build 
is 
solved.

Here is the 'patch' for extconf.rb:

*** extconf.rb  Fri Jul 18 05:14:12 2003
--- /home/ggd/win/msys/1.0/home/ggd/wxruby/src/extconf.rb       Tue Jul 22 
20:52:05 2003
***************
*** 26,30 ****
      CONFIG["LDSHARED"].gsub!("gcc"," `wx-config --cxx`".strip)
      $LIBS += " -lwxmsw241"
!     $CFLAGS += " `wx-config --cxxflags`"
      $LDFLAGS += " `wx-config --libs` -Wl,--version-script,./version-script "
  elsif /powerpc-darwin/ =~ RUBY_PLATFORM
--- 26,30 ----
      CONFIG["LDSHARED"].gsub!("gcc"," `wx-config --cxx`".strip)
      $LIBS += " -lwxmsw241"
!     $CFLAGS += " `wx-config --cxxflags` -DWXUSINGDLL=1"
      $LDFLAGS += " `wx-config --libs` -Wl,--version-script,./version-script "
  elsif /powerpc-darwin/ =~ RUBY_PLATFORM

As usual - simple solutions for big problems :-)

Roy & others, pls. test this on your MinGW environment.

I just did a MinGW build with fresh untainted sources from CVS and everything
is fine - samples run.

Sincerely,
Gour

-- 
Gour
address@hidden
Registered Linux User #278493





reply via email to

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