자주 사용하는, 유용한, 추천 gcc 옵션


gcc


-Wall

# warning all


-std=c11

# c11 standard (ex: for(int i=0))


-g

# debug


-fPIC -shared

# so 파일 컴파일 시



WRITTEN BY
hojongs
블로그 옮겼습니다 https://hojongs.github.io/