Mail Archives: djgpp/1999/10/05/06:34:04
Hi all!
I wonder why djgpp doesn't have support for far pointers. As I understand,
gcc is ported from unix and it will work under various unix variants like
linux. I was told that under linux, one can create other descriptors in the
ldt and reference to them by using far pointers (of course). If this is all
true, I would say that gcc should support far pointers to easily reference
to these segments. Right now, I have to use temporary variables to store the
information when I decide to, say, use printf to display a number which is
stored in another segment. When I want to print a string part stored in
another segment I should design a printf which handles far pointers or copy
the string to the ds segment? I don't know exactly what to do, but it sure
generates a lot more inefficient code than any compiler which does support
far pointers.
Maybe I'm wrong on some points, so please correct me or post other comments.
David Fokkema
- Raw text -