Sponsored Content
Full Discussion: cc and gcc not found
Top Forums UNIX for Dummies Questions & Answers cc and gcc not found Post 64029 by asif iqbal on Saturday 26th of February 2005 04:47:54 AM
Old 02-26-2005
c compiler

I tried that nothing displayed. How can I be positive that a compiler is installed on my machine. Is it optional to have a c compiler when installing SCO OpenServer(TM)?



Quote:
Originally Posted by bhargav
try finding the location of 'cc' and 'gcc' and append the location to your PATH

find / -name "cc" 2>/dev/null
find / -name "gcc" 2>/dev/null

give you where cc and gcc exist.

thanks





export PATH=$PATH:locationofcc:locationofgcc
 

10 More Discussions You Might Find Interesting

1. Programming

Gcc

Dear all, Any body please guide, i require a C which will run in Linux environment. Its urgent please. warm regards, Senthil K (1 Reply)
Discussion started by: Senthil
1 Replies

2. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies

3. AIX

gcc with AIX 4.3

hi, i need to install a source code from an open source on AIX 4.3. but first i need to install gcc. is gcc going to screw up AIX 4.3? the box is doing heavy legacy stuff with engine and db2 on it. and over 200 users. any comment would be appreciated. thanks (9 Replies)
Discussion started by: itik
9 Replies

4. Solaris

Installing gcc - recieve error message gcc : cannot execute

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

5. UNIX for Dummies Questions & Answers

Help with gcc and g++

Hi, I have recently got a job in unix, now training is going on and we have been practicing on telnet, so to practice at home I have installed vmware(virtual machine) and planning to download ubuntu. So my doubt is that whether I can write c and cpp progs in vi editor and can I run them by default... (5 Replies)
Discussion started by: vishal.973s
5 Replies

6. UNIX for Dummies Questions & Answers

gcc man pages not found under Solaris 10

Hi friends, When I try to see the man pages of gcc, man gcc I see No manual entry for gcc. Could you help me please. I am running solaris 10 Thanks! (4 Replies)
Discussion started by: gabam
4 Replies

7. Programming

curses.h not found , gtk/gtk.h not found

i have downloaded <libncurses5-dev_5.7+20101128-1_i386.deb> and <ndk++-0.0.1alpha4.tar.bz2> which contains the header files curses.h and gtk/gtk.h .. i have also included them using .. #include "/home/ball/Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include/curses.h" ... (2 Replies)
Discussion started by: upvan111
2 Replies

8. Shell Programming and Scripting

If first pattern is found, look for second pattern. If second pattern not found, delete line

I had a spot of trouble coming up with a title, hopefully you'll understand once you read my problem... :) I have the output of an ldapsearch that looks like this: dn: cn=sam,ou=company,o=com uidNumber: 7174 gidNumber: 49563 homeDirectory: /home/sam loginshell: /bin/bash uid: sam... (2 Replies)
Discussion started by: samgoober
2 Replies

9. UNIX for Advanced & Expert Users

Compiling libcdio-paranoia, gcc found - C compiler doesnt work

Heyas I'm currently trying to make a fresh build from scratch/source of FFMPEG. This said, it brings quite a tail with it, so the use of a script was very obvious. Anyway, i'm currently stuck at named package. Lets ignore the tarball/download line, as the error is after. Commands... (0 Replies)
Discussion started by: sea
0 Replies

10. Programming

Help with gcc programming

I need a lot of help with c programming. I have the source code. Running configure, I got one error message about a missing library. I downloaded and successfully compiled it in another dir. Do I throw all the new files into my source dir and run configure again ? Thanks. (3 Replies)
Discussion started by: drew77
3 Replies
JV-SCAN(1)								GNU								JV-SCAN(1)

NAME
jv-scan - print information about Java source file SYNOPSIS
jv-scan [--complexity] [--encoding=name] [--print-main] [--list-class] [--list-filename] [--version] [--help] [-o file] inputfile... DESCRIPTION
The "jv-scan" program can be used to print information about a Java source file (.java file). OPTIONS
--complexity This prints a complexity measure, related to cyclomatic complexity, for each input file. --encoding=name This works like the corresponding gcj option. --print-main This prints the name of the class in this file containing a "main" method. --list-class This lists the names of all classes defined in the input files. --list-filename If "--list-class" is given, this option causes "jv-scan" to also print the name of the file in which each class was found. -o file Print output to the named file. --help Print help, then exit. --version Print version number, then exit. SEE ALSO
gcc(1), gcj(1), gcjh(1), gij(1), jcf-dump(1), gfdl(7), and the Info entries for gcj and gcc. COPYRIGHT
Copyright (C) 2001, 2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the Invariant Sections being ``GNU General Public License'', the Front- Cover texts being (a) (see below), and with the Back-Cover Texts being (b) (see below). A copy of the license is included in the man page gfdl(7). gcc-3.2.2 2003-02-25 JV-SCAN(1)
All times are GMT -4. The time now is 10:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy