Linux下Eclipse編譯時,報recompile with -fPIC錯誤,解決方法

今天編譯一個包含有sqlite3.c的工程時報告c++ relocation R_X86_64_32 against `‘。rodata' can not be used when making a shared object; recompile with -fPICsql 錯誤。解決方法是:右鍵Eclipse工程,propertise->c/c++ build->settings->GCC C
相關文章
相關標籤/搜索