On Thu, Jul 24, 2008 at 02:47:10AM -0700, Mladen Nikitovic wrote: > So, It seems like the linker complains about an "asm" > statement. What bothers me is that it seems like /usr/ccs/bin/ld is > a Solaris linker. That is the impression I get when i run > /usr/ccs/bin/ld -V :
The problem appears to be that something containing an asm statement was compiled with cc, which understood it as a symbol reference. The linker is now complaining, correctly, about that reference. You need to find and clean up that file. Perhaps it was held over from a previous build and not remade once you fixed the compiler selection problems? > ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.561 > > I guess the same thing applies to "as". So, even though I have successfuly > assigned gcc as the primary compiler it seems like solaris linker and > assembler is still used. This is not what I expected. It is, however, correct and expected. > I have some "gnu" versions of ld and as in the > /usr/sfw/sparc-sun-solaris2.11/bin/ directory, but they seem not to be used. Good thing, too. The Solaris linker is light-years ahead of anything else out there. Also, note that it is not possible to change the linker or assembler used by gcc without rebuilding the compiler. Don't do that. -- Keith M Wesolowski "Sir, we're surrounded!" Fishworks "Excellent; we can attack in any direction!"
