Compilation 32 bit
Compiler une application 32 bit sur machine x86_64.
Catégories: [linux]Étiquettes: [compilation]
Si à la compilation on se retrouve avec un message
Invalid configuration `x86_64-unknown-linux-gnu`: machine `x86_64-unknown` not recognized
La solution...
Il suffit de tromper le système en tapant "linux32" avant la commande
linux32 ./configure
linux32 make
linux32 make install
ou pour une compilation croisée
linux32 ./configure --target=$TARGET --prefix="$PREFIX" --disable-nls
linux32 make
linux32 make install
Catégories: [linux]
Étiquettes: [compilation]