Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 11-21-2001, 05:38 AM   #1
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



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

All times are GMT -5. The time now is 03:56 AM.

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