View previous topic :: View next topic |
Author |
Message |
apocryphe n00b
Joined: 03 Jul 2005 Posts: 59 Location: 78 - Pres de Saint Germain
|
Posted: Tue Apr 10, 2007 9:30 am Post subject: [tcc] Générer de l'asm depuis du C avec TinyCC (résolu) |
|
|
bonjour,
j'aimerais générer de l'asm avec TinyCC ( tcc ), mais je ne sais pas comment...
comment se fait il qu'un compilo ne transite pas par de l'asm pour compiler du C ?
merci
--------------------- RESOLU -------------------------
tendra gere ca ( visiblement c est un tcc a la base )
pourquoi comment... j'en sais rien _________________ Laptop Dell Inspiron 1520
Intel Core2Duo T7250 - GM965 - 4 Go 667MHz DDR2 - Nvidia 8400 GS (256MiB) - BCM4401- iwlwifi3945 - SD R5C822
~amd64 - GCC 4.4.1 - XFS ahci officiel 2.6.30.4 - Xorg 1.6.2 - kde 4.3 - Nvidia 190.18 - WSXGA+ (1680x1050)
Last edited by apocryphe on Tue Apr 10, 2007 7:21 pm; edited 1 time in total |
|
Back to top |
|
|
Mickael Advocate
Joined: 05 Sep 2005 Posts: 2387 Location: ~Belfort! - France - EU
|
Posted: Tue Apr 10, 2007 9:53 am Post subject: |
|
|
je vais peut-être dire une co**** mais est-ce ceci que tu cherches :
Code: | `tcc -c asmfile.S'
Preprocess with C preprocess and assemble `asmfile.S' and generate object file `asmfile.o'.
`tcc -c asmfile.s'
Assemble (but not preprocess) `asmfile.s' and generate object file `asmfile.o'. |
source _________________ À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo |
|
Back to top |
|
|
apocryphe n00b
Joined: 03 Jul 2005 Posts: 59 Location: 78 - Pres de Saint Germain
|
Posted: Tue Apr 10, 2007 11:11 am Post subject: |
|
|
MickTux
merci mais
dans les deux cas, ca genere un .o ("generate object file `asmfile.o'.")
moi je veux un .s
je trouve ca zarb... _________________ Laptop Dell Inspiron 1520
Intel Core2Duo T7250 - GM965 - 4 Go 667MHz DDR2 - Nvidia 8400 GS (256MiB) - BCM4401- iwlwifi3945 - SD R5C822
~amd64 - GCC 4.4.1 - XFS ahci officiel 2.6.30.4 - Xorg 1.6.2 - kde 4.3 - Nvidia 190.18 - WSXGA+ (1680x1050) |
|
Back to top |
|
|
|