compiling and linking mechanics
wynfield@gmail.com
wynfield@gmail.com
Sun Dec 15 01:57:00 GMT 2013
Thanks for summing up the exact problem and solution.
I apprecaite it.
Christopher Faylor wrote:
> On Sat, Dec 14, 2013 at 11:51:05PM +0900, wynfield@gmail.com wrote:
> >With the current set of gcc and loader, does there still exist the
> >diffence that makes porting GNU Linux programs a challenge sometimes.
> >I haven't build for a while, but I recall that the order of libraries
> >in a ? linking process on the command line wouldn't work as they do in
> >on GNU Linux systems.
> >
> >Is this still the case? Is there a document somewhere that describes
> >the situation well and how to modify arguments to enable a clean link
> >on cygwin?
>
> It isn't incredibly difficult to understand: Some poorly written makefiles
> put a -lib before the object files which rely on them. That works by
> coincidence in Linux but doesn't work on Windows. So put the -libraries
> last.
> .... END
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list