From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9508 invoked by alias); 4 Apr 2006 14:12:17 -0000 Received: (qmail 9497 invoked by uid 22791); 4 Apr 2006 14:12:16 -0000 X-Spam-Check-By: sourceware.org Received: from Unknown (HELO sccrmhc14.comcast.net) (63.240.77.84) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Apr 2006 14:12:14 +0000 Received: from godzilla.jrd.org (c-24-91-221-33.hsd1.ma.comcast.net[24.91.221.33]) by comcast.net (sccrmhc14) with SMTP id <2006040414115401400cme94e>; Tue, 4 Apr 2006 14:12:02 +0000 Received: (qmail 3401 invoked from network); 4 Apr 2006 14:11:53 -0000 Received: from kong.jrd.org (192.168.2.1) by godzilla.jrd.org with SMTP; 4 Apr 2006 14:11:53 -0000 Received: (qmail 8234 invoked from network); 4 Apr 2006 14:11:53 -0000 Received: from kong.jrd.org (HELO kong.jrd.org.jrd.org) (192.168.2.1) by kong.jrd.org with SMTP; 4 Apr 2006 14:11:53 -0000 From: "John R. Dunning" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17458.32425.140166.137040@kong.jrd.org> Date: Tue, 04 Apr 2006 14:12:00 -0000 To: Andrew Lunn Cc: "John R. Dunning" , ecos-discuss@ecos.sourceware.org In-Reply-To: <20060404131647.GA4499@lunn.ch> References: <17458.28456.147803.714504@kong.jrd.org> <20060404131647.GA4499@lunn.ch> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Using a different toolchain X-SW-Source: 2006-04/txt/msg00024.txt.bz2 From: Andrew Lunn Date: Tue, 4 Apr 2006 15:16:47 +0200 You want to change CYGBLD_GLOBAL_COMMAND_PREFIX Ok, tnx. What is wrong with the linker script eCos generates? Since you are still using gcc and i assume you are still using binutils, Yes. i would of thought target.ld would work. Well, I dunno; I may just be not looking at the right thing. I'm trying to use what amounts to a 64-bit mips toolchain (it's a mips instruction set, with some extra hacks added to it for custom hardware) so I started with the 32-bit stuff, got that to build ok, then tried swapping in the 64-bit stuff. The 64-bit linker barfed on the references to elf32-littlemips in target.ld, so I tried changing them to what I thought were equivalent 64-bit things, but that didn't work either. I tried using the linker script that I use for other (non-ecos) binaries on this platform, and that said it built an executable, but when I objdump it, there's nothing in .text. Perhaps I need to go off and read up on linker scripts, because my non-ecos one bears approximately zero resemblance to the ecos one, and I can intuit only vaguely what either one of them are doing :-{ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss