Re: linking on Solaris

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

 



Am Dienstag, 6. September 2005 20:31 schrieb Ivan Novick:
> Currently we use ld as a linker on Solaris.
>
> Is there a gcc linker and is this preferable to using ld?
>
> Thanks for any input?
>
> Ivan

As a kind of fast shooting answer I would assume that gcc calls the native 
solaris linker ld in the linking stage, trading all those arguments to the 
linker that are prefixed with -Wl .

For a more detailed description about the linking stage you should refer to 
the manual and info pages of gcc.

GCC doesn't link on its own.  There is a process called collect2 (called from 
gcc) which is a wrapper around the native linker as I remember.  You can see 
the exact arguments to these gcc processing stages by using 

gcc -v $*

BYE INGO



[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