c - library not found when compiling with gcc on MacOS El capitan -
i have problem when compiling gcc on macosx el capitan. i've reinstall homebrew , gcc still can't compile simplest program. have got no idea happening in here:
koplo$ gcc test.c -o test ld: library not found -lgcc collect2: error: ld returned 1 exit status
i able solve same problem following code.
add library search paths in build settings , make sure select recursive, delete other library paths might absolute paths.
$(project_dir)
may you.
Comments
Post a Comment