http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54708
Bug #: 54708 Summary: library must be placed after source for gcc to see it Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: lest...@interia.pl Created attachment 28272 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28272 Output from compilation. In gcc 4.6.3 the option -l must be place after source file in order for library to be visible.