Thread: cc compiler

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    VA
    Posts
    2
    Rep Power
    0

    cc compiler


    I'm having trouble getting gcc to configure because it keeps saying that I do not have an acceptable cc in my $PATH. But I do and it's there. Here's the printout:

    bash-2.03# ./configure
    loading cache ./config.cache
    checking host system type... sparc-sun-solaris2.8
    checking target system type... sparc-sun-solaris2.8
    checking build system type... sparc-sun-solaris2.8
    checking for gcc... no
    checking for cc... no
    configure: error: no acceptable cc found in $PATH
    bash-2.03# echo $PATH
    /usr/ucb/cc:/usr/ccs/bin:/usr/ccs/lib:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwi
    n/bin:/bin:/usr/ucb

    I checked the directory and cc exists. The PATH was exported as well. Thanks.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Oct 2000
    Location
    Back in the real world.
    Posts
    5,966
    Rep Power
    191
    ... I do not have an acceptable cc in my $PATH
    Isn't UCB a proprietary compiler by sun?

    ...
    googling the 'net I found out that solaris installs a link there by default, even if no C compiler is installed.
    Dunno if this applies to your case though...

    hth,
    M.

IMN logo majestic logo threadwatch logo seochat tools logo