Sponsored Content
Operating Systems Solaris Cannot run installed GNU compiler, Solaris 10 Post 302448902 by jlliagre on Friday 27th of August 2010 10:49:28 AM
Old 08-27-2010
Quote:
Originally Posted by brb
Am new to Solaris OS and need to install the GNU cpp compiler. Followed the instructions from Sunfreeware for installing the gcc compiler and it looks as if it correctly installed but i cannot run it from the command window.
Installing gcc from SunFreeware was probably unnecessary as Solaris 10 already bundles gcc.

Unless you have a stripped off installation, adding /usr/sfw/bin to your PATH is sufficient.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Just installed Solaris 8 but....

Hello again, Well i went ahead with my solaris installation tonight (on my pc) and it all appeared to work ok. Unfortunately, i am unable to use the system yet because it gives me this horrible message straight after it boots up: "The X-server can not be started on display :0..." It... (4 Replies)
Discussion started by: timresh
4 Replies

2. Shell Programming and Scripting

How to run an application installed in another unix pc?

Do you guys have any suggestions? hpterm -e rlogin <another unix pc> ??? (1 Reply)
Discussion started by: jehrome_rando
1 Replies

3. Solaris

Help needed on non GNU compiler

Hi All, I would require to retrieve the complete list of system include paths for a non gnu compiler(For a GNU compiler like gcc this can be retrieved by using a -v option). Please let me know if you are aware of any method to retrieve this for a non GNU compiler(eg: Sun Studio 11 tool... (1 Reply)
Discussion started by: Pankajakshan
1 Replies

4. Programming

how to run D compiler

i want to use the d compiler (such as gdc-4.1, but i'll take any other one too) to compile a package that some one else made (in this case it's this one: projectL ). i don't know how to compile it though. there's two subdirectories with .d files but none of these compiles on its own. in the top... (0 Replies)
Discussion started by: prjctl
0 Replies

5. Programming

A question about Makefile run by GNU make

Hello everybody, Currently I'm learning how to build projects (C programming) with GNU make. I have a problem with one Makefile and I would appreciate if you could kindly give me a hand. Here is the environment: OS: Redhat linux 5 compiler: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)... (2 Replies)
Discussion started by: dariyoosh
2 Replies

6. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

7. UNIX for Dummies Questions & Answers

Is GNU sed installed?

Hi there, I'm new to UNIX and have the following question: At work a Solaris Unix system is used. I'm not sure if they have gnu sed installed so I tried using the command "sed -r" and got the error: "Illegal option --r" Does this mean that gnu sed is definitely not installed on the system... (8 Replies)
Discussion started by: js8765
8 Replies

8. Linux

How to run User-mode Linux installed with synaptic package manager in Ubuntu 10.10

I have installed user-mode linux kernel in Ubuntu 10.10 with the help of Synaptic package manager. But I'm not getting how to run it. If we install it manually, we've to run it using the executable binary file. But here, I'm unable to locate any such file. Please help.... Thanking You.... ... (0 Replies)
Discussion started by: rohitadeshmukh1
0 Replies

9. UNIX for Advanced & Expert Users

GNU C Compiler

Hi Frds, I am new to unix forums. With lot of hope, i'm posting this thread. I want to understand GCC functionality(from commandline parsing to Assembly code generatio). i have relavant source code with me. But i felt little bit difficulty in understanding / reading each line of code. Is... (5 Replies)
Discussion started by: muthu_u
5 Replies
MKDEP(1)						    BSD General Commands Manual 						  MKDEP(1)

NAME
mkdep -- construct Makefile dependency list SYNOPSIS
mkdep [-ap] [-f file] [flags] file ... DESCRIPTION
The mkdep utility takes a set of flags for the C compiler and a list of C source files as arguments and constructs a set of include file dependencies which are written into the file ``.depend''. An example of its use in a Makefile might be: CFLAGS= -O -I../include SRCS= file1.c file2.c depend: mkdep ${CFLAGS} ${SRCS} where the macro SRCS is the list of C source files and the macro CFLAGS is the list of flags for the C compiler. The user has the ability to change the preprocessor and preprocessor options used. For instance, to use gcc as the preprocessor and to ignore system headers, one would use depend: env MKDEP_CPP="gcc -E" MKDEP_CPP_OPTS=-MM mkdep ${CFLAGS} ${SRCS} The options are as follows: -a Append to the output file, so that multiple mkdep's may be run from a single Makefile. -f Write the include file dependencies to file, instead of the default ``.depend''. -p Cause mkdep to produce dependencies of the form: program: program.c so that subsequent makes will produce program directly from its C module rather than using an intermediate .o module. This is useful for programs whose source is contained in a single module. ENVIRONMENT
CC Specifies the C compiler to use. The specified compiler is expected to have options consistent with the GNU C compiler. MKDEP_CPP Specifies the preprocessor to use. The default is "${CC} -E". MKDEP_CPP_OPTS Specifies the non-CFLAGS options for the preprocessor. The default is "-M". FILES
.depend File containing list of dependencies. SEE ALSO
cc(1), cpp(1), make(1) HISTORY
The mkdep command appeared in 4.3BSD-Tahoe. BSD
June 6, 1993 BSD
All times are GMT -4. The time now is 05:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy