Solved

Solaris 5.7 and application builder ?

Posted on 1998-11-21
2
323 Views
Last Modified: 2013-12-27
I never arrived to build a project with application builder(dtbuilder),because I'haven't a file called "ubcc" wich is ask by the "cc" file.
Where is it?
0
Comment
Question by:seb24
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Expert Comment

by:arthurd
ID: 2007979
You need to get a compiler.  Solaris does not include a compiler.  The best one available (free) is gcc.  Look at http://sunsite.unc.edu/pub/solaris/sparc/

It's from GNU.  Download the appropriate compiler, install, and then you should be ok.

Dave
0
 
LVL 2

Accepted Solution

by:
blowfish earned 100 total points
ID: 2007980
Solaris does not include a C compiler, so you will need to get one.  A good source of pre-compiled software packages, including gcc, ready to be loaded and run on Solaris can be found at http://sunfreeware.com.  Here are the steps you will need to follow to get and install the GNU C compiler:  

What you will find at sunfreeware.com is software that has been compiled and "packaged" Specifically for Solaris.  You will need to get and install gunzip first, as all of the packages are compressed using gzip.  Next, get the gcc compiler package, uncompress it and install it using the pkgadd command.  

Installation of these packages require that you have /opt or /usr/local.  I don't like to create new directories in /usr, so what I do is sym-link /usr/local to /opt like so;

    # ln -s /opt /usr/local

The following steps will get you throught the rest ...

1)  get gzip-1.2.4, saving it in /tmp

2)  add the package like so;

    #  cd /tmp;  pkgadd -d ./gzip-1.2.4

3)  get gcc-2.7.2.1.gz, save it in /tmp

4)  uncompress it, and add the package like so;

    #  cd /tmp;  gunzip ./gcc-2.7.2.1.gz;  pkgadd -d ./gcc-2.7.2.1

5)  Prior to using gcc, you must build a locally-modified copy of most of the Sun provided C-header files.  You will do this using a script provided with the gcc package;

    #  cd /opt/GCC2721/bin; ./just-fixinc

To use the compiler, add /opt/GCC2721/bin and /usr/ccs/bin to your PATH.  To check the installation, type "gcc -v".  

Note that to complete the installation successfully, you will have to have installed the developer tools (prior to running just-fixinc).  If you have problems with your header files, I suggest that you post another question.  

Cheers,

--frankf

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question