Ticket #65 (closed defect: fixed)

Opened 1 year ago

Last modified 7 months ago

doesn't compile on mingw

Reported by: rogerdpack Assigned to: raggi
Priority: major Milestone:
Keywords: Cc:

Description

Is missing the stdcpp libs for some reason. This patch is ugly but add in two lines:

if RUBY_PLATFORM =~ /mingw32/

# need c++ libs for some reason CONFIGLDSHARED? = "$(CXX) -shared -lstdc++"

end

to extconf.rb

Attachments

mingw_compiles.diff (11.9 kB) - added by rogerdpack on 07/26/08 03:16:34.

Change History

07/26/08 03:16:34 changed by rogerdpack

  • attachment mingw_compiles.diff added.

07/26/08 12:58:29 changed by rogerdpack

That was

  if RUBY_PLATFORM =~ /mingw32/ 
 	    # need c++ libs for some reason -- do we also want -shared here? 
            CONFIG['LDSHARED'] = "$(CXX) -shared -lstdc++" 
   end 

07/28/08 05:44:32 changed by raggi

  • owner set to raggi.
  • status changed from new to assigned.

Yup, nice reduction in my branch too...

09/13/08 09:45:46 changed by raggi

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [777]) closes #65

11/06/08 13:27:01 changed by rogerdpack

has this been applied to trunk?

12/08/08 15:15:02 changed by rogerdpack

Sweet it works from SVN trunk [but, as a note, not from 12.2 gem, as of yet]. Thanks for doing that. -=R