LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-21-2001, 05:38 AM   #1
ca9mbu
LQ Newbie
 
Registered: Nov 2001
Location: Sunderland, UK
Distribution: Mandrake 8.1
Posts: 21

Rep: Reputation: 15
Installing / configuring GCC


I'm trying to install GCC 3.0.2 on a Mandrake Linux install. I managed to install it and doing a 'gcc -v' showed 3.0.1. I realised this was due to aliases pointing to the mandrake installed version (which is installed somewhere different than where the default GCC install puts it). I therefore removed gcc 3.0.1 using mandrakes software manager stuff. So now doing a 'gcc -v' shows 3.0.2 and a 'which gcc' shows '/usr/local/bin/gcc'.

Now the questions:

1) Where should GCC ideally be located - I'm trying to get a completely FHS compliant system setup.

2) Which libraries do I need - I've assumed glibc and libstdc++ are installed by default - if so where?

3) Where should these libraries be placed in order to a) compile anything without needing additional parameters passed to the command line and b) In order to maintain my FHS compliance?

Thanks very much for any help you can provide

Matt
 
  


Reply



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
configuring gcc from source spooodini Linux - Software 4 10-20-2010 04:14 PM
okok how about configuring the gcc Quiber SUSE / openSUSE 2 10-20-2010 01:09 PM
Problems configuring Slackware, xf86config, vi, gcc rphook Slackware 6 11-01-2004 10:12 PM
Error configuring GCC, First Pass lloyd_smart Linux From Scratch 8 10-29-2004 11:45 AM
error while configuring gcc-3.3.3 (pass1) alext_29 Linux From Scratch 4 09-28-2004 11:48 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:19 PM.

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
Open Source Consulting | Domain Registration