From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5983 invoked by alias); 29 May 2014 22:17:37 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 5972 invoked by uid 89); 29 May 2014 22:17:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 May 2014 22:17:35 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4TMHYCZ006699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 29 May 2014 18:17:34 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s4TMHWhS003697; Thu, 29 May 2014 18:17:33 -0400 Message-ID: <5387B1FB.4030209@redhat.com> Date: Thu, 29 May 2014 22:17:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: "ISHIKAWA,chiaki" , binutils@sourceware.org Subject: Re: Require GNU make? References: <201405201619.s4KGJpRg002591@ignucius.se.axis.com> <201405281315.s4SDFpU2031819@ignucius.se.axis.com> <20140528141505.GJ6679@bubble.grove.modra.org> <53870721.3080402@redhat.com> <53872DEC.1050209@arm.com> <538730C1.6040105@rtems.org> <538734C8.4030300@arm.com> <53875BB6.6040508@yk.rim.or.jp> In-Reply-To: <53875BB6.6040508@yk.rim.or.jp> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2014-05/txt/msg00276.txt.bz2 On 05/29/2014 05:09 PM, ISHIKAWA,chiaki wrote: > (2014/05/29 22:23), Richard Earnshaw wrote: >> On 29/05/14 14:06, Ralf Corsepius wrote: >>> On 05/29/2014 02:54 PM, Richard Earnshaw wrote: >>> >>>> Not directly relevant, but I put a feature into the newlib build earlier >>>> this year that relied on a GNU make extension. There were no objections >>>> at the time I did that. >>> Correct me if I'm wrong, but IIRC, GCC already requires gmake. >>> As newlib is commonly used with GCC, probably everybody who uses newlib >>> also uses gmake :-) >>> >>> Ralf >>> >>> >> >> Possibly. As I said, it's not directly relevant... >> >> I tend to build all off gcc/binutils/gdb/newlib in one go, so always use >> gmake for the lot. >> >> R. >> > > Hi, > > I don't know the recent code, but at least long time ago, > 'Makefile' for gmake used portable constructs only so that gmake source > files can be compiled and linked to produce gmake binary with BSDmake > and other variants of make look-alikes. (I think there was even a > special makefile for DOS-based DeLorie-GCC environment) Yeah, GNU make itself assuming GNU make to built itself while other GNU tools not assuming would be ... a "wth-are-we-doing-who-are-we-caring-for?" day. > There is a bootstrapping issue of native binutils tools > for a new CPU, say, when there is only a limited set of available tools > under a given OS for which the CPU vendors are providing initial support > limited. Selection of GNUmake or BSDmake can be such an issue. Not really. It just means that before building binutils, you need to build GNU make. That is, in effect, push the build system portability problem to a single and logical entry point, rather than have all GNU programs (that use make) need to care. GNU only needs to invent the wheel once. > But, today, we have Cygwin that runs well (albeit slowly in terms of > I/O) under Windows even so that cross-compilation using gmake is > possible under Windows platforms, POSIX-platforms such as linux, Mac > OSX, FreeBSD, Solaris, and even on a single board computer environemtn > Raspberry-PI using Debian-based linux distribution. GNU make even builds with Microsoft's compilers. At least, there's README.W32.template in the sources saying that's supported, and I see "make_msvc_net2003.sln" and "make_msvc_net2003.vcproj" files. > Maybe someone who has ported binutils tools RECENTLY to a new CPU using > the proprietary (cross-)compiler (and assembler and linker, more > importantly) from a CPU vendor and had some difficulty because of the > limitation of tools on the particular OS which the CPU vendor chose for > initial support can comment on this. Nowadays you're more likely to start by cross compiling, but in any case, that is really a false problem. That someone would just have to port/build GNU make first with the proprietary compiler, _then_ port binutils, then gcc, etc. -- Pedro Alves