delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/30/02:02:45

Xref: news2.mv.net comp.os.msdos.djgpp:4361
From: Shawn Hargreaves <slh100 AT york DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Moving from Pascal to Djgpp
Date: Wed, 29 May 1996 15:02:16 +0100
Organization: The University of York, UK
Lines: 37
Message-ID: <Pine.SGI.3.91.960529134310.16078A-100000@tower.york.ac.uk>
NNTP-Posting-Host: tower.york.ac.uk
Mime-Version: 1.0
In-Reply-To: <46251.rkwcvdz@rivier1.puk.ac.za>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Wed, 29 May 1996 rkwcvdz AT rivier1 DOT puk DOT ac DOT za wrote:

> [1] File Bloat . Why are the Files Compiled with Djgpp so Bloated . The 
>     Standard Hello world program compiled with Gcc -o Hello.exe Hello.c was 
>     nearly 58k ,and if i used Gcc -s -o Hello.exe hello.c it came down to 
>     20k.In comparison the same Program in Borland Pascal 7.0 Real mode is 

Who cares how big "hello world" is? Such a silly program is not relevant 
to what you spend most of your life doing with a complier, ie. writing 
real programs that do some work. If you try compiling a decent sized 
program you will find that djgpp doesn't do so badly, for example it 
compiles my FED text editor into an executable only 80% the size of the one 
Borland C produces. 

> [2] Can someone tell me what is wrong with the Following Program fragment

[stuff snipped]

> Why doesnt this Program Compile ... I get errors while compiling it. ?
> Is the above Program Structurally correct ?

How about describing what the error message is? It looked ok to me, but 
knowing what gcc was complaining about would be a lot of help...

> [3] Is there a program to translate Tasm files to Gnu Files.

Yes, o2c converts Tasm obj files to gnu coff files, although it only 
works (obviously) with flat model obj's. I think this is on x2ftp, or you 
can probably find it on DJ's web site.


/*
 *	Shawn Hargreaves.        Why is 'phonetic' spelt with a ph?
 *	Check out Allegro and FED on http://www.york.ac.uk/~slh100/
 */


- Raw text -


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