Mail Archives: djgpp/1998/05/21/23:54:38
Anonymous wrote:
> But you can answer a question on a totally different topic:
>
> How does one declare a definition for a structure (as you find in MASM or TASM)
> using GNU assembler? I have seen the "workarounds", and as far as I can tell,
> those are just uniquely defined symbols pretending to be references to structure
> members.
That's right, there's no inherent way to define structs. GNU as is
mainly intended as a compiler back-end, and so is missing some features
for people writing in assembler. You've seen the workarounds.
However, you may be able to use NASM instead. I haven't checked, but I
would imagine it has some kind of structure support.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -