[LLVMdev] Compiling llvm and Clang in solaris 10
Stefan Teleman
stefan.teleman at gmail.com
Mon Jun 24 16:18:51 PDT 2013
On Mon, Jun 24, 2013 at 6:17 PM, Jorge Rodrigues <skeept at gmail.com> wrote:
> Norm,
>
> thanks for the help. Applying the fix solves the issue I mentioned but now I
> have more issues.
>
> I can install clang, but when running I cannot compile and link files.
> If I compile with -c flag it works but compiling the following x.c file
> gives an error:
> /project/helder/scratch/packages2/bin/ld: unrecognized option '-C'
> /project/helder/scratch/packages2/bin/ld: use the --help option for usage
> information
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
-C is a flag for the Solaris linker only (/usr/bin/ld). It looks like
/project/helder/scratch/packages2/bin/ld is actually the GNU linker,
and it doesn't understand -C.
I'll file the bug about the endian stuff, but we'll also have to have
an <endian.h> in Solaris as well.
--Stefan
--
Stefan Teleman
KDE e.V.
stefan.teleman at gmail.com
More information about the llvm-dev
mailing list