[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mingw-users
Subject:    Re: [Mingw-users] Installing SQLite
From:       Brian Dessent <brian () dessent ! net>
Date:       2007-06-10 12:13:59
Message-ID: 466BEB07.3CCDE39 () dessent ! net
[Download RAW message or body]

Timo Schlüßler wrote:

> Thanks very very much :) .... such a simple mistake .... now it works fine!!
> (On linux gcc the order is not important ...)

The order is not important on linux *only* in the case of linking to
shared libraries; when linking against static archives the order is just
as critical as on PE systems.  Or alternatively put: on PE systems,
linking to shared libraries happens with the same linker machinery as
static libraries (i.e. an import library is a static archive of function
thunks.)

Thus it is not something you can ignore or dismiss as a windows-ism
since you never know if "-lfoo" is present on the user's system as a
static or shared library, even on Linux.

Brian

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic