From: eglebbk AT dds DOT nl (Evert Glebbeek) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro Questions... Date: Wed, 30 Aug 2000 22:14:30 GMT Organization: Physics student, University of Amsterdam Lines: 34 Distribution: world Message-ID: <39a9a3f4.27945502@news.wins.uva.nl> References: NNTP-Posting-Host: stol-117-217.uva.studentennet.nl X-Trace: info.wins.uva.nl 967673741 24663 145.98.117.217 (30 Aug 2000 22:15:41 GMT) X-Complaints-To: usenet AT science DOT uva DOT nl NNTP-Posting-Date: Wed, 30 Aug 2000 22:15:41 +0000 (UTC) X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Newsgroup: comp.os.msdos.djgpp From: Damian Yerrick On Sun, 27 Aug 2000 14:07:39 GMT >On Sun, 27 Aug 2000 05:51:51 GMT, "JS" >wrote: > >> 1. What command line parameters can I use to reduce the size of my exe. >>files. ALSO, what do these parameters mean and do? > >gcc -s foo.c -lalleg -o foo.exe >-s : remove debugging symbols > >upx -9 foo.exe >upx : pack an existing DJGPP exe > http://upx.tsx.org/ Is there a qualitative difference between upx and djp? >> 2. Is it ABSOLUTELY necessary to call 'detect_digi_driver()' AND >>'detect_midi_driver()' before calling 'install_sound()'? > >No. In fact I don't recommend it. Why not? >> 3. When n NOT using the 'allegro.cfg' file, what should I put as the last >>parameter in 'install_sound'? Perhaps, a zero? > >In the latest Allegro (3.1 and later), you should always pass 0 as the >last argument. This is a matter of style, but I'd pass NULL (I know, NULL id #defined to be 0).