Building ruby with bcc32

Hi,

At Thu, 19 Jul 2007 15:39:56 +0900,
Yusuf C. wrote in [ruby-talk:260678]:

For ms compiler the steps are:
1.Execute win32\configure.bat on your build directory.
2.Run nmake

But I don’t know the step for MinGW.

autoconf && ./configure CC=‘gcc -mno-cygwin’ && make &&
make install DESTDIR=“anywhere you want install to”

Hi,

At Thu, 19 Jul 2007 16:16:04 +0900,
Yusuf C. wrote in [ruby-talk:260690]:

I guess these steps are for Linux.
I need the steps for WinXP.

Steps for mingw compiling on cygwin.

Hi Nobuyoshi,
I’ve mingw and cygwin installed on my computer.
but no such a file called autoconf.
I am sure I am doing something wrong
but I don’t know what.

with kindest regards
yc

Nobuyoshi N. wrote:

Hi,
Steps for mingw compiling on cygwin.

On 7/19/07, Yusuf C. [email protected] wrote:

Nobuyoshi N. wrote:

Hi,
Steps for mingw compiling on cygwin.

Do you really want to build ruby from source on windows, or do you just
want
to USE ruby on windows? The one click installer can end a lot of your
headaches if it’s the second:
http://rubyforge.org/projects/rubyinstaller/

Hi,

At Thu, 19 Jul 2007 17:51:22 +0900,
Yusuf C. wrote in [ruby-talk:260700]:

I’ve mingw and cygwin installed on my computer.
but no such a file called autoconf.
I am sure I am doing something wrong
but I don’t know what.

You need to install autoconf package too, of Devel category in
“Select Packages” menu of setup.exe. Maybe, you’d say “I don’t
have gcc” next, and “configure says error: `C compiler cannot
create executables’” then. You need to install gcc, binutils,
bison and gcc-mingw packages too.

Hi Logan,

I want to build ruby from source on windows WITHOUT using ms compiler.
My intention was to build ruby using bcc32 but I was told that it was
not possible
it was better to use gcc.

Thanks again
With kindest regards
yc

Logan C. wrote:

On 7/19/07, Yusuf C. [email protected] wrote:

Nobuyoshi N. wrote:

Hi,
Steps for mingw compiling on cygwin.

Do you really want to build ruby from source on windows, or do you just
want
to USE ruby on windows? The one click installer can end a lot of your
headaches if it’s the second:
http://rubyforge.org/projects/rubyinstaller/

From: Yusuf C. [mailto:[email protected]]

And typed the command as you said (I don’t even know what all in the

command line but it is ok)

put those in a batch file so you wont need to remember it. then by the
time that a new release of ruby comes, all you have to do is run that,
then magic!, you have the latest ruby build, days or even months before
the latest one-click arrives…

Nobuyoshi N. wrote:

Thank you thank you and thank you Nobuyoshi,
I managed finally, could not do without your help.
installed autoconf, gcc and some other packages (binutils etc…)
packages under Devel category.
And typed the command as you said (I don’t even know what all in the
command line but it is ok)
autoconf && ./configure CC=‘gcc -mno-cygwin’ && make &&
make install DESTDIR=“anywhere you want install to”

And then bang! it worked.
From my understanding, it is NOT possible to build ruby under Win cmd
prompt
using gcc (MinGW) without Cygwin.

Thanks Nobuyoshi again I really appreciate you help.

With kindest regards
yc

You need to install autoconf package too, of Devel category in
“Select Packages” menu of setup.exe. Maybe, you’d say “I don’t
have gcc” next, and “configure says error: `C compiler cannot
create executables’” then. You need to install gcc, binutils,
bison and gcc-mingw packages too.

Thank you Peña,

I tried that.
I don’t have linux experience at all.
Every time I run those commands it checks everything from the beginning
that is time consuming.
And it is very slow, I think I will miss borlandc :frowning:

With kindest regards
yc

Peña, Botp wrote:

From: Yusuf C. [mailto:[email protected]]

And typed the command as you said (I don’t even know what all in the

command line but it is ok)

put those in a batch file so you wont need to remember it. then by the
time that a new release of ruby comes, all you have to do is run that,
then magic!, you have the latest ruby build, days or even months before
the latest one-click arrives…