BCC32 under win environment

Z

Zach Dennis

Has anyone compiled ruby with bcc32 under a windows environment( preferably
win2000 ) successfully?

I'm having troubles.

Zach

-----Original Message-----
From: Ian Macdonald [mailto:[email protected]]
Sent: Thursday, November 13, 2003 5:29 AM
To: ruby-talk ML
Subject: Re: problems with rb_str_split()


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I> Try running it with warnings enabled (-w):

With -v warning are enabled

I> [ianmacd@jiskefet]$ ruby -raa -wve 1
I> ruby 1.8.0 (2003-08-04) [i686-linux-gnu]

nasun% ruby -raa -wve 1
ruby 1.8.1 (2003-10-31) [sparc-solaris2.8]
./aa.so: warning: found abc
./aa.so: warning: found def
-e:1: warning: useless use of a literal in void context
nasun%

So, it was just a bug in 1.8.0? Unfortunately, that's still the latest
official version, so I'm stuck with the issue at work for the time
being.

Thanks for your reply.

Ian
--
Ian Macdonald | Fifth Law of Procrastination:
System Administrator | Procrastination avoids boredom; one never
(e-mail address removed) | has the feeling that there is nothing
http://www.caliban.org | important to do.
|
 
M

Mark Smith

Zach said:
Has anyone compiled ruby with bcc32 under a windows environment( preferably
win2000 ) successfully?

I'm having troubles.

Zach,

I compiled it with no trouble by following the steps in readme.bcc32 in
the bcc32 folder--both under Win2K and WinXP. Start a console. Be sure
you are in the "Ruby-1.8.1" directory. Then, set your path to include
both bin & the lib of bcc
(path=%path%;c:\borland\bcc55\bin;c:\borland\bcc55\bib) and just follow
the remaining steps.

It worked, and I was able to run basic Ruby programs successfully.
However, what keeps me using Andy's Win32 install is all the little
extras! Even though I can compile with bcc, I have no clue how to
compile all the great *.so file (like Oracle) that make Ruby such a
valuable tool for me.

Also, there's a unique item with bcc32. When you read a file, you must
be sure to include the binary flag "b" or you'll have trouble with
stripping characters--IIRC, lone CR's in mac files on my Win box.

(Now, if I only had a 4D plug-in to run Ruby in that environment!)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Error in REXML 2
ruby-dev summary 21730-21822 0

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top