Re: exec: -m: invalid option for GCC 9.2.0 on RHEL6.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 3 Dec 2019 at 15:32, Thomas Doczkal wrote:
>
> On 12/3/19 2:26 PM, Jonathan Wakely wrote:
> > On Tue, 3 Dec 2019 at 12:39, Thomas Doczkal wrote:
> >> Can someone confirm the error or tell what's wrong?
> > Usually that means you don't have a linker for your target.
> >
> > Is binutils installed?
>
> Yes, but unfortunately it's in a non-standard path. As far as I can see
> the file
>
> /fme/app/.build/gcc/gcc-9.2.0/build/./gcc/collect-ld
>
> has set the correct path
>
> > ORIGINAL_AS_FOR_TARGET="/fme/app/binutils/current/bin/as"
> > ORIGINAL_NM_FOR_TARGET="/fme/app/binutils/current/bin/nm"

But that's only as and nm, it also needs ld and that's the one that's failing.

Does /fme/app/binutils/current/bin/ld exist and is it a working linker
for your target?



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux