LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-10-2002, 02:45 PM   #1
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
compiler questions


i've been working on some software that required that i try to compile programs rather than relying on rpms. i've been running into errors and have so little understanding of the issues that i can't even formulate an intelligent question. can anyone point me to a website or short book that will explain the basics to me?

Extra points if you can explain to me the relationship between these references to compilers below (i've been getting dependency issues and have had a hard time sorting through them).

*GCC 2.7 (this is what i need to compile apache but my glibc is only 2.2 -- is this a problem?)
*GNU Compiler
*g++/ C++ compiler
*Glibc -
*ACS C++ state engine and IVR components
*libc.so.6
 
Old 09-10-2002, 03:10 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
Re: compiler questions

Quote:
Originally posted by rioguia
i've been working on some software that required that i try to compile programs rather than relying on rpms. i've been running into errors and have so little understanding of the issues that i can't even formulate an intelligent question. can anyone point me to a website or short book that will explain the basics to me?
Usually it's because you don't have all neded libraries installed. Post an example error, this will allow people here to help you.
Quote:
*GCC 2.7 (this is what i need to compile apache but my glibc is only 2.2 -- is this a problem?)
GCC is a GNU C Compiler. It'a a program you need to compile other programs. Of course, there are more compilers, but gcc is the most popular one in Linux.
Quote:
*GNU Compiler
*g++/ C++ compiler
Look above. GCC can compile not only C, there's also G++ included (C++ compiler). All is in one package (sometimes in distros it gets divided).
Quote:
*Glibc -
A library. Very popular. Included in all distros.
Quote:
*ACS C++ state engine and IVR components
I'm not sure. Can anyone help?
Quote:
*libc.so.6
A library. Basic system library. Can be found in /lib directory of your system (usually it's a symlink to libc-x.x.x.so file).
 
Old 09-12-2002, 12:04 PM   #3
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,546

Rep: Reputation: 136Reputation: 136
you can check your version of gcc with
'gcc -v'
but it is very likely newer than 2.7
cheers, jens
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 04:31 AM
No compiler to compiler the compliler NewtonIX Linux - Newbie 13 11-03-2003 05:32 AM
some compiler /language questions chiatello Programming 3 07-14-2003 06:56 PM
compile a compiler without a compiler? lackluster Linux - General 18 01-02-2003 07:55 PM


All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration