From: "Michel Chassey" 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: 60 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: Date: Tue, 3 Aug 1999 00:02:06 -0300 NNTP-Posting-Host: 207.253.156.93 X-Complaints-To: abuse AT videotron DOT net X-Trace: wagner.videotron.net 933653676 207.253.156.93 (Tue, 03 Aug 1999 00:14:36 EDT) NNTP-Posting-Date: Tue, 03 Aug 1999 00:14:36 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com UPX is available at this page : http://wildsau.idv.uni-linz.ac.at/mfx/upx.html Enjoy :-) Michel Chassey Johan Venter a écrit dans le message : tofp3.17474$yD2 DOT 37662 AT newsfeeds DOT bigpond 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 > > >