This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to embed an icon to gcj compiled binary?


Wu, Lei wrote:
>>You can use a resource editor like PE Resource Explorer:
> 
> i dont think this works with gcj binaries. resource editors dont recognize 
> gcj PE files 

As far as I can tell, binaries created by GCJ are just
ordinary PE files - did you encounter any difficulties
that made you think otherwise?

You can use windres (available with MinGW or separately
from the binutils package) to embed icons and other
resources in your executable. It works like "rc" (Resource
Compiler) that comes with MSVC (and perhaps the Win32
Platform SDK).

Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT gmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]