|
From: | grischka |
Subject: | Re: [Tinycc-devel] Using resource files with tcc. How do I do that? |
Date: | Tue, 20 Nov 2007 13:34:57 +0100 |
From: "Knut Flock": > For a few days now I have tried to figure out how to use resource > files to make a simple windows application with tcc. tcc cannot currently link .res files. However Mike Henning has written a "LinkRes2Exe" tool that you can use to link .res files to an .exe: http://lists.gnu.org/archive/html/tinycc-devel/2006-10/msg00018.html http://lists.gnu.org/archive/html/tinycc-devel/2006-10/msg00019.html http://lists.gnu.org/archive/html/tinycc-devel/2006-10/msg00047.html Note that it requires a dummy statement somewhere in your C code: int dummy __attribute__((section(".rsrc"))); Next tcc version probably will link coff format resources directly (as from 'windres -O coff ...'). --- grischka
[Prev in Thread] | Current Thread | [Next in Thread] |