home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!spool.mu.edu!agate!doc.ic.ac.uk!uknet!keele!teach.cs.keele.ac.uk!u0g78
- From: u0g78@teach.cs.keele.ac.uk (MN Steed)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: found g++ in gcc, but can`t seem to co
- Message-ID: <BxvGnq.A41@gabriel.keele.ac.uk>
- Date: 17 Nov 92 17:59:49 GMT
- References: <1992Nov17.093739.9098@eua.ericsson.se>
- Sender: news@gabriel.keele.ac.uk (UseNet News Service)
- Organization: Keele University, England
- Lines: 28
- Originator: u0g78@teach.cs.keele.ac.uk
- Nntp-Posting-Host: bilbo.teach.cs.keele.ac.uk
-
- From article <1992Nov17.093739.9098@eua.ericsson.se>, by etxpihl@eua.ericsson.se (Tomas Pihl):
- > In <1992Nov17.070253.1820@sol.cs.wmich.edu> 22black@sol.cs.wmich.edu (Martin Black) writes:
- >
- >>> How can a simple C++-program that just do a cout << "Hellp world" end up as a
- >>>54kb binary file?
- >>[laugh] if you think that is big [laugh] try running it on sunOs. I get a
- >>hello world to be at 250k. In fact as soon as I include the iostream.h and
- > Holy smoke! I just tried it on Sun's `CC' with Cfront 2.1 and the file is
- > about 24kb.
-
- Getting slightly off of the point about amiga's perhaps.....
-
- Anyway, I'd guess the 24kb sun executable is on a SunOS 4.1 machine? Where
- the sun's use run time binding, rather than link time....
-
- Here, using cc on a Sun SparcII, many programs compile to be 16kb, or 24kb,
- but soon as you start using gcc on the Sparcs, the program size jumps upto
- 150-240Kb.
-
- Still, I'd like to know why g++ on the Amiga (presumably gcc 2.2.2) ends up
- with a 54kb binary, as it uses the ixemul.library for most of it's functions
- (doesn't it??) If not, does anyone know what ixemul.library actually does?
- Unix emulation??
- --
- Martin N. Steed
-
- JANET: u0g78@uk.ac.keele.cs.teach.bilbo
- InterNet: u0g78@bilbo.teach.cs.keele.ac.uk
-