[Editor's note: Please see the comments for some useful suggestions]
I have been having some nagging difficulties compiling c code into X ... Can any one explain the full path to doing this this successfully ?
I mean this must be one of the most appealing aspects of OS X, the ability to run any shell based unix app.....if you could get it to actually work.... :-(
I keep getting the compiler demanding a machine type when using the ./configure command. However when I specify a system like BSD, Darwin, PPC or whatever nothing seems to work. A typical result is:
[localhost:/downloads/nmap-2.53/libpcap-possiblymodified] root# ./configure freeBSDIt's also quite unhappy about using cc and not gcc ...what can I do ? I'm longing for all these Unix aps out there.........HELP.
configure: warning: freeBSD: invalid host type
creating cache ./config.cache
checking host system type... Invalid configuration `freeBSD': machine `freeBSD' not recognized
checking target system type... Invalid configuration `freeBSD': machine `freeBSD' not recognized
checking build system type... Invalid configuration `freeBSD': machine `freeBSD' not recognized
Mac OS X Hints
http://hints.macworld.com/article.php?story=20001205184203324