From: Jetman AT gnn DOT com Message-Id: <199602240049.TAA05244@mail-e2a-service.gnn.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 23 Feb 1996 19:53:08 Sender: Jethro DOT Wright AT mail-e2a-service DOT gnn DOT com, III (from o3) To: djgpp AT delorie DOT com Subject: DJGPP/GCC Documentation Questions I'm about to port a working C++ program of my own and compile it w/ DJGPP 1.12m4 (seems like the older version is better for my purposes.) This is my 1st attempt w/ this compiler, altho I've been C/C++-literate for years usg MS C/Borland C. In fact, this program has been compiled usg both compilers. I've printed out and read a bunch of documentation, unfortunately there are inconsistencies and gaps w/ the on-line Info docs and the original TeX files. In fact, it seems that some things aren't documented at all (or are sketchily documented.) 1) "Using and Porting GCC" covers many details about the compiler, but doesn't say much about routine details like real examples of imbedded assembly language code via the asm keyword. Besides the differences bet the Intel and AT&T instruction formats, are there other caveats one should keep in mind when moving mixed language code into the GCC world ? I'm mainly concerned w/ details about how one can knock-off a C/C++ function using assembly language, instead of pure C/C++ code. I'd even go for a few straight-forward, real-world, source code examples (w/ comments, of course.) 2) I've reviewed the manual on the keywords for packing/aligning structures, but what are the default alignment settings ? It *looks* like everything is byte-aligned, by default. TIA.... ======================================================================= The continued survival of the human race, despite its own stupidity, is the strongest argument for the existence of a benevolent God. =======================================================================