definitely not a ruby-core dev here, so hope this is ok to post.
my cygwin compile for latest ruby is failing with the ff msg…
file.o:file.c:(.text+0x4342): undefined reference to `_wcsicmp’
collect2: ld returned 1 exit status
Yes, I had the same. I commented out the call (it wasn’t in anything
that I was going to use anyway). But I agree that proper Cygwin support
would be good.
On Thu, Nov 22, 2012 at 4:27 PM, Graham Menhennitt
<[email protected]
wrote:
Yes, I had the same. I commented out the call (it wasn’t in anything
that I was going to use anyway). But I agree that proper Cygwin support
would be good.
How do they (the CygWin guys) build it? They must do something to fix
that error. Why can’t we (the Ruby guys) do the same thing (it’s in a #ifdef CYGWIN, so it won’t affect anything else)?
I’m trying to build a CygWin program with an embedded Ruby interpreter.
It builds and starts running but exits immediately. I can’t debug it in
Cygwin GDB - it just hangs whenever I do a ‘s’ or ‘n’ command.
On Thu, Nov 22, 2012 at 4:27 PM, Graham Menhennitt [email protected] wrote:
Yes, I had the same. I commented out the call (it wasn’t in anything
that I was going to use anyway). But I agree that proper Cygwin support
would be good.
glad i am not alone = )
thanks Graham
Why don’t you use the Ruby version from the repo? cygwin switched to
1.9 a while back:
How do they (the CygWin guys) build it? They must do something to fix
that error. Why can’t we (the Ruby guys) do the same thing (it’s in a #ifdef CYGWIN, so it won’t affect anything else)?
You can download the sources. Maybe that’ll help. You could also
diff vs. the default sources.
I’m trying to build a CygWin program with an embedded Ruby interpreter.
It builds and starts running but exits immediately. I can’t debug it in
Cygwin GDB - it just hangs whenever I do a ‘s’ or ‘n’ command.
Ah. Then of course you must build it.
Kind regards
robert
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.