From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MOwgX-0002Mr-Jc for garchives@archives.gentoo.org; Thu, 09 Jul 2009 16:41:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3DEEE02C8; Thu, 9 Jul 2009 16:41:24 +0000 (UTC) Received: from relay.pcl-ipout02.plus.net (relay.pcl-ipout02.plus.net [212.159.7.100]) by pigeon.gentoo.org (Postfix) with ESMTP id 91D46E02C8 for ; Thu, 9 Jul 2009 16:41:24 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAHu6VUrUnw6T/2dsb2JhbADSW4QIBQ Received: from ptb-relay03.plus.net ([212.159.14.147]) by relay.pcl-ipout02.plus.net with ESMTP; 09 Jul 2009 17:41:24 +0100 Received: from [84.92.213.176] (helo=mercury.bucknall.me.uk) by ptb-relay03.plus.net with esmtp (Exim) id 1MOwgV-00037v-Hw for gentoo-embedded@lists.gentoo.org; Thu, 09 Jul 2009 17:41:23 +0100 Received: from [192.168.0.5] (aurora [192.168.0.5]) by mercury.bucknall.me.uk (Postfix) with ESMTP id 06C458820A for ; Thu, 9 Jul 2009 17:40:03 +0100 (BST) Message-ID: <4A561F1B.7040802@bucknall.me.uk> Date: Thu, 09 Jul 2009 17:47:23 +0100 From: billium User-Agent: Thunderbird 2.0.0.22 (X11/20090628) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] crossdev References: <4A54C5EE.90902@bucknall.me.uk> <200907082155.48890.vapier@gentoo.org> <4A55D89C.4040100@gmx.ch> <4A55F693.6080705@bucknall.me.uk> In-Reply-To: <4A55F693.6080705@bucknall.me.uk> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Plusnet-Relay: 94ee2249a27d2a22e45b8b08a39a0081 X-Archives-Salt: 495a9011-75d0-4a6c-b0ef-a7f650c0a200 X-Archives-Hash: 58626e50fa5632ac94a6d7fb04ab1cb6 billium wrote: > Martin Gysel wrote: > >> Mike Frysinger schrieb: >> >> >>> On Wednesday 08 July 2009 12:14:38 billium wrote: >>> >>> >>> >>>> The target is arm cortex with using newlib. >>>> >>>> If I try crossdev -s3 -t arm-elf-gnueabi >>>> in the summary header libc: glibc-[latest] >>>> and it fails with BFD does not support target. >>>> >>>> >>>> >>> i dont think your tuple makes any sense. i'm pretty sure you want "arm-elf- >>> eabi". >>> -mike >>> >>> >>> >> but if I understand crossdev code correctly with this tuple newlib >> doesn't get selected (*-newlib|*-elf but not >> *-newlib*|*-elf*). >> furthermore AFAIK for the compiler the word eabi is important otherwise >> arm eabi isn't selected as default. so my suggestion is to use >> arm-softfloat-eabi and change crossdev (add |*-eabi just after >> *-newlib|*-elf). >> another option would probably be to just change *-elf to *-elf* so that >> newlib gets selected but in this case I don't know how gcc behaves... >> @mike is there a change to have one of these mods added to crossdev >> upstream? >> >> /martin >> >> >> >> > This is what I have found, hence the cheat mentioned in the first post. > > But I can't cheat and get gdb also. > > Billy > > > > Thanks Martin. Changing the /usr/sbin/crossdev script as Martin suggested and using crossdev --ex-gdb -t arm-elf-eabi produces the toolchain but does not attempt to produce gdb. Billy