Message-Id: <199908200423.AAA10027@delorie.com> Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Kendall Bennett" Organization: SciTech Software, Inc. To: cygwin AT sourceware DOT cygnus DOT com Date: Thu, 19 Aug 1999 21:21:59 -0800 MIME-Version: 1.0 Content-type: Multipart/Mixed; boundary=Message-Boundary-16014 Subject: Newbie to Cygwin In-reply-to: <37BCB508.B358A72D@dgs.monash.edu.au> X-mailer: Pegasus Mail for Win32 (v3.01d) --Message-Boundary-16014 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Hi Guys, I have installed Cygwin for the first time, and I am starting to play around with it. I have been using DJGPP for some time (and GCC under Linux), so I am not a newcomer to using GCC. However I am trying to build our Win32 libraries with Cygwin but I have a few questions: 1. Our code relies on the mmsystem.h header file from Microsoft, however this header file does not appear to be distributed as part of the Cygwin package. Are the functions from this header in the Cygwin headers? Can I simply use the Microsoft headers from Visual C++ with Cygwin (will it compile them)? I see that the libwinmm.a file is available to link against (well the FAQ mentions it anyway). 2. What is the usual step to compile and link resources with a Cygwin program? I tried the windres program on a simple resource files (attached), but it barfed as follows: windres wmgldog.rc -O coff -o wmgldog.res /C/CYGWIN/CYGWIN~1/H-I586~1/BIN/WINDRES.EXE: can't open font file `begin': No such file or directory DMAKE.EXE: Error code 129, while making 'wmgldog.res' 3. Why is bash and the Win32 tools so so? Is there some way they can be sped up (I am assuming the Win32 console API's and curses are the main performance hit here, both of which are dog slow). Regards, +---------------------------------------------------------------+ | SciTech Software - Building Truly Plug'n'Play Software! | +---------------------------------------------------------------+ | Kendall Bennett | Email: KendallB AT scitechsoft DOT com | | Director of Engineering | Phone: (530) 894 8400 | | SciTech Software, Inc. | Fax : (530) 894 9069 | | 505 Wall Street | ftp : ftp.scitechsoft.com | | Chico, CA 95928, USA | www : http://www.scitechsoft.com | +---------------------------------------------------------------+ --Message-Boundary-16014 Content-type: text/plain; charset=US-ASCII Content-disposition: inline Content-description: Attachment information. The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any another MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. ---- File information ----------- File: wmgldog.rc Date: 29 Jul 1999, 16:15 Size: 1736 bytes. Type: Program-source --Message-Boundary-16014 Content-type: Application/Octet-stream; name="wmgldog.rc"; type=Program-source Content-disposition: attachment; filename="wmgldog.rc" Content-transfer-encoding: BASE64 LyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioNCioNCioJCQkJCQlNZWdhR3JhcGggR3JhcGhpY3Mg TGlicmFyeQ0KKg0KKiAgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQoqDQoqICAgIFRoZSBjb250ZW50 cyBvZiB0aGlzIGZpbGUgYXJlIHN1YmplY3QgdG8gdGhlIFNjaVRlY2ggTUdMIFB1YmxpYw0K KiAgICBMaWNlbnNlIFZlcnNpb24gMS4wICh0aGUgIkxpY2Vuc2UiKTsgeW91IG1heSBub3Qg dXNlIHRoaXMgZmlsZQ0KKiAgICBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRoIHRoZSBMaWNl bnNlLiBZb3UgbWF5IG9idGFpbiBhIGNvcHkgb2YNCiogICAgdGhlIExpY2Vuc2UgYXQgaHR0 cDovL3d3dy5zY2l0ZWNoc29mdC5jb20vbWdsLWxpY2Vuc2UudHh0DQoqDQoqICAgIFNvZnR3 YXJlIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1dGVkIG9uIGFu DQoqICAgICJBUyBJUyIgYmFzaXMsIFdJVEhPVVQgV0FSUkFOVFkgT0YgQU5ZIEtJTkQsIGVp dGhlciBleHByZXNzIG9yDQoqICAgIGltcGxpZWQuIFNlZSB0aGUgTGljZW5zZSBmb3IgdGhl IHNwZWNpZmljIGxhbmd1YWdlIGdvdmVybmluZw0KKiAgICByaWdodHMgYW5kIGxpbWl0YXRp b25zIHVuZGVyIHRoZSBMaWNlbnNlLg0KKg0KKiAgICBUaGUgT3JpZ2luYWwgQ29kZSBpcyBD b3B5cmlnaHQgKEMpIDE5OTEtMTk5OCBTY2lUZWNoIFNvZnR3YXJlLCBJbmMuDQoqDQoqICAg IFRoZSBJbml0aWFsIERldmVsb3BlciBvZiB0aGUgT3JpZ2luYWwgQ29kZSBpcyBTY2lUZWNo IFNvZnR3YXJlLCBJbmMuDQoqICAgIEFsbCBSaWdodHMgUmVzZXJ2ZWQuDQoqDQoqICA9PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT0NCioNCioNCiogRGVzY3JpcHRpb246CVJlc291cmNlIGZpbGUgZm9y IE1HTERPRyBzYW1wbGUgYXBwLg0KKg0KKg0KKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi8NCg0K I2lmbmRlZiBXT1JLU0hPUF9JTlZPS0VEDQogICNpbmNsdWRlIDx3aW5kb3dzLmg+DQojZW5k aWYNCiNpbmNsdWRlICJ3bWdsZG9nLnJoIg0KDQpBcHBJY29uIElDT04gIndtZ2xkb2cuaWNv Ig0KDQpBcHBBYm91dCBESUFMT0cgMjIsIDE3LCAxNDQsIDc1DQpTVFlMRSBXU19QT1BVUCB8 IFdTX0RMR0ZSQU1FIHwgMHg0DQp7DQogQ1RFWFQgIk1HTCAlcyBmb3IgV2luZG93cyIsIElE Q19WRVJTSU9OX1NUUiwgMCwgMTAsIDE0NCwgOA0KIENURVhUICJTYW1wbGUgQXBwbGljYXRp b24iLCAtMSwgNDAsIDI1LCA2NCwgOA0KIENURVhUICJDb3B5cmlnaHQgKGMpIDE5OTYgU2Np VGVjaCBTb2Z0d2FyZS4iLCAtMSwgNiwgMzksIDEzMiwgOQ0KIERFRlBVU0hCVVRUT04gIk9L IiwgSURPSywgNTYsIDU1LCAzMiwgMTQsIFdTX0dST1VQDQp9DQoNCkFwcE1lbnUgbWVudQ0K YmVnaW4NCiAgICBQT1BVUCAiJkZpbGUiDQogICAgICAgIGJlZ2luDQogICAgICAgICAgICBN RU5VSVRFTSAiJkFib3V0Li4uIiAgICAgICAgICwgTUVOVV9BQk9VVA0KICAgICAgICAgICAg TUVOVUlURU0gIkUmeGl0IiAgICAgICAgICAgICAsIE1FTlVfRVhJVA0KICAgICAgICBlbmQN CmVuZA0KDQo= --Message-Boundary-16014 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --Message-Boundary-16014--