Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[tcc] Générer de l'asm depuis du C avec TinyCC (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
apocryphe
n00b
n00b


Joined: 03 Jul 2005
Posts: 59
Location: 78 - Pres de Saint Germain

PostPosted: Tue Apr 10, 2007 9:30 am    Post subject: [tcc] Générer de l'asm depuis du C avec TinyCC (résolu) Reply with quote

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
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Tue Apr 10, 2007 9:53 am    Post subject: Reply with quote

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
View user's profile Send private message
apocryphe
n00b
n00b


Joined: 03 Jul 2005
Posts: 59
Location: 78 - Pres de Saint Germain

PostPosted: Tue Apr 10, 2007 11:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum