This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: stage 3 error : bash: missing-objcopy: command not found
- From: Andrew Haley <aph at redhat dot com>
- To: Dennis Clarke <dclarke at blastwave dot org>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 21 Oct 2013 16:38:36 +0100
- Subject: Re: stage 3 error : bash: missing-objcopy: command not found
- Authentication-results: sourceware.org; auth=none
- References: <7300ad93366b dot 52652c8d at blastwave dot org> <7300dfaa4fc dot 52652ccb at blastwave dot org> <7300c72b5750 dot 5264f4ae at blastwave dot org> <5265312F dot 9070006 at redhat dot com> <72b08e9e44dc dot 52654818 at blastwave dot org> <72b0c17a51bb dot 52654857 at blastwave dot org> <72b0c78e34aa dot 52654895 at blastwave dot org> <72b0d9fd1966 dot 526548d5 at blastwave dot org> <72b0c7c818b9 dot 52654913 at blastwave dot org> <72b0d8cf4c7f dot 526510ec at blastwave dot org>
On 10/21/2013 04:33 PM, Dennis Clarke wrote:
>
>
> On 10/21/13, Andrew Haley wrote:
>> On 10/21/2013 02:32 PM, Dennis Clarke wrote:
>>> what is this "missing-objcopy" ? anybody have a notion on that one ?
>>
>> objcopy wasn't found. If you re-run configure you'll see it.
>
> This is a Solaris server and objcopy is part of Linux binutils, not
> part of Solaris ( SVR4 UNIX based ).
>
> I see here :
>
> http://gcc.gnu.org/install/prerequisites.html
>
> GNU binutils Necessary in some circumstances, optional in others. See
> the
> host/target specific instructions for your platform for
> the exact
> requirements.
>
> I check here : http://gcc.gnu.org/install/specific.html
>
> Where I see no mention of a need for binutils to compile "go".
>
> We probably need to update that page.
Looks like it.
> However, having said that I do have :
>
> $ /usr/local/bin/gobjcopy --version
> GNU objcopy (GNU Binutils) 2.23.1
> Copyright 2012 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or (at your option) any later version.
> This program has absolutely no warranty.
>
> So it looks like I need a silly environment variable such as OBJCOPY which
> points to the GNU binutils in /usr/local/bin. Which I otherwise do not use.
Or just add /usr/local/bin to your path, and all will be well.
Andrew.