 |
 |
Problems compiling software?
|
 |
|
 |
|
Senior User
Join Date: Nov 1999
Location: Milkyway Galaxy
Status:
Offline
|
|
Just curious, but why are their so many users reporting problems compiling software? Is the gcc, plus other devel tools that Apple provides, less than adequate?
will simply downloading GCC from gcc.gnu.org & compiling it prevent further problems compiling other software?
just my $0.02
------------------
Mac OS 10: not just a new OS, but a new concept!
|
|
Death To Extremists!
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
This is due to Darwin being a bit weird. And no, downloading GCC from gcc.gnu.org won't do you any good, since it won't work. Apple is using a heavily modified version of GCC, and even so most fo the problems aren't in the compiler themselves. It's in the headers and due to certain functions not existing on Darwin. Also, lots of programs don't recognise Darwin, and barf when they see it (error error I don't know what Darwin has and doesn't have ahhhh you'll need to hack me to get me to work is the basic message).
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jan 2001
Location: Virginia, US
Status:
Offline
|
|
Every Unix has its little idiosyncracies compared to other Unices. Over time, the programmers of various packages get notified about these things and they add code or checks to account for them. Since MacOS X is pretty new (indeed, really hasn't been released yet), this process is just getting started. One example is the configure scripts -- I think the base autoconf version was only recently updated to recognize Darwin automatically, so if the last time a package developer synced up with the base autoconf distribution was before the point that the Darwin recognition was added to it, then that package won't recognize Darwin out of the box and the config.* templates from /usr/libexec must be used.
It's actually encouraging to see how many packages build out of the box right now -- it means that Darwin doesn't do *too* much unique stuff, at least in terms of deviating from the POSIX APIs.
|
|
|
| |
|
|
|
 |
|
 |
|
Admin Emeritus 
Join Date: Oct 2000
Location: Boston, MA
Status:
Offline
|
|
Pretty much, Apple has placed things in non-standard Linux locations, so Linux programs need a bit of help finding files and programs.
Running programs remotely (like BitchX) needs the termcap to be copied to /etc/termcap rather than /usr/share/misc/termcap.
Copy config.guess and config.sub to the compile location.
gcc can be linked to cc.
I think that'll fix most problems.
|
|
"Against stupidity, the gods themselves contend in vain" (Schiller)
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|