Date: Mon, 2 Aug 1999 13:20:27 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Rich cc: djgpp AT delorie DOT com Subject: Re: Questions In-Reply-To: <1.5.4.16.19990801161857.1a2f7b02@erie.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 1 Aug 1999, Rich wrote: > Newcomer for DJGPP... Welcome on board! In the future, I suggest to break down your questions and send them one at a time, especially if they are unrelated, like the ones below. It makes the job of answering them easier, and allows you to come up with a more descriptive Subject line which will catch the eyes of those who cannot afford reading the entire news group. > 1) does the DJGPP _always_ make a 32-bit exe, or _only_ when certain > compiler directives are in place? C code always results in 32-bit instructions in DJGPP. You may use assembly to issue 16-bit instructions (but I doubt that you'd want or even need that). > 2) actual DPMI functions _only_ become available when specific > "dmpi-activating" instructions are used ? DPMI is always available when the DJGPP program runs. DJGPP programs cannot run at all if DPMI services are unavailable. > 3) I wish to learn more about how DJGPP seems to interface well with > 16-bit DOS drivers/TSR's, considering its 32-bit. Read chapter 18 of the DJGPP FAQ list (v2/faq211b.zip from the same place you get DJGPP), and then ask specific questions if something is still unclear. > 4) How on earth can I reduce the size of a simple djgpp program?!?! > printf("Hello DJGPP!\n"); consumed 103K for the EXE !! and contained > tons of debug/stub info! See section 8.13 of the FAQ. > I notice some people are designing "Windows 95" applications which > claim to support Long-Filenames, "pixview" being one of them. > When I run this program in Win95 I still see ~ in the filenames... Was that program compiled with DJGPP? If so, it should support long file names automatically (unless your DJGPP setup is messed up, in which case set LFN=y in the environment and see if it helps). > I am MOST INTERESTED in books which provide information on the library > functions (djgpp version of the C/C++ runtime library). The C runtime library is documented in the library reference, file libc.info that should be in your info subdirectory. Assuming that you installed the txi312b.zip package, type "info libc alpha" from the DOS prompt and read there.