Timeline for Linker error: /usr/bin/ld: cannot find -lgcc_s
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 30, 2014 at 6:16 | comment | added | Netch | @Alex please don't mix gcc and ld flags. They are totally different. If you want static linking in gcc, use -static. Also you could be interesting in -static-libgcc. They are tons of undocumented gcc flags because it converts virtually all input flags to internal form before reprocessing, so don't surprise on unexpected result from undocumented flags. | |
| Nov 14, 2013 at 6:44 | comment | added | Alex | The version of gcc installed does not provide any help of -N on the man pages. Without deeper investigation I cannot say what -N does or did. | |
| Nov 13, 2013 at 21:43 | comment | added | Anko | Why does this work? I can only figure out that man ld suggests -N disables linking against shared libraries (among many other things). | |
| Nov 13, 2013 at 16:57 | review | Low quality posts | |||
| Nov 13, 2013 at 17:06 | |||||
| Nov 13, 2013 at 16:42 | history | answered | Alex | CC BY-SA 3.0 |