[gentoo-user] gcc 4 and 3.4 in parallel

2005-06-27 Thread Philip Lawatsch
Hi, I'd like to use gcc 4 to compile some of my own software but still use 3.4 for everything else (all ebuilds etc). Now I simply emerged gcc4 (its slotted) and then as my user I did export the variables a gcc-config -E x86_64-pc-linux-gnu-4.0.1-pre20050616 printed out. This way I

Re: [gentoo-user] gcc 4 and 3.4 in parallel

2005-06-27 Thread Hans-Werner Hilse
Hi, On Mon, 27 Jun 2005 19:01:01 +0200 Philip Lawatsch [EMAIL PROTECTED] wrote: Now I simply emerged gcc4 (its slotted) and then as my user I did export the variables a gcc-config -E x86_64-pc-linux-gnu-4.0.1-pre20050616 printed out. This way I successfully compiled and linked my

Re: [gentoo-user] gcc 4 and 3.4 in parallel

2005-06-27 Thread Richard Fish
Philip Lawatsch wrote: So my querstion now is what else gets changed by gcc-config, and is there a chance to have the 3.4 gcc profile selected but still run programs compiled with gcc 4? I haven't verified this (try switching configs back and forth to verify), but I believe the problem is in

Re: [gentoo-user] gcc 4 and 3.4 in parallel

2005-06-27 Thread Richard Fish
Luigi Pinna wrote: Have you run the script fix_libtool_files.sh? After a gcc emerge (if it removes an old version) you must use always the command: No, this is only to fix _building_ programs that use libtool, not for run-time dynamic linking issues. -Richard -- gentoo-user@gentoo.org

Re: [gentoo-user] gcc 4 and 3.4 in parallel

2005-06-27 Thread Philip Lawatsch
Richard Fish wrote: Philip Lawatsch wrote: So my querstion now is what else gets changed by gcc-config, and is there a chance to have the 3.4 gcc profile selected but still run programs compiled with gcc 4? I haven't verified this (try switching configs back and forth to verify), but