| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| Message-ID: | <001f01bf8952$205024b0$a8a11dcb@ihug.co.nz> |
| From: | "Ross Smith" <ross DOT s AT ihug DOT co DOT nz> |
| To: | "alexx" <alexx AT inbox DOT lv>, <Cygwin AT sourceware DOT cygnus DOT com> |
| References: | <38C682CB DOT C9224FCD AT inbox DOT lv> |
| Subject: | Re: resource files |
| Date: | Thu, 9 Mar 2000 12:00:40 +1300 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 5.00.2919.6600 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
From: "alexx" <alexx AT inbox DOT lv>
> Hi all!
> I want to use icons and other resources in my win32 program. Is it
> possible to compile and use .res files in Cygwin/mingw32? Or maybe
> there's another way for embedding resources into exe? Thanks for help!
Use windres to compile the resource file:
windres -i foo.rc -o foo.o
Then just include the .o file in the link step along with the rest of
the modules. (Native Windows compilers use a .res file as an
intermediate step between .rc and .obj; this isn't needed with Cygwin's
windres.)
--
Ross Smith <ross DOT s AT ihug DOT co DOT nz> The Internet Group, Auckland, New Zealand
========================================================================
"So that's 2 T-1s and a newsfeed ... would you like clues with that?"
-- Peter Da Silva
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |