Web lists-archives.com

Re: [Mingw-users] libaddr2line.a: dependencies of libbfd.a?




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/10/16 08:20, Jannick wrote:
> Compile main.c below [snipped] with
> 
> mingw32-gcc main.c -o t.exe -lbfd -liberty -lintl -lz
> 
> to see that t.exe is dependent on libintl-8.dll.

If your objective is to eliminate DLL dependencies, (other than the
system DLLs):

   $ mingw32-gcc -static main.c -o t.exe -lbfd -liberty \
      -lintl -liconv -lz

will do the trick, (and you still get the i18n support).

   $ objdump -x t.exe | grep -i 'dll name'
           DLL Name: ADVAPI32.DLL
           DLL Name: KERNEL32.dll
           DLL Name: msvcrt.dll
           DLL Name: msvcrt.dll
           DLL Name: USER32.dll

OTOH, if you are really determined to drop i18n support, then you will
have to build your own NLS disabled copies of the libraries, from
source, (as you have done).  IMO, i18n support is a useful feature for
a majority of users, and I don't want to clutter our FRS space with a
potentially confusing mish-mash of NLS disabled packages, alongside
their (more generally useful) NLS enabled counterparts.

- -- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJX9TLDAAoJEMCtNsY0flo/jt4P/jjWgwE65fyyV9VMtR/6VMiq
Nxlrjr0YoD/MtuSykB4u/WOgBWW2T5ibAW1fso6FW7IlJhldnvSjc2XynlCayJs+
6vNitVySfsvFtT6P4p1tnxWvXg52Sl/r8EQ7ApbnC4/Pr89I4ehi69KHMl1kFVtl
Banbm1j0cL7P9SXFR/Ce5VcdSAC82HAmvhqfgKrepaFg8isN/gwewufdmDUYFkMh
M/mM2coWIIbGQ1EMrm3E5Ws1Ysvb/XKR/xwthp7BmzRS8JjW3IiaWSsJVsfFd/OA
bp65LTyBrqQmlSU3zhbdm146WRSnax+XRIPri4xcv64kPtkBzymjF+OElMe4jsRA
CBAHGCfz9p9Vf1AHX0yWktCIKTeQb1+ckGzCn6uCgmDD9XJ1oJqBQWBS6fkQD/wZ
xZLcEF8Av5q2bndYvPgSNIT5GzBtn3uQPD20qhLgXpsjjbPgVf+RnQVjtg6InUui
EGo2atwv09IPMQ5PD6alG7DJNBdPbD/CoNRkHXlJbKicgDZZfzo81pyfcOmV3Hi5
8sg9xgzyVq8KDQXcP+vU7q5lPUWO2TGKOih5vtTwgGFsSQbiVPgkHVaHtcaetCEg
5Ps3ywzKoLyatstn5k814cl97z3krYerBiWUi9VtbIvorfWOGJXdvm6CdgizGzNB
LC0nwr0OoD7/yi4E/Trh
=HaE0
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe