From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 11 16:05:34 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2222437B407 for ; Fri, 11 Apr 2003 16:05:34 -0700 (PDT) Received: from torpy.unbc.ca (torpy.unbc.ca [142.207.144.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id E88D443F85 for ; Fri, 11 Apr 2003 16:05:31 -0700 (PDT) (envelope-from kallen-j@ugrad.unbc.ca) Received: from ugrad.unbc.ca (ugrad.unbc.ca [142.207.144.123]) by torpy.unbc.ca (8.9.3/8.9.3) with SMTP id QAA1534772 for ; Fri, 11 Apr 2003 16:05:31 -0700 (PDT) Received: by ugrad.unbc.ca (sSMTP sendmail emulation); Fri, 11 Apr 2003 16:05:31 -0700 Date: Fri, 11 Apr 2003 16:05:31 -0700 From: jed To: hackers@freebsd.org Message-ID: <20030411160531.A22678@ugrad.unbc.ca> Mail-Followup-To: hackers@freebsd.org References: <5.2.0.9.2.20030411082040.02604e90@194.184.65.4> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.2.0.9.2.20030411082040.02604e90@194.184.65.4>; from gmarco@giovannelli.it on Fri, Apr 11, 2003 at 08:41:37AM +0200 User-Agent: Mutt 1.2.5i Subject: Re: gcc iussue or ... ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 23:05:34 -0000 You may be interested to know that when compiled on an Itanium II running Debian 3.0, the executable was 22MB. --jed On Fri, Apr 11, 2003 at 08:41:37AM +0200, Gianmarco Giovannelli wrote: > The problem is very simple. > I mantain a unix/linux port of a UO emulator which works really fine > natively under FreeBSD. > > The problem is that if I compile it under FreeBSD it is a binary of 19M, > while on linux (debian 3.0), same Makefile, is only 2MB. FreeBSD 5.0 and > OpenBSD 3.1 produce the (about) 19M file. > Mingw compiler under windows act like Linux. > > There is no specific differences in FreeBSD/Linux code and the program run > very nice. > > I wrote more detail about obj and data organization here: > http://pub41.ezboard.com/flonewolfemufrm4.showMessage?topicID=393.topic > > > If someone of you wants to try by himself to see what happens and why (much > appreciated), the daily src snapshot can be downloaded here: > http://games.gimbo.org/uo/binaries.pl > > or for the lazy ones, , this is the complete link: > http://games.gimbo.org/uo/files/bin/lonewolf/cvs_src.tgz (about 230kb) > > Compiling is quite simple and easy: > make -f Makefile.unix > > Any feedback is really appreciated because this iussue is really over my > (limited) skills :-) > > Thanks at everyone... > > > > > > Best Regards, > Gianmarco Giovannelli , "Unix expert since yesterday" > http://www.gufi.org/~gmarco > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"