Lion -- where is /usr/bin/cpp?

Discussion in 'Misc' started by Robert Peirce, Oct 23, 2011.

  1. The calendar program apparently needs it to process calendar files. I
    haven't tried to compile any programs under Lion but cc would need it
    too. Oops!! I can't find cc either. Is something missing from the
    Lion update? How do I get it? This is suddenly very important.
     
    Robert Peirce, Oct 23, 2011
    #1
    1. Advertisements

  2. Robert Peirce

    J.J. O'Shea Guest

    On Sun, 23 Oct 2011 18:50:42 -0400, Robert Peirce wrote
    (in article <>):

    > The calendar program apparently needs it to process calendar files. I
    > haven't tried to compile any programs under Lion but cc would need it
    > too. Oops!! I can't find cc either. Is something missing from the
    > Lion update? How do I get it? This is suddenly very important.


    It's exactly where it should be. In the /usr/bin folder. The version I have
    has create/modify dates of 8 Aug.

    --
    email to oshea dot j dot j at gmail dot com.
     
    J.J. O'Shea, Oct 23, 2011
    #2
    1. Advertisements

  3. In article <>,
    J.J. O'Shea <> wrote:

    > On Sun, 23 Oct 2011 18:50:42 -0400, Robert Peirce wrote
    > (in article <>):
    >
    > > The calendar program apparently needs it to process calendar files. I
    > > haven't tried to compile any programs under Lion but cc would need it
    > > too. Oops!! I can't find cc either. Is something missing from the
    > > Lion update? How do I get it? This is suddenly very important.

    >
    > It's exactly where it should be. In the /usr/bin folder. The version I have
    > has create/modify dates of 8 Aug.


    $ ls /usr/bin/cpp
    ls: /usr/bin/cpp: No such file or directory

    More important. I just discovered a couple of C programs I rely on for
    a weekly analysis were originally compiled for a PowerPC. Now they
    don't work and must be recompiled.

    When I installed Lion, should I have done something to get the
    development package installed? Is there a way to do that after the fact?
     
    Robert Peirce, Oct 24, 2011
    #3
  4. In article <>,
    Robert Peirce <> wrote:

    > In article <>,
    > J.J. O'Shea <> wrote:
    >
    > > On Sun, 23 Oct 2011 18:50:42 -0400, Robert Peirce wrote
    > > (in article <>):
    > >
    > > > The calendar program apparently needs it to process calendar files. I
    > > > haven't tried to compile any programs under Lion but cc would need it
    > > > too. Oops!! I can't find cc either. Is something missing from the
    > > > Lion update? How do I get it? This is suddenly very important.

    > >
    > > It's exactly where it should be. In the /usr/bin folder. The version I have
    > > has create/modify dates of 8 Aug.

    >
    > $ ls /usr/bin/cpp
    > ls: /usr/bin/cpp: No such file or directory
    >
    > More important. I just discovered a couple of C programs I rely on for
    > a weekly analysis were originally compiled for a PowerPC. Now they
    > don't work and must be recompiled.
    >
    > When I installed Lion, should I have done something to get the
    > development package installed? Is there a way to do that after the fact?


    Google is my friend. Apparently Xcode is not included in Lion and has
    to be downloaded separately. Anybody know what else isn't part of
    default Lion?
     
    Robert Peirce, Oct 24, 2011
    #4
  5. Robert Peirce

    J.J. O'Shea Guest

    On Sun, 23 Oct 2011 19:04:38 -0400, Robert Peirce wrote
    (in article <>):

    > In article <>,
    > J.J. O'Shea <> wrote:
    >
    >> On Sun, 23 Oct 2011 18:50:42 -0400, Robert Peirce wrote
    >> (in article <>):
    >>
    >>> The calendar program apparently needs it to process calendar files. I
    >>> haven't tried to compile any programs under Lion but cc would need it
    >>> too. Oops!! I can't find cc either. Is something missing from the
    >>> Lion update? How do I get it? This is suddenly very important.

    >>
    >> It's exactly where it should be. In the /usr/bin folder. The version I have
    >> has create/modify dates of 8 Aug.

    >
    > $ ls /usr/bin/cpp
    > ls: /usr/bin/cpp: No such file or directory
    >
    > More important. I just discovered a couple of C programs I rely on for
    > a weekly analysis were originally compiled for a PowerPC. Now they
    > don't work and must be recompiled.
    >
    > When I installed Lion, should I have done something to get the
    > development package installed?


    Well, yes. You should install XCode.

    > Is there a way to do that after the fact?


    Go thou to the App Store app, launch it, and do a search for 'XCode'. IIRC
    it's about 1.4 GB for the full install of the most recent version.

    --
    email to oshea dot j dot j at gmail dot com.
     
    J.J. O'Shea, Oct 24, 2011
    #5
  6. Robert Peirce

    J.J. O'Shea Guest

    On Sun, 23 Oct 2011 19:13:21 -0400, Robert Peirce wrote
    (in article <>):

    > In article <>,
    > Robert Peirce <> wrote:
    >
    >> In article <>,
    >> J.J. O'Shea <> wrote:
    >>
    >>> On Sun, 23 Oct 2011 18:50:42 -0400, Robert Peirce wrote
    >>> (in article <>):
    >>>
    >>>> The calendar program apparently needs it to process calendar files. I
    >>>> haven't tried to compile any programs under Lion but cc would need it
    >>>> too. Oops!! I can't find cc either. Is something missing from the
    >>>> Lion update? How do I get it? This is suddenly very important.
    >>>
    >>> It's exactly where it should be. In the /usr/bin folder. The version I
    >>> have
    >>> has create/modify dates of 8 Aug.

    >>
    >> $ ls /usr/bin/cpp
    >> ls: /usr/bin/cpp: No such file or directory
    >>
    >> More important. I just discovered a couple of C programs I rely on for
    >> a weekly analysis were originally compiled for a PowerPC. Now they
    >> don't work and must be recompiled.
    >>
    >> When I installed Lion, should I have done something to get the
    >> development package installed? Is there a way to do that after the fact?

    >
    > Google is my friend. Apparently Xcode is not included in Lion and has
    > to be downloaded separately. Anybody know what else isn't part of
    > default Lion?


    Quite a lot of stuff. Rosetta and all PPC frameworks for a start. iSync.
    Front Row. Colours other than gray in the Finder.

    --
    email to oshea dot j dot j at gmail dot com.
     
    J.J. O'Shea, Oct 24, 2011
    #6
  7. In article <>,
    Jolly Roger <> wrote:

    > In article <>,
    > Robert Peirce <> wrote:
    >
    > > In article <>,
    > > Robert Peirce <> wrote:
    > >
    > > Google is my friend. Apparently Xcode is not included in Lion and has
    > > to be downloaded separately. Anybody know what else isn't part of
    > > default Lion?

    >
    > Xcode hasn't been installed by default for as long as I can remember.


    True, but it was on the install disk. Lion doesn't have an install disk.
     
    Robert Peirce, Oct 24, 2011
    #7
  8. In article <>,
    J.J. O'Shea <> wrote:

    > On Sun, 23 Oct 2011 19:13:21 -0400, Robert Peirce wrote
    > (in article <>):
    >
    > > Google is my friend. Apparently Xcode is not included in Lion and has
    > > to be downloaded separately. Anybody know what else isn't part of
    > > default Lion?

    >
    > Quite a lot of stuff. Rosetta and all PPC frameworks for a start. iSync.
    > Front Row. Colours other than gray in the Finder.


    I meant what isn't part that needs to be downloaded, like Xcode. I
    don't know about the other stuff you mention, but my understanding is
    rosetta and PowerPC aren't supported in Lion.
     
    Robert Peirce, Oct 24, 2011
    #8
  9. Robert Peirce

    David Empson Guest

    Robert Peirce <> wrote:

    > In article <>,
    > Robert Peirce <> wrote:
    >
    > > In article <>,
    > > J.J. O'Shea <> wrote:
    > >
    > > > On Sun, 23 Oct 2011 18:50:42 -0400, Robert Peirce wrote
    > > > (in article <>):
    > > >
    > > > > The calendar program apparently needs it to process calendar files. I
    > > > > haven't tried to compile any programs under Lion but cc would need it
    > > > > too. Oops!! I can't find cc either. Is something missing from the
    > > > > Lion update? How do I get it? This is suddenly very important.
    > > >
    > > > It's exactly where it should be. In the /usr/bin folder. The version I
    > > > have has create/modify dates of 8 Aug.

    > >
    > > $ ls /usr/bin/cpp
    > > ls: /usr/bin/cpp: No such file or directory
    > >
    > > More important. I just discovered a couple of C programs I rely on for
    > > a weekly analysis were originally compiled for a PowerPC. Now they
    > > don't work and must be recompiled.
    > >
    > > When I installed Lion, should I have done something to get the
    > > development package installed? Is there a way to do that after the fact?

    >
    > Google is my friend. Apparently Xcode is not included in Lion and has
    > to be downloaded separately.


    Xcode was always an optional install, included with new Macs and with
    retail versions of Mac OS X. It has been updated regularly and you
    needed to go to the Apple developer site to get updates, until it was
    recently added to the App Store

    Most people running Mac OS X have no need for the developer tools so it
    wouldn't make sense to include it and install it as part of the standard
    download distribution of Lion.

    > Anybody know what else isn't part of default Lion?


    Rosetta is gone and isn't coming back. (It was an optional install in
    Snow Leopard, downloaded when required or could be manually installed
    from the DVD.)

    Java is not part of the standard install of Lion. Java SE 6 for Lion is
    available from Apple. Lion will offer to download it when you try to run
    something which needs Java, or you can manually download it here:
    <http://support.apple.com/kb/DL1421>. Java SE 7 and later is not
    available yet but will be at some point, from Oracle.

    QuckTime Player 7 is not included in Lion (it was an optional install in
    Snow Leopard but had to be manually installed). If you need it, you can
    download it from Apple's support site. QuickTime Player 7.6.6 for Mac OS
    X 10.6.3 is the correct one: <http://support.apple.com/kb/DL923>

    Lion doesn't include all the printer and scanner drivers it supports.
    They will be downloaded as needed. You can probably go to Apple's
    support site to download and install the entire set of printer drivers
    for each brand.

    I think the full set of languages and fonts are included, but haven't
    had a close look to confirm.

    --
    David Empson
     
    David Empson, Oct 24, 2011
    #9
  10. Robert Peirce

    Chris Ridd Guest

    On 2011-10-24 01:07:10 +0000, Robert Peirce said:

    > In article <>,
    > J.J. O'Shea <> wrote:
    >
    >> On Sun, 23 Oct 2011 19:13:21 -0400, Robert Peirce wrote
    >> (in article <>):
    >>
    >>> Google is my friend. Apparently Xcode is not included in Lion and has
    >>> to be downloaded separately. Anybody know what else isn't part of
    >>> default Lion?

    >>
    >> Quite a lot of stuff. Rosetta and all PPC frameworks for a start. iSync.
    >> Front Row. Colours other than gray in the Finder.

    >
    > I meant what isn't part that needs to be downloaded, like Xcode. I
    > don't know about the other stuff you mention, but my understanding is
    > rosetta and PowerPC aren't supported in Lion.


    Xcode was a separate install/download in Snow Leopard as well. Grab it
    for free from the App Store.
    --
    Chris
     
    Chris Ridd, Oct 24, 2011
    #10
  11. Robert Peirce

    Chris Ridd Guest

    On 2011-10-23 23:13:21 +0000, Robert Peirce said:

    > Google is my friend. Apparently Xcode is not included in Lion and has
    > to be downloaded separately. Anybody know what else isn't part of
    > default Lion?


    Java.
    --
    Chris
     
    Chris Ridd, Oct 24, 2011
    #11
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Charles Sullivan
    Replies:
    2
    Views:
    242
    Charles Sullivan
    Mar 4, 2004
  2. Bryan
    Replies:
    2
    Views:
    283
    Reinder Verlinde
    May 27, 2004
  3. renovati07

    GDB error (on 10.6.6): /usr/bin/arch: No match

    renovati07, Jan 30, 2011, in forum: Programmer Help
    Replies:
    1
    Views:
    508
    renovati07
    Jan 30, 2011
  4. Mark Rivers

    Problem with archiver (/usr/bin/ar)

    Mark Rivers, Nov 22, 2003, in forum: Programmer Misc
    Replies:
    1
    Views:
    221
    Eric Albert
    Nov 23, 2003
  5. r5

    Problem with OS X /usr/bin/as

    r5, Sep 30, 2004, in forum: Programmer Misc
    Replies:
    4
    Views:
    152
    Gregory Weston
    Sep 30, 2004
  6. dan
    Replies:
    3
    Views:
    374
    Dave Seaman
    Jun 2, 2007
  7. r5
    Replies:
    4
    Views:
    138
    Gregory Weston
    Sep 30, 2004
  8. Replies:
    2
    Views:
    233
    William Mitchell
    Nov 15, 2005
Loading...