Thread: UNIX AIX cc compiler place

  1. #1
    Registered User
    Join Date
    Apr 2017
    Posts
    51

    UNIX AIX cc compiler place

    I have AIX and create a make file. I am looking for cc compiler
    Code:
    type cc
    cc is a tracked alias for /usr/vacpp/bin/cc
    Is it a correct place for compiler?

    Thanks

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    You might have to use what 'which' tells you, rather than what 'type' tells you.
    Code:
    $ which cc
    /usr/bin/cc
    $ type cc
    cc is /usr/bin/cc
    Make will almost certainly try to 'exec' what you tell it. Aliases AFAIK would have to go via the shell.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 02-04-2008, 02:34 AM
  2. Replies: 5
    Last Post: 11-11-2006, 09:52 AM
  3. UNIX (Linux, BSD, etc) Programming :: UNIX
    By kuphryn in forum Linux Programming
    Replies: 6
    Last Post: 04-01-2004, 08:44 PM
  4. Need a unix compiler
    By sunburnbyRA in forum C++ Programming
    Replies: 2
    Last Post: 09-09-2003, 03:24 PM
  5. Mission Unix Dumb-Ass to Unix-guru
    By bookworm in forum A Brief History of Cprogramming.com
    Replies: 59
    Last Post: 07-20-2003, 01:47 AM

Tags for this Thread