From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 10 23:48:41 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 5310237B4CE for ; Thu, 10 Apr 2003 23:48:41 -0700 (PDT) Received: from freebsd.giovannelli.com (freebsd.giovannelli.com [194.184.65.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3BBE43F93 for ; Thu, 10 Apr 2003 23:48:39 -0700 (PDT) (envelope-from gmarco@giovannelli.it) Received: from usul.giovannelli.it (usul.giovannelli.com [10.254.254.4]) h3B6lC2I000237 for ; Fri, 11 Apr 2003 08:47:12 +0200 (CEST) (envelope-from gmarco@giovannelli.it) Message-Id: <5.2.0.9.2.20030411082040.02604e90@194.184.65.4> X-Sender: gmarco@194.184.65.4 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Fri, 11 Apr 2003 08:41:37 +0200 To: hackers@freebsd.org From: Gianmarco Giovannelli Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: 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 06:48:41 -0000 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