delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/10/09:58:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Dario Alcocer <alcocer AT helixdigital DOT com>
MIME-Version: 1.0
Message-ID: <15179.2493.701585.417464@coyote.priv.helixdigital.com>
Date: Tue, 10 Jul 2001 06:57:17 -0700
To: "Michael Scheibler" <michael DOT scheibler AT onevision DOT de>
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 <michael DOT scheibler AT onevision DOT de> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019