From: Roger Pack Date: 2010-07-16T23:35:23+09:00 Subject: Re: Ruby for Windows Mobile (Win CE, CeGCC) Maxim Sokolovsky wrote: > Roger Pack wrote: >> If it's a dll it "should" work. > > How do I add it in a right way? When I add it to LDFLAGS and LIBS env > variables it doesn't apear in compiling... So it runs like: > arm-cegcc-gcc -O2 -g -Wall -Wno-parentheses -I. > -I.ext/include/arm-wince -I./include -I. -DRUBY_EXPORT -o io.o -c io.c > I fix it dirty by adding "-I/path/to/pthreads" into Makefile in a line, > where -O2 parameter added.. How this could be done in right manner? is there an --enable-pthreads option? I know 1.9.2 used to try to use pthreads on windows but then we complained so it was disallowed... >> I think this means that somehow compilation doesn't realize you are on >> windows. > > I'm on Ubuntu linux if you mean my OS. And as far as i know configure > script should think i compile it for linux, cause cegcc emulates POSIX > API and is designed to cross-compile linux apps to windows mobile. So i > couldn't understand why it tries some *w32* functions... Something isn't detecting right, or it would never even try to build win32.c, I imagine. >> The rubyinstaller list might be helpful, as well. >> http://rubyinstaller.org/ > > I'll post my message there if I wouldn't get answers here, but... they > use MinGW32 environment to compile ruby for Win32.. This isn't near my > goal I think, isn't it? Yeah but they may have some expertise. Unfortunately I don't really :) -r -- Posted via http://www.ruby-forum.com/.