MAGIC Magic Mailing List
 
 

From: Svenn.Bjerkem AT temic DOT com
Date: Mon Feb 24 2003 - 11:33:17 EST

  • Next message: R. Timothy Edwards: "Re: grids & cursors"

    Hi,
    Before I fill up this mailinglist with logs and stuff, I just wanted to
    find out if anybody out there has already been through this.
    
    I have installed gcc 3.2.2 from sunfreeware on a Sun Sparc with Solaris 2.8
    and do not have a Sun C compiler at all. (Nor do I want to buy one)
    
    A 'make config' reveals that unless the user cad exist, script die
          -> delete all lines checking for ~cad and leave the CAD_HOME
    
    After 'make config' a 'make tcl' only deliver errors
          -> Change 'cc' to 'gcc' for Solaris 2.x in 'scripts/config'
    
    Now 'make tcl' work all the way until linking, then die with loads of
    references to unfound libraries.
          -> try to change '-shared' to '-shared-libgcc' in 'defs.mak'
    
    Now the 'make tcl' still die with loads of lib reference errors, but at
    least things like perror, printf and friends are not among the unreferenced
    libraries.
          -> Print gcc manual and start to read.
    
    In the mean time, I have some questions for the list:
    
    How does the program know where I have my tcl/tk libraries. In tclmagic.h
    there is a <tk.h> and <tcl.h> include, but I seem to have no influence on
    where they are located. (in /usr/local as I have tcl8.4.1 and tk8.4.1 from
    sunfreeware).
    
    Must the tcl/tk libraries also have been compiled with gcc 3.2.2? (In that
    case, would installing gcc 2.95 be a better solution?)
    
    I hope somebody can help me out as I really want to have this software up
    and running. On my linux box it compiles out of the tar file, but not on
    Solaris.
    
    Svenn Are Bjerkem
    ASIC Design Engineer
    ContiTemic microelectronic GmbH
    Svenn.Bjerkem at Temic.com
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo