automake???

Fórumok

Szisztok!

Egy olyan kérdésem volna, hogy mikor egy bármilyen linuxos progit
fordítok forrásból, akkor a
./configure után a --build a --host és a --target paraméterek között mi különbség van?
Mikor melyiket kell használni?

A cél az, hogy olyan binárist hozzak létre ami "i386-pc-linux-gnu" -n fut, de ha i686-on futtatom, akkor
annak plussz dolgait is ki tudja használni...

A válaszokat előre is köszönöm.

Hozzászólások

"...
`--build=BUILD-TYPE'
the type of system on which the package is being configured and
compiled. It defaults to the result of running `config.guess'.

`--host=HOST-TYPE'
the type of system on which the package will run. By default it
is the same as the build machine. Specifying it enables the
cross-compilation mode.

`--target=TARGET-TYPE'
the type of system for which any compiler tools in the package will
produce code (rarely needed). By default, it is the same as host.
..."

"...de ha i686-on futtatom, akkor
annak plussz dolgait is ki tudja használni..."
attol fugg mit ertesz "plussz dolgok" alatt illetve, hogy
mit ertesz i686 alatt

amugy pl. gcc -mtune=pentium4 p4-re optimalizal, de csak i386 utasitasokat hasznal...

Zsiraf

Köszönöm a választ!

Én tulajdonképpen arra gondolok, hogy pl. újra akarom fordítani a GCC-t
nem az egészet, csak a c,c++ -t. Ha én csak azt adom meg, hogy --build=i386-pc-linux-gnu
akkor nem fog nekem i686-pc-gnu-linux-gcc -t létrehozni. Ha elhagyom a --build-et akkor
meg (ha jól gondolom) nem fog futni az egész pl. 386-on.

Üdv: Chris