Mail Archives: djgpp/1999/09/08/07:25:41
Nate Eldredge (neldredge AT hmc DOT edu) wrote:
> 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.
> Well, I don't speak French, but here's what Babelfish
> (http://babelfish.altavista.digital.com) made of that:
As usual, Babelfish's result is rather horrible :-( I'll apply my
rusted knowledge of French (13 years since my last lesson at
school...) and make a proper translation from it...
> 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
In 'real' English, it'd be:
Can you compile ASM commands called in a C++ source with Nasm
in DJGPP? The ASM used by DJGPP is too bizarre for me.
> I assume from context "appellée" = "inline".
By my understanding, it isn't. "appeller" is "to call" in the sense of
"give a name" (and maybe others). "Call me Ishmael" would be
"appellez-moi Ishmael", in Frensh.
The answer, in (what my rusty memory thinks is) French, would be:
Oui, c'est possible. On peut écrire des routines complètes utilisant
NASM, et il est possible de les utiliser dans des logiciels produits
avec DJGPP. Mais il n'est pas possible d´écrire des routines "inline"
avec NASM. Ces routines doivent être mettez _dans_ l'ASM produits par
GCC, donc ils doivent être ecrit en GCC ASM (alias AT&T).
('validated' and 'tuned' by Babelfish to at least contain no spelling
errors or major grammatical nonsense :-)
For cross-check of the content of my answer, I state that NASM *can*
be used for writing stand-alone ASM routines, but not for inline
assembly. The latter may not strictly be true, given the rumoured
existence of a NASM-generating gcc version, but I didn't mention that
in the French part.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -