home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!sequent!gaia.ucs.orst.edu!news.cs.indiana.edu!babbage.ece.uc.edu!don.ece.uc.edu!dsims
- From: dsims@don.ece.uc.edu (David Sims)
- Newsgroups: comp.lang.modula3
- Subject: Why are M3 executables so big?
- Message-ID: <C1Hp3L.3z7@babbage.ece.uc.edu>
- Date: 27 Jan 93 01:50:08 GMT
- Article-I.D.: babbage.C1Hp3L.3z7
- Sender: root@babbage.ece.uc.edu (Operator)
- Distribution: usa
- Organization: University of Cincinnati
- Lines: 20
- Nntp-Posting-Host: don.ece.uc.edu
-
- Why does the following hello-world program create a 400K stripped
- executable on my Sparc box? The .mo file is a mere 399 bytes, but the
- executable balloons to 400K. Are the Wr, Stdio, and other run-time
- libraries really that large?
-
- Or maybe I installed M3 wrong?
-
- MODULE Main;
-
- IMPORT Wr,Stdio;
-
- BEGIN
- Wr.PutText(Stdio.stdout,"Hello, world.\n");
- END Main.
-
- --
- David Sims Dept. of Electrical and Computer Engineering
- david.sims@uc.edu University of Cincinnati
- (513) 556-2499 Cincinnati OH 45221-0030
- RIPEM mail accepted. USA
-