09-05-2011
No cc/gcc installed on SunOS 5.10
Hi All: this work machine has no gcc installed, the only cc is located at: /usr/ucb/cc but this does not do a make, I get error:
"/usr/ucb/cc: language optional software package not installed".
Meaning cc is not fully installed, correct?
I do not want to get root/sysadmin involved on this.
Question is: Can I download a local cc/gcc copy and install it locally under my home? If so, can I point it to /usr/include? (I checked and we do have that installed) Also keep in mind, I am doing a Pro*c code, and the "proc" in oracle, nicely converts the PC to C already, which means I will need to include the <sqlca.h> and I checked and we have that at: /usr/include/pgsql/sqlca.h
So will a local copy be able to include all that and compile my code.
Right now I am installing Solaris 10 (I hope exact same as sunos 5.10 on my home machine) and will compile there and x-fer back to work the result and hoping the generated binary can run fine on it..but as you can imagine this is a looong task, former is a lot faster and easier.
Thanks
Steve
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am loging into a SunOS 5.8 box for the first time.
I do not see a .profile file in the home directory. Also on the command line when I type a backspace to correct my typing I get a ^H character. Where and how can I fix this?
Thanks in advance (5 Replies)
Discussion started by: jxh461
5 Replies
2. UNIX for Advanced & Expert Users
I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies
3. UNIX for Dummies Questions & Answers
I just installed SUSE Linux 10.0 on my computer but when I typed " emacs & " and " gcc -c main.c" in the terminal, those programs couldn't be found. So the Linux install package does not install those programs by default? (2 Replies)
Discussion started by: whutes
2 Replies
4. Solaris
Hey all,
I've got my hands on 10 SunOS 5.6 SPARCStation 20 machines and I'm looking to get them up and running. They're all in various states of disrepair but I've got them all to a state where the hardware is working and the machine will at least attempt to boot.
I've only used Solaris as a... (1 Reply)
Discussion started by: kevpatts
1 Replies
5. Solaris
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies
6. Solaris
Hi,
I am bulding a path to open files like this \path\values\file.xxx This path is opened in an IE browser window and opens the file/document I am trying to see. I mean it opens a pdf document or it promps you to "save" or "open" the specific file (if it's a .xml, .doc, .html).
I was using... (1 Reply)
Discussion started by: hcibl_javok
1 Replies
7. Solaris
I'm trying to build some python modules on a Solaris 10 machine. It has gcc as /usr/sfw/bin/gcc.
# CC=gcc python setup.py build
running build
running build_py
running build_ext
cc -c actread.c -o actread.o
unable to execute cc: No such file or directory
error: command 'cc' failed with exit... (8 Replies)
Discussion started by: aussieos
8 Replies
8. AIX
Hello everyone:
I've installed an OS patch into AIX 6.1 by running the following command:
instfix -d /tmp/6100-02-03 -k "IZ41855"
however it seem not installed
instfix -i -k "IZ41855"
There was no data for IZ41855 in the fix database.
what am I doing wrong? (8 Replies)
Discussion started by: edgarvm
8 Replies
9. Red Hat
Hey there,
i run 1: on my server (RHEL 6) and getting response that the libodbc is not installed. If i use yum for installation, it tells me, there is no package like this ( 2: ). Since in the description of Definiens is mentioned that the Run-time dependency is unixODBC (libodbc.so.1), I assume... (2 Replies)
Discussion started by: rkirsten
2 Replies
10. UNIX for Beginners Questions & Answers
Hello Forum,
I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so:
APP=application --version
But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies
ld(1B) SunOS/BSD Compatibility Package Commands ld(1B)
NAME
ld - link editor, dynamic link editor
SYNOPSIS
/usr/ucb/ld [options]
DESCRIPTION
/usr/ucb/ld is the link editor for the BSD Compatibility Package. /usr/ucb/ld is identical to /usr/ccs/bin/ld (see ld(1)) except that BSD
libraries and routines are included before the base libraries and routines.
OPTIONS
/usr/ucb/ld accepts the same options as /usr/ccs/bin/ld, with the following exceptions:
-Ldir Add dir to the list of directories searched for libraries by /usr/ccs/bin/ld. Directories specified with this option are
searched before /usr/ucblib and /usr/lib.
-Y LU,dir Change the default directory used for finding libraries. Warning: This option may have unexpected results, and should not
be used.
FILES
/usr/lib
/usr/lib/libx.a
/usr/ucblib
/usr/ucblib/libx.a
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
ar(1), as(1), cc(1B), ld(1), lorder(1), strip(1), tsort(1), attributes(5)
SunOS 5.10 14 Sep 1992 ld(1B)