linking with clang++ on OS X generates lots of symbol not found errors

后端 未结 2 1992
清歌不尽
清歌不尽 2020-11-28 09:55

I\'m trying to compile some C++ code (including C++11 features) on OS X 10.8 using the clang++ compiler. I have a makefile that generates the object files OK, then on the co

2条回答
  •  失恋的感觉
    2020-11-28 10:23

    As a side note, faced with the same error message, I discovered I needed to use gcc -lstdc++ -lLibraryName ... (the stdc++ part being needed).

    See also https://github.com/JonathanSalwan/Triton/issues/243

提交回复
热议问题