Sponsored Content
Operating Systems Linux SuSE How can I build gcc (gettng 'cc' error)? Post 99537 by thmnetwork on Saturday 18th of February 2006 03:00:45 PM
Old 02-18-2006
well first off,unix/linux systems don't generally rely too heavily on file extensions, so the binary for cc would just be called "cc" which itself is usually a symbolc link to an actual binary called "gcc"

Desktop enviroments sometimes use extensions to choose like what kind of icon to display when the content is similar (like when the file is ASCII text it could be a python script, perl script, or a research paper) so very rarely will actual file extensions be sued,a nd even then, usually for other reasons (like ".d" is usually used for directories just in case your terminal doesn't support colors)

that being said, I don't use SuSE that often, I'm more of a gentoo or RH/Fedora man, but I believe YaST is the SuSE setup tool, and if you go in there, you should see where to install the binaries for the compiler.

If there's something wrong with the exact version of the CC (which I doubt if you're new and that's usually an issue when you get to using advanced stuff) then you might be able to locate the RPM (binary installation package) for the version you're needing.

the reason I'm suggesting other things is cause compiling gcc from scratch is kind of a bold move, and it requires a knowledge of how the build process goes and what specifically the gcc build package will assume about your system, terminal, etc and so it's more or less just done A) in a last ditch effort to get a program to compile a feature not available except in a new/unsupported version of gcc, B) you're building your own distro or C) are debugging gcc for submitting fixes to the developers

I think option A is more likely, but I doubt any of the three apply and you should use the binaries that came on the CD's you used to install, as those package have been tested to work well at least in their binary form on the system you're using.

</long-winded-explanation>
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Error in gcc

Hi:- I am new for Unix and wants to install gcc compiler on my Linux system. I donwload the file and tried to install it but getting following messaged, # ./configure Configuring for a i686-pc-linux-gnuoldld host. Created "Makefile" in /home/gcc-3.0.1 using "mt-frag" ./configure: cc: command... (6 Replies)
Discussion started by: s_aamir
6 Replies

2. Linux

gcc install error

I download a gcc3.0.tar.gz file ,then tar it. Continue,I change current path to gcc3.0 and press ./configure The error appeared ,it is CC command not found . Please tell me What can I do to pass on. (1 Reply)
Discussion started by: fansings
1 Replies

3. Solaris

build error

dears i working in solaris and when i type make for report it gives me the error kindly can you help me what is the reason -bash-3.00$ make BPSEXT130 make: Warning: File `BPSEXT130.rc' has modification time 12 s in the future make BPSEXT130.c make: Entering directory... (3 Replies)
Discussion started by: murad.jaber
3 Replies

4. UNIX for Dummies Questions & Answers

gcc-3.4.4 build on solaris 10 failing please help

I am building gcc-3.4.4 on sol-10 and getting the following error. my configure is going well but failing in the build stage *** checking for windres... windres checking whether to enable maintainer-specific portions of Makefiles... no updating cache ./config.cache creating... (0 Replies)
Discussion started by: mobydick
0 Replies

5. UNIX for Advanced & Expert Users

Build and install GCC-3.2.3

Hi, I have problem to build the gcc-3.2.3. I downloaded the source code. Here is what I did. 1) cd /usr/local/src 2) tar zxf gcc-3.2.3.tar.gz 3) cd .. 4) mkdir gcc-3.2.3 5) cd gcc-3.2.3 6) ../src/gcc-3.2.3/configure --prefix=/usr/local/gcc-3.2.3/ 7) make And I received the below... (2 Replies)
Discussion started by: beeloo
2 Replies

6. 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

7. UNIX for Dummies Questions & Answers

Build Error: error: dereferencing pointer to incomplete type

I'm getting the following Error: prepare_pcap.c: In function `prepare_pkts': prepare_pcap.c:127: error: dereferencing pointer to incomplete type prepare_pcap.c:138: error: dereferencing pointer to incomplete type ==================================== This is the part of the relevant... (8 Replies)
Discussion started by: katwala
8 Replies

8. UNIX for Advanced & Expert Users

GCC 4 error.

Hello, dont know much about C, or gcc, but I am trying to compile a program that built fine in gcc3, but is outputting errors in gcc4, int load_REs(char *, char ); #this line is causing the error DB_Query.h:22: error: array type has incomplete element type any help would be appreciated. (3 Replies)
Discussion started by: mike171562
3 Replies

9. Programming

Build Error

I am facing a problem while building the device driver code. I am using suse linux "2.6.31.5-0.1-desktop" on my Laptop. I have copied a folder containing self written device driver files from Mandriva linux to my system having Suse Linux. I copied the entire folder in "/home/netuser/sun/".... (4 Replies)
Discussion started by: rupeshkp728
4 Replies

10. UNIX for Dummies Questions & Answers

Adding SDK Build on Kernel Source Build

Hi, So I downloaded this kernel source and was able to build it successfully. But I want to add this SDK source code inside, can anyone help me how to do this? Note that the SDK source can be built by itself. I added the SDK in the main Makefile: init-y := init/ #added SDK... (0 Replies)
Discussion started by: h0ujun
0 Replies
atscc(1)						      General Commands Manual							  atscc(1)

NAME
atscc - ATS compiler frontend SYNOPSIS
atscc [options] files... DESCRIPTION
atscc is a frontend to the atsopt Anairiats compiler for the ATS language. OPTIONS
atscc has a command-line option syntax in the style of gcc and accepts all the same options, many of them being passed directly to the gcc backend. Here are summarized the non-gcc options. -cc, --compile Only compile the given ATS source files into C files. -D_ATS_GCATS Enable the garbage collector in the generated executable. -IATS <path> Add a path to search for ATS files when doing static and dynamic loads. -tc, --typecheck Typecheck the given ATS source files, but go no further. --version Show ATS/Anairiats version and gcc version. EXAMPLES
atscc -o test -O3 test.dats Compile test.dats to an executable named test. Tell gcc to use the third level of optimization. atscc -tc test.dats Typecheck test.dats only. atscc -o test.o -c test.dats Compile test.dats to an object file named test.o. SEE ALSO
atsopt(1), atslex(1), These programs are documented fully by The ATS/Anairiats user's manual available via the web at http://www.ats-lang.org/ AUTHOR
atscc was written by Hongwei Xi. This manual page was written by Matthew Danish <mrd@debian.org>, for the Debian project (and may be used by others). February 22, 2010 atscc(1)
All times are GMT -4. The time now is 10:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy