[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Building ruby with bcc32

Yusuf Celik

7/13/2007 6:48:00 AM

Hi,
I am looking for someone who built ruby using Borland c.
Because I don't want to use BIG M$$$ compiler.
And dont' want to feel like lost without them.
And I am sure still there is somebody still using Borland C.

Anybody give me a hand pls.
I think bcc32 directory which comes with the ruby trunk is not up to
date.
And I have no makefile experience to fix it up and commit to the ruby
community.

I get the following error.

D:\Ruby_test_ver>bcc32\configure.bat
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Creating Makefile
type "`make'" to make ruby for bccwin32.

D:\Ruby_test_ver>make
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error ./common.mk 611: Redefinition of target 'opt_sc.inc'
Error ./common.mk 611: Redefinition of target 'optinsn.inc'
Error ./common.mk 611: Redefinition of target 'optunifs.inc'
Error ./common.mk 611: Redefinition of target 'insns.inc'
Error ./common.mk 611: Redefinition of target 'vmtc.inc'
*** 5 errors during make ***

I edit the common.mk and comment the error lines.
And then I get the other error.

D:\Ruby_test_ver>make
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
config.h updated.
Creating config.status
Fatal: '.\ruby.h' does not exist - don't know how to make it

Pls help.

OS: WinXP
Comp: Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland

Any help is appreciated
With kindest regards
yc

--
Posted via http://www.ruby-....

27 Answers

Chad Perrin

7/13/2007 6:57:00 AM

0

On Fri, Jul 13, 2007 at 03:47:45PM +0900, Yusuf Celik wrote:
> Hi,
> I am looking for someone who built ruby using Borland c.
> Because I don't want to use BIG M$$$ compiler.
> And dont' want to feel like lost without them.
> And I am sure still there is somebody still using Borland C.

Actually, I think gcc is probably a more common C compiler than Borland
C, as an alternative to the Microsoft compiler. It's even more popular
on MS Windows, from what I've seen -- though I admit my experience may be
a bit skewed from the average in this regard.

--
CCD CopyWrite Chad Perrin [ http://ccd.ap... ]
Dr. Ron Paul: "Liberty has meaning only if we still believe in it when
terrible things happen and a false government security blanket beckons."

Yusuf Celik

7/13/2007 7:16:00 AM

0

Thanks Chad,
I am really glad that somebody's heard my scream.
I never used gcc before. But I think I will give it a go.
I've been using Borland c++ for a while and quite happy with it.
And now there is a free version can search using "Borland's Free C++
Compiler ".

I guess the problem is in the make file regarding the include directory.
Since I have no experience with Makefiles I don't know how to fix it.

Thanks again Chad appreciated.

With kindest regards
yc

Chad Perrin wrote:
> Actually, I think gcc is probably a more common C compiler than Borland
> C, as an alternative to the Microsoft compiler. It's even more popular
> on MS Windows, from what I've seen -- though I admit my experience may
> be
> a bit skewed from the average in this regard.


--
Posted via http://www.ruby-....

Nobuyoshi Nakada

7/13/2007 7:20:00 AM

0

Hi,

At Fri, 13 Jul 2007 15:47:45 +0900,
Yusuf Celik wrote in [ruby-talk:259253]:
> I think bcc32 directory which comes with the ruby trunk is not up to
> date.

bcc32 support will be obsolete.

--
Nobu Nakada

Yusuf Celik

7/13/2007 7:56:00 AM

0

Thanks for the reply.

Nobuyoshi Nakada wrote:
> bcc32 support will be obsolete.

May I ask the reason?
Because, bcc32 is a good and popular compiler in Win environment.
And there are lots of people using it.

Thanks in advance
yc


--
Posted via http://www.ruby-....

Yusuf Celik

7/13/2007 12:16:00 PM

0

Yusuf Celik wrote:
> Thanks for the reply.
>
> Nobuyoshi Nakada wrote:
>> bcc32 support will be obsolete.
>
> May I ask the reason?
So no reason, ok, fair enough.

I have another question then
Where can I get gcc compiler and how to use to build ruby.exe ?

Thanks in advance
yc

--
Posted via http://www.ruby-....

Ari Brown

7/13/2007 12:23:00 PM

0

www.ubuntu.org

Think of it as an 'all in one' toolkit.

oh, and for just the gcc.
http://gcc.gnu.org/install/bin...

although you might need cygwin (unix environment for windows)

On Jul 13, 2007, at 8:16 AM, Yusuf Celik wrote:

> Yusuf Celik wrote:
>> Thanks for the reply.
>>
>> Nobuyoshi Nakada wrote:
>>> bcc32 support will be obsolete.
>>
>> May I ask the reason?
> So no reason, ok, fair enough.
>
> I have another question then
> Where can I get gcc compiler and how to use to build ruby.exe ?
>
> Thanks in advance
> yc
>
> --
> Posted via http://www.ruby-....
>
>

--------------------------------------------|
If you're not living on the edge,
then you're just wasting space.



Robert Dober

7/13/2007 12:38:00 PM

0

On 7/13/07, Ari Brown <ari@aribrown.com> wrote:
> www.ubuntu.org
>
> Think of it as an 'all in one' toolkit.
>
> oh, and for just the gcc.
> http://gcc.gnu.org/install/bin...
>
> although you might need cygwin (unix environment for windows)
Hmm Mingw should be enough[ still cygwin is a good thing to have IMHO]
only that there is no need to install all that stuff only to compile
Ruby?
http://www....

HTH
Robert


--
I always knew that one day Smalltalk would replace Java.
I just didn't know it would be called Ruby
-- Kent Beck

Yusuf Celik

7/13/2007 2:07:00 PM

0

Thanks all,

I've downloaded and installed MinGW.
In VC++ win32\configure.bat and then run nmake.
So what is the next step to build ruby for MinGW?

Thanks in advance
yc

--
Posted via http://www.ruby-....

Nobuyoshi Nakada

7/13/2007 9:52:00 PM

0

Hi,

At Fri, 13 Jul 2007 21:16:20 +0900,
Yusuf Celik wrote in [ruby-talk:259294]:
> >> bcc32 support will be obsolete.
> >
> > May I ask the reason?
> So no reason, ok, fair enough.

* it doesn't support C89 standard (can't initialize aggregate
types with dynamic values).

* tools (named as make.exe, grep.exe confusingly) work quirkily
or curiously.

* the maintainer doesn't have enough time to keep the code up
to date.

--
Nobu Nakada

Chad Perrin

7/14/2007 6:28:00 AM

0

On Fri, Jul 13, 2007 at 09:16:20PM +0900, Yusuf Celik wrote:
> Yusuf Celik wrote:
> > Thanks for the reply.
> >
> > Nobuyoshi Nakada wrote:
> >> bcc32 support will be obsolete.
> >
> > May I ask the reason?
> So no reason, ok, fair enough.
>
> I have another question then
> Where can I get gcc compiler and how to use to build ruby.exe ?

You probably just needed to wait a little bit for the answer to come
through. I see that, since you posted this, someone posted an answer to
the previous question.

Some questions take longer than others to get answered. Some don't ever
get answered -- but it's usually a good idea to give it a day or two to
be sure. If not a day, at least longer than five hours in the early
morning. If only one or two people on the list know the answer to your
questions (like why bcc is becoming obsolete), and they don't check the
email account until evening, 6 AM is probably a little early to give up.

I hope I don't sound like a nag. . . .

--
CCD CopyWrite Chad Perrin [ http://ccd.ap... ]
MacUser, Nov. 1990: "There comes a time in the history of any project when
it becomes necessary to shoot the engineers and begin production."