08-16-2007
i would look at "./configure -help" what your configure-files are looking for, most of them, if you haven't installed gcc, are looking for $CC, so perhabs a "export CC=/opt/SUNWspro/bin/cc" is enough....
(not sure if the path is still valid with SS12, i am using studio11 here)
regards
PRESSY
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I notice that (Mandrake) Linux and Windows do not seem to operate alike in terms of installing third party software.
Windows, on one hand, creates icons and adds items to the Start Menu, with the help of the InstallShield--or equivalent, of course, but Linux, on the other hand, seems to care... (3 Replies)
Discussion started by: helvetica
3 Replies
2. Programming
Hi everyone,
If you have a few c programs to compile, from a make file, how can you tell which program is compiled first. Descriptively, you may have:
objects = main.o xyz.o 123.o abc.o
target : $(objects)
$(CC) -o $@ $(objects)
Does this mean program xyz is called within main,... (1 Reply)
Discussion started by: rachael
1 Replies
3. Programming
hi
I want to write a tsr routine which use to replace the screen saver
program, is it possible in unix? how to write a tsr in UNIX?
what is address of screen saver program so that i can replace
my routine in that address. (6 Replies)
Discussion started by: rajashekaran
6 Replies
4. Shell Programming and Scripting
Preface: this is not a homework question. However, my teacher gave us a review packet with some C coding, and for some reason none of the C programs are compiling. First I compiled them from the shell, then I used a compiler to see if something was wrong with compiling from a shell. Both produced... (1 Reply)
Discussion started by: lazypeterson
1 Replies
5. UNIX for Dummies Questions & Answers
Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies
6. UNIX for Advanced & Expert Users
How can you check the programs that you use most often? (6 Replies)
Discussion started by: cokedude
6 Replies
7. Shell Programming and Scripting
I have installed a software called GMT, then writing a script that call the new programs
./example02.sh
but I am getting
./example02.sh: line 20: gmtset: command not found
I have done
./configure
make
make install (0 Replies)
Discussion started by: kristinu
0 Replies
8. Shell Programming and Scripting
I have installed a program and put the stuff on
/usr/local/
However when I run a script it gives an error
GMT Fatal Error: /home/chrisd/Dimech/GMT4.5.2/share/PS_font_info.d: No such file or directory (1 Reply)
Discussion started by: kristinu
1 Replies
9. Shell Programming and Scripting
Hi does anyone know some good shell scripting programs, like visual studio for C++/C#? (8 Replies)
Discussion started by: Mack1982
8 Replies
10. UNIX for Dummies Questions & Answers
Hey guys,
Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries.
However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies
lint(1B) SunOS/BSD Compatibility Package Commands lint(1B)
NAME
lint - C program verifier
SYNOPSIS
/usr/ucb/lint [options]
DESCRIPTION
/usr/ucb/lint is the interface to the BSD Compatibility Package C program verifier. It is a script that looks for the link
/usr/ccs/bin/ucblint to the C program verifier. /usr/ccs/bin/ucblint is available only with the SPROcc package, whose default location is
/opt/SUNWspro. /usr/ucb/lint is identical to /usr/ccs/bin/ucblint, except that BSD headers are used and BSD libraries are linked before
base libraries. The /opt/SUNWspro/man/man1/lint.1 man page is available only with the SPROcc package.
OPTIONS
/usr/ucb/lint accepts the same options as /usr/ccs/bin/ucblint, with the following exceptions:
-Idir Search dir for included files whose names do not begin with a slash (/) prior to searching the usual directories. The
directories for multiple -I options are searched in the order specified. The preprocessor first searches for #include files
in the directory containing sourcefile, and then in directories named with -I options (if any), then /usr/ucbinclude, and
finally, in /usr/include.
-Ldir Add dir to the list of directories searched for libraries by /usr/ccs/bin/ucblint. This option is passed to
/usr/ccs/bin/ld. Directories specified with this option are searched before /usr/ucblib and /usr/lib.
-Y P, dir Change the default directory used for finding libraries.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
/usr/lint/bin/ld link editor
/usr/lib/libc C library
/usr/ucbinclude BSD Compatibility directory for header files
/usr/ucblib BSD Compatibility directory for libraries
/usr/ucblib/libucb BSD Compatibility C library
/usr/lib/libsocket library containing socket routines
/usr/lib/libnsl library containing network functions
/usr/lib/libelf library containing routines to process ELF object files
/usr/lib/libaio library containing asynchronous I/O routines
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
ld(1), a.out(4), attributes(5)
SunOS 5.10 1 Feb 1995 lint(1B)