Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Apple ships a full set of dev tools, including gcc, make, and all the rest of the command line stuff you'd be used to, as well as a very nice set of GUI tools (Interface Builder and XCode). The install's optional since a lot of folks just don't need it, but it is there to install and it is free.

    Poke around and see if you don't have a developers tools installer somewhere on the machine, and if you don't then see if there's a dev tools disk in the set of CDs/DVDs that ship with Apple machines.

    If that doesn'
    • I've already installed the dev tools, but I still have that issue with gcc :-)

      I'm going to take a look at :-)
      • Try reinstalling, since something's apparently gone wrong. (You should have gcc in /usr/bin/gcc, so you wouldn't even need to fire off a new Terminal session to get it into your path) I don't remember the dev tools installer being particularly stingy in its defaults, but it can't hurt to customize the install and make sure everything gets installed. It's only disk space, after all... :)
        • Apparently, I'm missing some libs :-|

          Not that I'm a gcc expert, but I think that both `echo $LD_LIBRARY_PATH` and `locate crt1.o`
          should return some output, but they don't :-|

          And yet, trying to compile a simple program returns me an "ld: can't locate file for: -lcrt1.o" error...

          This is not normal, is it? :-|
          • LD_LIBRARY_PATH is likely empty (I don't have one and GCC works just fine) though crt1.o should be in /usr/lib. Definitely looks like something's toast in your install, which is really weird -- Apple is generally very good about making sure the right stuff gets installed.

            A quick poke at the Shub-internet shows that this is a symptom of the DevSDK package not being installed, so you might want to fire up the dev tools installer and make sure that one's installed.