Opened 12 years ago

Closed 7 years ago

#3978 closed defect (wontfix)

[PATCH] GCC 4.6 doesn't accept -Xcompiler for Ruby bindings

Reported by: volter Owned by: cfis
Priority: normal Milestone:
Component: RubyBindings Version: 1.9.1
Severity: normal Keywords: Ruby bindings
Cc:

Description

Compiling Ruby bindings, I ran into:

g++: error: unrecognized option '-Xcompiler'

It works with GCC 4.5. I was told, 4.6 is stricter when it comes to parameters.

Attachments (1)

gdal.patch (1.5 KB ) - added by jakob 10 years ago.
fix compilation of ruby bindings in GCC 4.6. And fix installation path.

Download all attachments as: .zip

Change History (6)

by jakob, 10 years ago

Attachment: gdal.patch added

fix compilation of ruby bindings in GCC 4.6. And fix installation path.

comment:1 by jakob, 10 years ago

Version: 1.8.01.9.1

I've just added a patch that will fix the issue, and also fix the installation path which is also broken.

comment:2 by jimk, 10 years ago

How does this play with #1994?

comment:3 by Jukka Rahkonen, 8 years ago

Time for heads-up. GCC is now at version 4.9.2, is this patch still valid? Do ruby bindings work at all because there is no maintainer at the moment?

comment:4 by Jukka Rahkonen, 8 years ago

Keywords: Ruby bindings added
Summary: GCC 4.6 doesn't accept -Xcompiler[PATCH] GCC 4.6 doesn't accept -Xcompiler for Ruby bindings

comment:5 by Even Rouault, 7 years ago

Resolution: wontfix
Status: newclosed

Ruby bindings are considered deprecated. Closing

Note: See TracTickets for help on using tickets.