Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c1841a79e06737d978ca6278d4f9c67f1b42a622
Ticket: 696854ffffffffffffffffffffffffffffffffff
stop defaulting to GCC compiler
User & Date: mdejong on 2003-04-24 02:52:06
Changes

  1. icomment:
    Logged In: YES 
    user_id=90858
    
    There are a couple of options here:
    
    For 8.4 and earlier
    export CC=cc
    .../configure ...
    
    For the CVS HEAD.
    .../configure CC=cc
    
    Both should work just fine.
    
    The unix README for Tcl already states:
    
        Note: by default gcc will be used if it can be located
    on the PATH.
        if you want to use cc instead of gcc, set the CC
    environment variable
        to "cc" before running configure. It is not safe to edit the
        Makefile to use gcc after configure is run. Also note that
        you should use the same compiler when building extensions.
    
    
    At this point, I just don't see any reason to choose gcc
    over cc for every system. If someone can come up with
    some tests that gcc fails, I can add them to the configure
    script.
    
    
    
  2. login: "mdejong"
  3. mimetype: "text/plain"
  4. username: "mdejong"