cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/29/22:00:21

From: "Michael Stewart" <mike AT reggin DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to Install Djgpp - Closed!
Date: Thu, 29 Jul 1999 11:52:01 +0100
Organization: (Posted via) Netcom Internet Ltd.
Lines: 35
Message-ID: <7npbqg$3cf$1@taliesin.netcom.net.uk>
References: <933183164 AT p20 DOT f44 DOT n478 DOT z2 DOT FidoNet DOT ftn>
NNTP-Posting-Host: hgty.capgemini.co.uk
X-Trace: taliesin.netcom.net.uk 933245584 3471 194.42.240.2 (29 Jul 1999 10:53:04 GMT)
X-Complaints-To: abuse AT corp DOT netcom DOT net DOT uk
NNTP-Posting-Date: 29 Jul 1999 10:53:04 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Oleg Ossovitskii wrote in message <933183164 AT p20 DOT f44 DOT n478 DOT z2 DOT FidoNet DOT ftn>...
>
>Hello, how do You do, All?
>
> Thanks very much to all, who answered me how to install djgpp!
>I solved this problem succesfully.
>
>But I have any more questions:
>Why my files is so big? Even if my file is empty it has size approx. 105 KB
:(
>When I compile file 'void main(){}' in Borland C++ 5.02 it has size ~30KB,
but
>in Djgpp it ~105KB.


There was a thread which discussed this very subject not so long ago.
Briefly though, DJGPP is a protected mode compiler which means that there is
quite a lot of code which is used to set things up in pmode. This is
unavoidable, but for larger programs you shouldn't notice the overheads so
much.

>And why my some my simple progs ran in protected mode? When I run them
under
>pure MS-DOS 6.22 or PC-DOS 7.0 I got message 'No: DPMI - Get csdpmi*b.zip'.
>Which command-line option I must use to compile program in real mode?


There isn't one. DJGPP only produces protected mode programs.

>PS Does my program ran under *nix ??

No, but you can set up a cross compiler to compile code for *nix.



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019