Results 1 to 8 of 8

Thread: help please GCC3

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    90

    help please GCC3

    Those of you that have installed GCC3 without a problem could you please post what platform you are on and anything other than ./confgure and make that you had to type, the readme for gcc3 isnt very user friendly and so I ask for help.

  2. #2
    Hoihoi
    Guest
    just build it the normal way:
    sh configure --prefix=installpath
    make
    make install
    and update the PATH

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    275
    I use Mandrake 8.1 and used the RedHat rpms as I detailed in http://seq.sourceforge.net/showthrea...s=&threadid=52

    I used rpm -i --force for the rpms listed there. I also manually changed the /usr/bin/[gcc|g++] links, as I explained in that thread.

  4. #4
    Hoihoi
    Guest
    hmm, expect that you will have to reinstall your linux someday when you force rpms such like the standard compiler

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    90
    Originally posted by Hoihoi
    just build it the normal way:
    sh configure --prefix=installpath
    Could you please elaborate on the "normal way"
    i just cd dir
    ./confgure
    make
    make install

    that isnt working cause im having issues anything else i need to do ?

  6. #6
    Registered User
    Join Date
    Dec 2001
    Posts
    9

    Update the PATH

    just build it the normal way:
    sh configure --prefix=installpath
    make
    make install
    and update the PATH
    Can you please ellaborate what updating the PATH means?

    Thanks

  7. #7
    Registered User
    Join Date
    Dec 2001
    Posts
    9

    Update the PATH

    just build it the normal way:
    sh configure --prefix=installpath
    make
    make install
    and update the PATH
    Can you please ellaborate what updating the PATH means?

    Thanks

  8. #8
    Hoihoi
    Guest
    the PATH is a system variable where your system is seeking executable binaries/scriptts etc.
    it will start seeking from left to right in this variable. so since you didnt install gcc into /usr/local/bin, it will use this path form gcc.
    you can check that with 'type gcc'
    so to make it use gcc in your new gcc which is not in /usr/locL/bin, you need to make it seek in the new directory first:
    ie. export PATH=/usr/local/gcc3/bin:$PATH

    this will put the /usr/local/gcc3/bin on the very left side of the PATH variable and there it will seek first and use gcc.
    you can check that again with 'type gcc'

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On