Usability of --with-specs option

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

 



Hi,

I am facing an issue in the GCC on ubuntu 20 as it can't find the crti.o and crtn.o during linking.
The GCC I am using is being built on Redhat6.5 so it searches for the missing files in /lib instead of /lib/x86_64-linux-gnu.

I was searching for a way to configure the GCC to include the /lib/x86_64-linux-gnu directory in the search dirs while building on Redhat6.5.
I found a configuration option called --with-specs so I was thinking I may add this line "%:if-exists-else(crti.o /lib/x86_64-linux-gnu/crti.o)" to the --with-specs to be added to Startfile spec name.

Is this possible with some sort of syntax and if it's not, is there any other way that I can add the /lib/x86_64-linux-gnu directory to the search dirs during the configuration?

I would really appreciate your help.

Thanks,
Abdulrahman




[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