Re: Icons of program



On 19 Apr 1998, Steve Dunham wrote:

> Couldn't you just use objcopy to add an additional section
> to the executable with the icon in it?  (Granted, this is sick and
> twisted, but it is possible.)
> 
> Actually, you can.  I just added "eeprom.c" to ls, with a section name
> of ".gnome" and the resulting executable runs fine:
> 
>   objcopy --add-section=.gnome=eeprom.c ls ls.new
> 
> This could be used to add icons to legacy binaries too...

	This is exactly what I'm talking about!  Thank you.

						-Ben

------------------------------------ |\      _,,,--,,_  ,) ----------
Benjamin Kahn                        /,`.-'`'   -,  ;-;;'
(212) 924 - 2220                    |,4-  ) )-,_ ) /\
ben@cybersites.com --------------- '---''(_/--' (_/-' ---------------
 If you love something, write it in C; if it compiles, it is yours; 
                     if it doesn't, it never was. 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]