cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/25/07:49:28

Message-Id: <199710251147.AAA15244@atlantis.actrix.gen.nz>
Subject: Re: Some comments and questions
To: george DOT foot AT merton DOT oxford DOT ac DOT uk
Date: Sun, 26 Oct 1997 00:47:17 +1300 (NZDT)
From: "Kris Heidenstrom" <kheidens AT actrix DOT gen DOT nz>
Cc: djgpp AT delorie DOT com
MIME-Version: 1.0

George Foot (george DOT foot AT merton DOT oxford DOT ac DOT uk) wrote:

> On Wed, 22 Oct 1997 05:53:00 GMT in comp.os.msdos.djgpp Kris Heidenstrom
> (kheidens AT actrix DOT gen DOT nz) wrote:
>
> Author of the PC Timing FAQ? ;)

Ah, fame at last :-)

> [big snips throughout]

[gdb]

> You might like to look at RHIDE [...]

Yes it looks very nice so far.

>: djasm - what is it, and where is it documented?  It isn't mentioned
>: anywhere in the help, or in the (otherwise very helpful) FAQ!  Its
>: name appears in the exe stub, though :-)  Does it use Intel syntax?
>: (he asked hopefully :-)
>
> DJASM isn't really meant for the end-user's use; it's an Intel-format
> assembler which is used only to generate the real-mode stub code, which
> bootstraps all your protected mode programs (and of course all the djgpp
> tools). I don't think it is documented anywhere ;).

Right.	Someone else added that stub.asm in the libc source is all that
it is used for.

>: Intel syntax support - is there a program that converts Intel-syntax
>: assembly to AT&T style?  Has anyone tried to write one?  Would there
>: be any point in me trying to write one?  Same questions for Intel-style
>: disassembly for gdb.
>
> I'm not aware of any of the above; however, an assembler called NASM can
> assemble Intel-syntax code into .o object files that djgpp's linker can
> link in. This only works for entire assembly modules; not inline
> assembler AFAIK.

Right.	NASM looks like the way to go for stand-alone pmode assembly stuff.

>: Language implementation info - the info file for the standard C library
>: is good, but I can't find any language implementation reference - for
>: example, something that will tell me what size a 'short' will be, etc.
>
> Hmm... I don't know of any such documentation, but you could always ask
> djgpp itself:

[example program snipped]

True, but even ANSI leaves some other issues which can vary from one
compiler to the next.  DOS compilers have lots of differences.	Maybe
Unixy ones don't, hence the absence of an implementation details document.

Thanks

Regards

Kris
-- 
Kris Heidenstrom   kheidens AT actrix DOT gen DOT nz   Wellington, New Zealand
               Electronic designer and programmer
       "Good sense is the most valuable good on the market"

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019