Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Dario Alcocer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15179.2493.701585.417464@coyote.priv.helixdigital.com> Date: Tue, 10 Jul 2001 06:57:17 -0700 To: "Michael Scheibler" Cc: cygwin AT cygwin DOT com Subject: Re: application icons In-Reply-To: <038f01c10946$9cdeeaa0$6d07a8c0@miro> References: <030e01c1093b$0d089030$6d07a8c0 AT miro> <15179 DOT 1099 DOT 799991 DOT 279912 AT coyote DOT priv DOT helixdigital DOT com> <038f01c10946$9cdeeaa0$6d07a8c0 AT miro> X-Mailer: VM 6.76 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid >>>>> "Michael" == Michael Scheibler writes: Michael> Well, actually I wanted to know how to link an .exe with Michael> an icon. I tried this: Michael> echo "iconid icon file.ico" | windres -O coff -o file.o Michael> gcc .... file.o -o binary.exe Michael> What am I doing wrong? Not sure, but why don't you take a look at the Tcl/Tk sources? I'm pretty sure they link in icons for cygtclsh80.exe and cygwish80.exe (at least, the programs show an icon other than the ugly default one.) The makefile should offer some clues on how to link an icon in. Another good program to look at is the Setup application. The sources for it are in either 'cygwin' or 'common' (I don't remember at the moment.) The Cygwin setup program would show you how to link a straight Win32 application (i.e. cygwin.dll isn't linked to.) The sources for tcltk are available at any Cygwin mirror. For the list of mirrors, check at http://www.cygwin.com. -- Dario Alcocer -- Sr. Software Developer, Helix Digital Inc. alcocer AT helixdigital DOT com -- http://www.helixdigital.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/