From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3002 invoked by alias); 18 Dec 2007 00:43:19 -0000 Received: (qmail 2991 invoked by uid 22791); 18 Dec 2007 00:43:18 -0000 X-Spam-Check-By: sourceware.org Received: from secure.latencyzero.com (HELO mail.latencyzero.com) (64.71.153.217) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 18 Dec 2007 00:43:10 +0000 Received: (qmail 1975 invoked from network); 18 Dec 2007 00:43:06 -0000 Received: from unknown (HELO rmann1.internal.xbow.com) (rmann@63.64.55.212) by 0 with ESMTPA; 18 Dec 2007 00:43:06 -0000 Message-Id: <5A2671EC-48B9-4492-A1E1-F346CE6811CC@latencyzero.com> From: Rick Mann To: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Binary built on different platforms with exact same tools different? Date: Tue, 18 Dec 2007 00:43:00 -0000 X-Mailer: Apple Mail (2.915) X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00322.txt.bz2 Hi. I've built an xscale-elf toolchain from gcc-4.2.2, binutils-2.17, newlib-1.15.0. I've used the exact same build procedure on both Mac OS X 10.5 (gcc-4.0.1-based) and Cygwin (gcc 3.4-based). Then I built our code and stripped the resulting binary with objcopy on each platform. Both binaries seem to run the same. However, cmp shows many differences between the two resulting binaries. Here are a few: $ cmp -l ~/h h | head -10 77 21 63 81 32 74 85 27 71 97 370 220 98 162 163 101 134 364 105 134 364 141 4 15 143 55 240 144 345 341 Are these differences something to worry about? TIA, Rick