Re: How to tell if gcc uses GNU or Sun linker on Solaris?

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

 



On Wed, 30 Sep 2009, Dr. David Kirkby wrote:

Is there any way to tell for certain if gcc uses the GNU or Sun linker on Solaris, in a program? I would also like to do the same for the assembler, though that is less important to me.

$ gcc -print-prog-name=ld
/usr/ccs/bin/ld

I don't know how reliable it is though, as on linux it usually just prints "ld" without a path.

--
Marc Glisse

[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