mac os x compiling and host types

sollaires

Registered
several times when trying to compile source code i get errors about what kind of host i am using. i have no idea what to put in the --host= switch. any ideas to make this stuff work?
 

onan

Prescriptivist
Few configure scripts really use that for much. And since none of them will currently know what osX is, it matters all the less.

I've usually been specifying --host=ppc-darwin, or ppc-freebsd. Doesn't much matter.


 

marin

Registered
If 'make' cannot detect the host, usually it means the host doesn't really matter.
To check,

type

pico configure.in

(yeah, pico is a nifty console text editor),
and check if the host names are mentioned anywhere.
If host is important, put some with BSD in it, if that one doesn't exist, try something with LINUX in it.
Otherwise, put
--host=ppc-apple-macosx

Also, if your make fails with some of these, type

make clean

before running make again.

Hope this helped..
 

marin

Registered
Today I found out some other switches that might be even better:

powerpc-apple-darwin
powerpc-apple-darwin1.2
powerpc-apple-netbsd
powerpc-apple-bsdos42
powerpc-apple-linux
 
Top