Re: Icons of program
- From: "Ben 'The Con Man' Kahn" <xkahn mail cybersites com>
- To: Steve Dunham <dunham cps msu edu>
- cc: "Tony 'Merc' Mobily" <mobily iternet it>, raster redhat com, gnome-list gnome org
- Subject: Re: Icons of program
- Date: Sun, 19 Apr 1998 16:29:18 -0400 (EDT)
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]