[SOS] Multiboot.S compilation impossible

Thomas Petazzoni thomas.petazzoni at enix.org
Mer 28 Déc 21:50:11 CET 2005


Salut,

On Wed, 28 Dec 2005 20:19:10 +0000
"Jo C" <ahzut at hotmail.com> wrote:

> Je précise que je tourne sous une distro debian testing 64 bits
> installée très recemment, ma version de gcc est la 4.0.3

Sos est un OS prévu pour l'architecture x86 32 bits. Pour compiler SOS,
il faut donc utiliser un compilateur pour cette architecture. Le 'gcc'
de ta Debian est prévu pour compiler pour x86_64 et pas x86_32. Il faut
donc cross-compiler.

La page http://www.mobilab.unina.it/Resources/crosscompilerHOWTO.html
explique comment générer un cross-compilateur à la sauce Debian. Sinon,
il est toujours possible d'y aller à la main. 

David pourra sans doute t'en dire plus, il utilise régulièrement des
cross-compilos.

Bonne soirée,

Thomas
-- 
PETAZZONI Thomas - thomas.petazzoni at enix.org 
http://{thomas,sos,kos}.enix.org - Jabber: thomas.petazzoni at jabber.dk
http://{agenda,livret}dulibre.org - http://www.toulibre.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://the-doors.enix.org/pipermail/sos/attachments/20051228/d0ce0006/signature.pgp


Plus d'informations sur la liste de diffusion Sos