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

Thomas Doczkal Thomas.Doczkal@socionext.com
Tue Dec 3 15:34:00 GMT 2019


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"

Thanks.

Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5154 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20191203/27759a21/attachment-0001.p7s>


More information about the Gcc-help mailing list