public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* Unable to override OBJCOPY during configure
@ 2021-02-04  2:01 Ryan Burns
  0 siblings, 0 replies; only message in thread
From: Ryan Burns @ 2021-02-04  2:01 UTC (permalink / raw)
  To: libc-help

Hi Libc-help,

I'm having trouble cross-compiling glibc to powerpc64le. Compiling to powerpc64le requires a working objcopy, which I have available via powerpc64le-unknown-linux-gnu-objcopy, and I can provide that at build time using "make OBJCOPY=powerpc64le-unknown-linux-gnu-objcopy".
But the toplevel ./configure does OBJCOPY=`$CC -print-prog-name=objcopy` unconditionally, and is unable to find powerpc64le-unknown-linux-gnu-objcopy, so the later version check (to enforce the objcopy 2.26 minimum requirement) fails.
Is it possible to manually specify the objcopy binary at configure time, or bypass the configure check for the objcopy version?

Thanks,
Ryan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-04  2:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04  2:01 Unable to override OBJCOPY during configure Ryan Burns

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).