Simple-Web-Server
ianamason opened this issue · 1 comments
ianamason commented
cib@witch:~/Repositories/Simple-Web-Server/build$ CC=wllvm CXX=wllvm++ cmake ..
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- system
-- thread
-- coroutine
-- context
Boost include dir: /usr/include
Boost libraries: /usr/lib/i386-linux-gnu/libboost_system.so;/usr/lib/i386-linux-gnu/libboost_thread.so;/usr/lib/i386-linux-gnu/libboost_coroutine.a;/usr/lib/i386-linux-gnu/libboost_context.so;/usr/lib/i386-linux-gnu/libpthread.so
OpenSSL include dir: /usr/include
OpenSSL SSL libraries: /usr/lib/i386-linux-gnu/libssl.so
OpenSSL crypto libraries: /usr/lib/i386-linux-gnu/libcrypto.so
Threads libraries/flag: -lpthread
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cib/Repositories/Simple-Web-Server/build
cib@witch:~/Repositories/Simple-Web-Server/build$ make
Scanning dependencies of target http_examples
[ 50%] Building CXX object CMakeFiles/http_examples.dir/http_examples.cpp.o
Linking CXX executable http_examples
WARNING:Did not recognize the compiler flag "-rdynamic"
[ 50%] Built target http_examples
Scanning dependencies of target https_examples
[100%] Building CXX object CMakeFiles/https_examples.dir/https_examples.cpp.o
Linking CXX executable https_examples
WARNING:Did not recognize the compiler flag "-rdynamic"
[100%] Built target https_examples
cib@witch:~/Repositories/Simple-Web-Server/build$
ianamason commented
From https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html :
-rdynamic
Pass the flag -export-dynamic to the ELF linker, on targets that support it. This instructs the linker to add all symbols, not only used ones, to the dynamic symbol table. This option is needed for some uses of dlopen or to allow obtaining backtraces from within a program.