Mail Archives: djgpp/1999/09/07/19:24:02
From: | Nate Eldredge <neldredge AT hmc DOT edu>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: ASM dans DJGPP
|
Date: | Tue, 07 Sep 1999 13:47:18 -0700
|
Organization: | Harvey Mudd College
|
Lines: | 47
|
Message-ID: | <37D579D6.2430AF94@hmc.edu>
|
References: | <7r3epu$8cg$1 AT wanadoo DOT fr>
|
NNTP-Posting-Host: | mercury.st.hmc.edu
|
Mime-Version: | 1.0
|
X-Trace: | nntp1.interworld.net 936737243 65861 134.173.45.219 (7 Sep 1999 20:47:23 GMT)
|
X-Complaints-To: | usenet AT nntp1 DOT interworld DOT net
|
NNTP-Posting-Date: | 7 Sep 1999 20:47:23 GMT
|
X-Mailer: | Mozilla 4.08 [en] (X11; I; Linux 2.2.12pre4 i586)
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Mathieu.LAROYE wrote:
>
> Peut t'on compiler les commande ASM appell�e dans un source C++ avec Nasm
> sur DJGPP.
> Car l'ASM de DJGPP est assez bizard.
> A+
> Mathieu
Well, I don't speak French, but here's what Babelfish
(http://babelfish.altavista.digital.com) made of that:
Can you one compile command ASM appell�e in a C++ source with Nasm on
DJGPP. Because the ASM of DJGPP is enough bizard. A+ Mathieu
I assume from context "appell�e" = "inline".
And my response:
Not practically. There is a project to let NASM be used as GCC's back
end, but it doesn't work completely. So if you want to use inline
assembler, you're essentially stuck with GAS and the AT&T syntax for
now.
You can, of course, write entire functions with NASM and link them in
afterward.
And my response translated into French by Babelfish (beware, French
speakers, it's probably incomprehensible, hilarious, or both):
Et ma r�ponse traduite en Fran�ais par Babelfish (prenez garde, les
haut-parleurs fran�ais, il est probablement incompr�hensible, hilare, ou
tous deux):
Pas pratiquement. Il y a un projet laissent NASM �tre utilis� car GCC's
soutiennent l'extr�mit�, mais cela ne fonctionne pas compl�tement. Ainsi
si vous voulez utiliser l'assembleur int�gr�, vous �tes essentiellement
coinc�s avec le GAZ et la syntaxe d'cAt&t pour maintenant.
Vous pouvez, naturellement, �crire des fonctions enti�res avec NASM et
les joindre dedans apr�s.
(Hmm... I tried retranslating it and it makes partial sense, but only
partial mind you. :)
--
Nate Eldredge
neldredge AT hmc DOT edu
- Raw text -