Mailing List Archive

mingw/cpd problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi --

With mingw/cpd, I've successfully compiled a 'libgcrypt.a'. My
next step is to create a 'libgcrypt.dll', but the instructions on
how to do so in mingw/cpd's README file are quite vague. The best
I've been able to do results in creating an EXE file instead of a
DLL (!):

mingw32 gcc -c -dll test.c
mingw32 gcc -Wl,--base-file=a.base test.o
mingw32 dlltool --as `mingw32 --get-path as` --base-file a.base \
-e exports.o test.o
mingw32 gcc test.o exports.o -o test.dll

What am I doing wrong?

-- low halo

P.S. The 'WkLib' package fails to compile on Debian stable (3.0r2).
Bit-rot, I guess?

- --
low halo <lowhalo at-s1gn hacktivismo d0t c0m>
Defender of Truth and Liberty
http://ultramagnetic.sourceforge.net/
http://www.hacktivismo.com/

http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3AFB17F6
9AB1 FF04 016F 89A3 5B4E A585 BDBB 5FBE 3AFB 17F6

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Your Mother)

iD8DBQFAy7+kvbtfvjr7F/YRAvqDAJ9ACkyZFGzDlKdVX3sxXzcM7rN0nwCeKIa8
jU7Xc+8xbsQ96T+u0nUAb6Q=
=nAs3
-----END PGP SIGNATURE-----




Concerned about your privacy? Follow this link to get
secure FREE email: http://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
http://www.hushmail.com/services.php?subloc=messenger&l=434

Promote security and make money with the Hushmail Affiliate Program:
http://www.hushmail.com/about.php?subloc=affiliate&l=427
mingw/cpd problem [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi --

With mingw/cpd, I've successfully compiled a 'libgcrypt.a'. My
next step is to create a 'libgcrypt.dll', but the instructions on
how to do so in mingw/cpd's README file are quite vague. The best
I've been able to do results in creating an EXE file instead of a
DLL (!):

mingw32 gcc -c -dll test.c
mingw32 gcc -Wl,--base-file=a.base test.o
mingw32 dlltool --as `mingw32 --get-path as` --base-file a.base \
-e exports.o test.o
mingw32 gcc test.o exports.o -o test.dll

What am I doing wrong?

-- low halo

P.S. The 'WkLib' package fails to compile on Debian stable (3.0r2).
Bit-rot, I guess?

- --
low halo <lowhalo at-s1gn hacktivismo d0t c0m>
Defender of Truth and Liberty
http://ultramagnetic.sourceforge.net/
http://www.hacktivismo.com/

http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3AFB17F6
9AB1 FF04 016F 89A3 5B4E A585 BDBB 5FBE 3AFB 17F6

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Your Mother)

iD8DBQFAy7+kvbtfvjr7F/YRAvqDAJ9ACkyZFGzDlKdVX3sxXzcM7rN0nwCeKIa8
jU7Xc+8xbsQ96T+u0nUAb6Q=
=nAs3
-----END PGP SIGNATURE-----




Concerned about your privacy? Follow this link to get
secure FREE email: http://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
http://www.hushmail.com/services.php?subloc=messenger&l=434

Promote security and make money with the Hushmail Affiliate Program:
http://www.hushmail.com/about.php?subloc=affiliate&l=427
Re: mingw/cpd problem [ In reply to ]
On Thu, 17 Jun 2004 17:33:12 -0700, low halo, Defender of Truth and Liberty said:

> next step is to create a 'libgcrypt.dll', but the instructions on
> how to do so in mingw/cpd's README file are quite vague. The best
> I've been able to do results in creating an EXE file instead of a
> DLL (!):

Isn't there a script in the CVS to build a dll - at least partly?
sorry, I don't have the time now to look into this.

> P.S. The 'WkLib' package fails to compile on Debian stable (3.0r2).
> Bit-rot, I guess?

Very liklely. I try not to use this code anymore and haven't build it
for a long time.

Werner