<div dir="ltr"><div>Is there anything I can do regarding the linker issue? The solaris linker is in /usr/ccs/bin/ld but I think llvm wants to use the gnu linker. gcc in my system was compiled with the solaris linker.</div>
<div> </div><div>Thanks,</div><div>Jorge</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 24, 2013 at 6:18 PM, Stefan Teleman <span dir="ltr"><<a href="mailto:stefan.teleman@gmail.com" target="_blank">stefan.teleman@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, Jun 24, 2013 at 6:17 PM, Jorge Rodrigues <<a href="mailto:skeept@gmail.com">skeept@gmail.com</a>> wrote:<br>

> Norm,<br>
><br>
> thanks for the help. Applying the fix solves the issue I mentioned but now I<br>
> have more issues.<br>
><br>
>  I can install clang, but when running I cannot compile and link files.<br>
> If I compile with -c flag it works but compiling the following x.c file<br>
> gives an error:<br>
<br>
</div><div class="im">> /project/helder/scratch/packages2/bin/ld: unrecognized option '-C'<br>
> /project/helder/scratch/packages2/bin/ld: use the --help option for usage<br>
> information<br>
> clang: error: linker command failed with exit code 1 (use -v to see<br>
> invocation)<br>
<br>
</div>-C is a flag for the Solaris linker only (/usr/bin/ld). It looks like<br>
/project/helder/scratch/packages2/bin/ld is actually the GNU linker,<br>
and it doesn't understand -C.<br>
<br>
I'll file the bug about the endian stuff, but we'll also have to have<br>
an <endian.h> in Solaris as well.<br>
<span class="HOEnZb"><font color="#888888"><br>
--Stefan<br>
<br>
--<br>
Stefan Teleman<br>
KDE e.V.<br>
<a href="mailto:stefan.teleman@gmail.com">stefan.teleman@gmail.com</a><br>
</font></span></blockquote></div><br></div>