LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Installing / configuring GCC (https://www.linuxquestions.org/questions/programming-9/installing-configuring-gcc-9014/)

ca9mbu 11-21-2001 05:38 AM

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


All times are GMT -5. The time now is 05:37 AM.