From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27772 invoked by alias); 20 Oct 2006 09:07:48 -0000 Received: (qmail 27760 invoked by uid 22791); 20 Oct 2006 09:07:47 -0000 X-Spam-Check-By: sourceware.org Received: from nat1.alcatel-sbell.com.cn (HELO mail.alcatel-sbell.com.cn) (202.96.203.177) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 20 Oct 2006 09:07:43 +0000 Received: from asbmail4.sbell.com.cn (localhost [127.0.0.1]) by mail.alcatel-sbell.com.cn (8.13.8/8.13.8/Alcanet1.0) with ESMTP id k9K97UAA007812; Fri, 20 Oct 2006 17:07:48 +0800 Received: from htmail.sbell.com.cn ([172.24.222.40]) by asbmail4.sbell.com.cn with Microsoft SMTPSVC(5.0.2195.6713); Fri, 20 Oct 2006 17:07:13 +0800 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: RE: object file format Date: Fri, 20 Oct 2006 09:07:00 -0000 Message-ID: From: "MCG SUN Xun" To: "Sigurd Lerstad" , X-imss-version: 2.043 X-imss-result: Passed X-imss-approveListMatch: *@alcatel-sbell.com.cn X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-10/txt/msg00187.txt.bz2 It's should be elf format file, you can read it by tool: readelf or objdump. Kr Edward -----Original Message----- From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On Beh= alf Of Sigurd Lerstad Sent: Saturday, October 14, 2006 11:57 PM To: gcc-help@gcc.gnu.org Subject: object file format Hello, I have (partially) succeeded in compiling gcc as a crosscompiler on win32=20 with this target: m68k-amiga-coff I need to read the object files created when compiling cpp files with this= =20 crosscompiler, but my filetype recognition program doesn't recognize the filetype, it=20 doesn't seem to be coff object files or a.out files. Does anybody know the= =20 filetype? Here's a ascii dump of the beginning of the object file, (couldn't figure=20 out how to copy/paste as hex) ------------------ =01P=08E0!=FF=03D=13=02=04.text =01T .data @.bss ------------- thanks, -- Sigurd Lerstad