cext on 64 Windows oddities --------------------------- Key: JRUBY-5464 URL: http://jira.codehaus.org/browse/JRUBY-5464 Project: JRuby Issue Type: Bug Components: C Extensions, Windows Affects Versions: JRuby 1.6RC1 Reporter: Thomas E Enebo Assignee: Thomas E Enebo
I did an 'ant cext' to generate our native dll for cexts. The build generated only the windows 32 bit dll. Not horrible, but we did not make the 64 bit dll, which is more what I expected to happen. Later, I tried to 'gem install rdiscount' and besides the fact that it got stuck assuming it needed to invoke 'cc' (gotten from rbconfig, but we are supposedly replacing with env of CC if available and either JRuby or JRuby native launcher did not pick it up). After I got things to invoke gcc it then complained with: {noformat} checking for random()... no checking for srandom()... no checking for rand()... make gcc -I. -I. -Ic:/opt/jruby.cygwin/lib/native/include/ruby -I. -DHAVE_RAND -DHAVE _SRAND -fno-omit-frame-pointer -fno-strict-aliasing -fexceptions -m64 -march=native -mtune=native -c basename.c basename.c:1:0: sorry, unimplemented: 64-bit mode not compiled in make: *** [basename.o] Error 1 {noformat} I did not dig to see where this error message comes from but I did not see it in the extension itself... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email