what is --host for??

tom at retrieve.de tom at retrieve.de
Wed Jul 25 05:24:13 PDT 2001

> but what if a program compiled for i686-pc-linux-gnu is executed on a
> i586?

well, if the binary contains machine instructions
not available on the executing host, the program 
will most probably fail/abort/hang;
if you compile explicitly for a certain host higher
than i386 you can never be sure to be able to run
the prog on another machine. AFAIK it can also happen
that a prog compiled for a i486 cannot be run on an
i586 because of some machine instructions only 
available on the 486.

So you may be lucky and ther prog runs even on a lower
host but you shouldn't rely on it.

Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message

More information about the lfs-dev mailing list