Hello,

using the automated snapshots for darwin
(mingw-w32-bin_i686-darwin_20100902.tar.bz2)

On Snow Leopard, trying to cross compile Ruby, I hit a wall:

i686-w64-mingw32-gcc -O3 -g -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wno-long-long -I.
-I.ext/include/i386-mingw32 -I../include -I.. -include ruby/config.h
-include ruby/missing.h -DRUBY_EXPORT   -o st.o -c ../st.c
../st.c: In function ‘strhash’:
../st.c:1237:1: internal compiler error: in tree_mem_ref_addr, at
tree-ssa-address.c:278
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [st.o] Error 1


git clone git://github.com/ruby/ruby.git

Ruby repository is huge, so cloning with Git could take long time.

cd ruby
mkdir build
cd build
sh -c "../configure --enable-shared --disable-install-doc
--host=i686-w64-mingw32"
make

Going to try 1.0 versions now, but wanted to check here before
proceeding to report to GCC itself.

Thank you.
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to