Re: Multiple versions of gcc installed

From: Mark Ferlatte (ferlatte_at_cryptio.net)
Date: 10/06/04

  • Next message: Lourens Steenkamp: "Re: Vsftpd starting-help!"
    Date: Wed, 6 Oct 2004 10:51:43 -0700
    To: debian-user@lists.debian.org
    
    
    

    Brendan Simon said on Wed, Oct 06, 2004 at 11:11:49PM +1000:
    > Ritesh Raj Sarraf wrote:
    > Unfortunately this is not practicle on a multi user machine where
    > different users may want to use different versions of the compiler.
    > gcc is designed to have multiple versions installed and be able to call
    > it from the common driver program, usually the driver of the latest version.
    > The real solution is to fix the build and/or filesystem to behave as gcc
    > designers and architects intended.

    While this may be true, if you want to use multiple compiler versions at the
    same time under Debian, you can, by referring to gcc-2.95 or gcc-3.3 where you
    would otherwise refer to gcc. Many Makefiles read the compiler to use out of
    the CC and CXX environment variables, so this is not nearly as painful as you
    seem to think it is.

    I maintain a multi-user environment where we use both gcc-2.95 and gcc-3.4, and
    it works fine.

    M

    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Lourens Steenkamp: "Re: Vsftpd starting-help!"

    Relevant Pages

    • Re: Whats the story with the "end of XP"?
      ... Support gives them access to the larger body ... The same compiler suite may be "best" in both ... In the case of ByteCraft compilers, you are truly expert in your field, you work closely and rapidly with customers if there are any issues, and you have top class testing and quality control. ... understanding the inner workings of a relatively simple compiler like GCC ...
      (comp.arch.embedded)
    • [RFC][PATCH-2.6] Clean up and merge compiler-*.h
      ... the kernel headers in include/linux to include/linux-abi. ... * Common definitions for all gcc versions go here. ... -/* Some compiler specific definitions are overwritten here ...
      (Linux-Kernel)
    • Re: LPC900/80C51 Compiler Toolchain
      ... >> supported by GCC, and so they invest. ... > if they already have their in-house compiler. ... one of the main companies in the Symbian consortium ... vendor to provide a good compiler for Atmel AVRs and eventually became ...
      (comp.arch.embedded)
    • Newbie packages question
      ... checking for gcc... ... checking for C compiler default output file name... ... checking if the linker is GNU ld... ... checking how to recognise dependent libraries... ...
      (Debian-User)
    • Lib X11 compile problem /Xlib.h:3573: error: syntax error before "_X_SENTINEL"
      ... checking for gcc... ... checking for C compiler default output file name... ... checking how to recognise dependent libraries... ...
      (comp.os.linux.x)