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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -