| delorie.com/archives/browse.cgi | search |
| From: | "Johan Venter" <jventer AT writeme DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| References: | <1 DOT 5 DOT 4 DOT 16 DOT 19990801161857 DOT 1a2f7b02 AT erie DOT net> |
| Subject: | Re: Questions |
| Lines: | 47 |
| X-Newsreader: | Microsoft Outlook Express 4.72.3110.1 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
| Message-ID: | <tofp3.17474$yD2.37662@newsfeeds.bigpond.com> |
| Date: | Mon, 2 Aug 1999 11:13:24 +1000 |
| NNTP-Posting-Host: | 139.134.162.74 |
| X-Trace: | newsfeeds.bigpond.com 933593753 139.134.162.74 (Mon, 02 Aug 1999 21:35:53 EST) |
| NNTP-Posting-Date: | Mon, 02 Aug 1999 21:35:53 EST |
| Organization: | Telstra BigPond Internet Services (http://www.bigpond.com) |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Rich wrote in message <1 DOT 5 DOT 4 DOT 16 DOT 19990801161857 DOT 1a2f7b02 AT erie DOT net>...
> 1) does the DJGPP _always_ make a 32-bit exe, or _only_ when certain
>compiler directives are in place?
It always makes 32-bit protected mode executables.
> 2) actual DPMI functions _only_ become available when specific
>"dmpi-activating" instructions are used ?
The DPMI services are always available (and required) when useing DJGPP-created programs.
> 3) I wish to learn more about how DJGPP seems to interface well with
>16-bit DOS drivers/TSR's, considering its 32-bit.
Well, there are a number of ways:
1. The DOS extender helps with this.
2. Programs can be written to use special features of DJGPP for accessing 16-bit
things (especially interrupts).
> 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!
Compile with the -s (that's a SMALL s) command line option, that will strip all your debug
info (making it impossible to debug the program properly).
Also, look for an EXE file compressor named UPX.
> 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...
DJGPP is natively compatible with Windows 9x long file names. They don't work on Windows
NT though.
>I am MOST INTERESTED in books which provide information on the library
>functions (djgpp version of the C/C++ runtime library).
Why not read the source? That must be the best way to learn how they work.
--
Johan Venter
ICQ 3643877
Visit The TPU DJGPP Interest Group:
http://surf.to/djgppig
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |