Web lists-archives.org

Re: [Mingw-users] Odd behavior in g++ 4.2.1 sjlj




* Brian Dessent wrote on Mon, Nov 05, 2007 at 05:11:21PM CET:
> Pau Garcia i Quiles wrote:
> 
> > Thank you. I wonder why the same code, with the same Makefiles, builds
> > fine on Linux, no need to change the order of the -l parameters to the
> > linker :-?
> 
> Because ELF and PE work differently.
> 
> BTW you see the same behavior on ELF if you are doing static linking; it
> is only in the shared case that order does not matter.

It matters even in the shared case for ELF.  The consequences just
happen to be visible less frequently, and the issue is off topic here.

Cheers,
Ralf

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users