# Re: ruby for SCO

**URL:** <https://www.ruby-forum.com/t/re-ruby-for-sco/80704>\
**Category:** Ruby\
**Created:** [December 30, 2006, 3:08am UTC](https://www.ruby-forum.com/t/re-ruby-for-sco/80704 "2006-12-30T03:08:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![OverdorfS\_Sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/bc79bd/32.png) [@OverdorfS\_Sam](https://www.ruby-forum.com/u/OverdorfS_Sam)\
**Post date:** [December 30, 2006, 3:08am UTC](https://www.ruby-forum.com/t/re-ruby-for-sco/80704/1 "2006-12-30T03:08:50Z")

</div>

Yes I have tried that.

The SCO libraries have some compatibility problems.

I Tried finding the “gcc” compiler and libraries but they were not  
current enough and had compilation error too.

So I’m kind of wondering if anyone has actually got 1.8.x running yet.

I looked at the [www.sco.com](http://www.sco.com) site and all I can find there is 1.6.7 which  
is too old.

Sam

---

<div class="post-metadata">

**Author:** ![OverdorfS\_Sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/bc79bd/32.png) [@OverdorfS\_Sam](https://www.ruby-forum.com/u/OverdorfS_Sam)\
**Post date:** [December 30, 2006, 5:20am UTC](https://www.ruby-forum.com/t/re-ruby-for-sco/80704/2 "2006-12-30T05:20:59Z")

</div>

Overdorf, Sam wrote:

> Yes I have tried that.
> 
> The SCO libraries have some compatibility problems.
> 
> I Tried finding the “gcc” compiler and libraries but they were not  
> current enough and had compilation error too.

Well, this WILL be a pain, but it sounds as if the only real  
alternative you have would be to download all the sources needed to  
compile a recent version of gcc, maybe 3.4.6. You will need many  
supporting source packages, like bintools. You can get gcc 3.4.6 source  
code by following the links at [GCC 3.4 Release Series - GNU Project](http://gcc.gnu.org/gcc-3.4/) . According  
to their web page they managed to build gcc on SCO OpenServer 5.0.6.  
YMMV (and probably will).

I assume you DO have some sort of vanilla SCO C compiler available,  
such as the cc command? Or maybe even c89 (less likely). I believe  
that’s all you should need (plus the supporting tools, which you will  
probably also have to compile) to build gcc from the C sources. I did  
build gcc myself a year or two ago.

If you have no working C compiler at all, well, that gets a bit tricky  
🙂

---

<div class="post-metadata">

**Author:** ![OverdorfS\_Sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/bc79bd/32.png) [@OverdorfS\_Sam](https://www.ruby-forum.com/u/OverdorfS_Sam)\
**Post date:** [January 2, 2007, 7:01pm UTC](https://www.ruby-forum.com/t/re-ruby-for-sco/80704/3 "2007-01-02T19:01:14Z")

</div>

Thanks for the suggestion.  
It sounds like I have my work cut out for me.  
Sam

---

<div class="post-metadata">

**Author:** ![OverdorfS\_Sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/bc79bd/32.png) [@OverdorfS\_Sam](https://www.ruby-forum.com/u/OverdorfS_Sam)\
**Post date:** [January 2, 2007, 7:47pm UTC](https://www.ruby-forum.com/t/re-ruby-for-sco/80704/4 "2007-01-02T19:47:29Z")

</div>

Overdorf, Sam wrote:

> that’s all you should need (plus the supporting tools, which you will  
> probably also have to compile) to build gcc from the C sources. I did  
> build gcc myself a year or two ago.
> 
> If you have no working C compiler at all, well, that gets a bit tricky  
> 🙂

I once did a full toolset build of GCC and friends on Tru64 UNIX – I  
can poke around and see if I still have the scripts. Essentially, IIRC  
the first thing you need to build is GNU make, then the core tools and  
bin tools, then gcc itself. Finally, you put the whole enchilada at the  
head of your PATH and build applications, like Ruby. The GNU “configure”  
program should be able to work things out for you unless SCO, in their  
infinite nastiness, has put things into their code to thwart you.

BTW my scripts also built Perl – do you need that too?

Ed (“There’s no business like SCO business”) Borasky

–  
M. Edward (Ed) Borasky, FBG, AB, PTA, PGS, MS, MNLP, NST, ACMC(P)  
[http://borasky-research.blogspot.com/](http://borasky-research.blogspot.com/)

If God had meant for carrots to be eaten cooked, He would have given  
rabbits fire.

---

<div class="post-metadata">

**Author:** ![OverdorfS\_Sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/bc79bd/32.png) [@OverdorfS\_Sam](https://www.ruby-forum.com/u/OverdorfS_Sam)\
**Post date:** [January 2, 2007, 8:09pm UTC](https://www.ruby-forum.com/t/re-ruby-for-sco/80704/5 "2007-01-02T20:09:35Z")

</div>

Don’t need perl SCO has a current version of that.  
I would appreciate taking a peek at your Tru64 stuff.  
Thanks,  
Sam
