Re: Cross compiled GCC wrongly builds dynamic executables

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

 



On 20/08/16 08:46, Alastair Hughes wrote:

> No, there is no dynamic linker on the target - your suggestion
> works, thanks.
> 
> I'm a bit surprised that the ld creates dynamically linked
> executables in the first place, since they cannot ever run at
> runtime (missing the dynamic loader) and there is no dynamic
> libraries to link against. What is the use case for that? Is there
> some way to stop ld from ever creating dynamically linked
> executables?

I'm surprised too.  ld will usually only link against dynamic
libraries which it finds at link time.

Andrew.



[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