This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Using gcc under cygwin to compile and link the db2 udb sample c programs
- From: Eric Blake <ebb9 at byu dot net>
- To: ERIC HO <ericmho at shaw dot ca>
- Cc: cygwin at cygwin dot com
- Date: Fri, 23 Dec 2005 06:11:21 -0700
- Subject: Re: Using gcc under cygwin to compile and link the db2 udb sample c programs
- References: <902f392238.92238902f3@shaw.ca>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to ERIC HO on 12/22/2005 2:15 PM:
> I'm wondering whether anyone have used gcc under cygwin (windows xp) to compile and link the db2 udb sample c/cpp programs successfully? I'd appreciate if you could share the steps and command syntax. Under Linux, it is very simple and I just run the make all command. Thanks.
Have you tried running 'make all'? That's normally how it works on
cygwin, too. If you get failures, then it is probably a portability bug
in the package you are trying to compile. Also, most free software
packages require you to run './configure' before the Makefile will exist
to run 'make'. And 'make' is usually shorthand for 'make all', if the
Makefile was built correctly.
- --
Life is short - so eat dessert first!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDq/d584KuGfSFAYARAoLHAJ9TLJn/3EghS1/4iFKM1J2rQbCpUACeN5+0
ftR5RLpgDSucagz60qGkKg8=
=6lDd
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/