LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   will gcc delete other gcc? (https://www.linuxquestions.org/questions/linux-software-2/will-gcc-delete-other-gcc-142251/)

shanenin 02-04-2004 01:02 PM

will gcc delete other gcc?
 
What would happen if I installed an older verion of gcc, without any special configure options. Would it install on top of(delete) any current version of gcc?

jtshaw 02-04-2004 01:23 PM

I believe by default it'll put itself in /usr/gnu-<machine>/gnu-bin/<version-number> so it shouldn't delete the old version, but it might delete thing symbolic links to /usr/gnu-<machine>/bin or something. Is there a specific reason you need to get an older version?

shanenin 02-04-2004 02:04 PM

I was just trying to sort some stuff out. I noticed I have a bianary in both /usr/bin and /usr/i686-pc-linux-gnu/gcc-bin/3.2 called gcc, when I compile somthing which one is used?

jtshaw 02-04-2004 02:08 PM

Probably the one in /usr/bin. Is the other directory even in your path? BTW, if you use portage to install another GCC it will overwrite the one you have, just so you know.

shanenin 02-04-2004 02:25 PM

thanks for all of your input.


All times are GMT -5. The time now is 09:35 PM.