Linker for Clang

Viewed 24385

Which linker do I use for Clang?

If I use Clang or GNU linker (ld) as the linker, I get massive amounts of errors as if I didn't link with the standard library.

g++ $(OBJS) -o $(BINDIR)/obtap

It seems I have to use g++ in order to link my Clang objects.

3 Answers
Related