APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

OSR5 FAQ


Some material is very old and may be incorrect today

© December 2003 (various)

This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

I installed gcc from Skunkware, but it doesn't work (Old Sco Unix).

You need some libraries, header files and some other things that do not get installed by default.

To install these, insert your original OS CDROM, run custom, choose Install New and install the "SCO OpenServer Linker and Application Development Libraries" - note that these are NOT part of the Development System or Enterprise choices; you don't have to expand any packages, this is right at the top level. The instructions at the Skunkware site can throw you off because they tell you to look for "Application Development Libraries and Linker", which is not what is says on the CD's.

SCO Unix had two compiler options. The first as their "native" compiler, which required a purchased license.

At some point they put gcc into Skunkware and you could avoid the purchasing of a license by using that. You did still need the SCO specific header files, but they let you have those freely.

Some folks had both and of course make files might be aimed at one or the other. You *might* be able to fix that as simply as editing the 'Makefile' and changing 'CC' settings to CC=gcc, but there could be more than that required.

If there is a $CC macro in the makefile, you might override it with:

$ make CC=/usr/local/bin/gcc
 

Yo may also be interested in GCC Compiler Tips.


If you found something useful today, please consider a small donation.



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> (SCO Unix) I installed gcc from Skunkware, but it doesn't work.


Inexpensive and informative Apple related e-books:

iOS 8: A Take Control Crash Course

Digital Sharing Crash Course

Take Control of Apple Mail, Third Edition

Take Control of the Mac Command Line with Terminal, Second Edition

Photos: A Take Control Crash Course






Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





After growing wildly for years, the field of computing appears to be reaching its infancy. (John Pierce)




Linux posts

Troubleshooting posts


This post tagged:

Compiler

FAQ

SCO_OSR5



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode