Static binaries :how to create

1999-03-16 Thread John Leget
hello all,

Ive come accross a couple of static binaries in my search for windoze
replacements, and since i download the occasional source to apps not in
deb's i was wondering how one makes these.

Now from what i understand they do not depend on lib's on my system as
they are compiled in - thus making them much bigger - is this right.

Anyway i have some favorite apps and thought if i can make static
version myself then i dont have to worry about them breaking when i
upgrade in future, which most invariably do
and not all of these are kept up to date with newer libs.

sigh i had hoped that with linux id escape that loathsome M$ style dll
hell goes not.

With my latest upgrade ( running potato ) i broke star office, and now
question wheter if i buy a commercial app or game im going to eventually
have to chuck it, or fork out for a upgrade , Since no doubt newer apps
will require newer lib's etc sighh

Im somewhat dissapointed to find im still stuck with that sort of mess
:( Id hoped to escape it with linux. Of course its ussually not a
problem with free source but ive found unless those are kept up to date
eventually they just break as well.

( Yes i know update them yourself etc, id like to learn c++ but linux
seems to be mostly c, so ive settled on learning the bash shell...
first, then i'll aim higher :) )

Anyway linux now is my preffered OS though ive still got some windoze
apps i have not found replacements for.  ie Quicken, diary, several
games .
And yes i know about wine ( great effort :) )  ( windoze does it better
)- i just want to lose windows completely.


Re: Static binaries :how to create

1999-03-16 Thread Jens B. Jorgensen
The main trouble is you have to create an app from source to statically link 
it. But
yes, you're right. I'd think twice about using lots of static apps though. Not 
only
does it increase your disk space usage it also increases your memory usage. I 
suspect
your main problem is that you have apps installed which are non-debian and 
therefore
don't have dependencies on these old libraries. If you did have packages and 
they
depended on old libraries then the old libraries would've been kept around. I 
myself
had an app which was linked against libc4. It wasn't a package and although the
library hadn't been deinstalled automatically I made the mistake of manually 
removing
it since I couldn't remember why I needed it. Of course a week or two later I
discovered why...

It would be great if there were an easy (graphical?!) way to generate 'stub' 
packages
for apps which haven't been debianized so we could keep all of our shared 
libraries
straight.

John Leget wrote:

 hello all,

 Ive come accross a couple of static binaries in my search for windoze
 replacements, and since i download the occasional source to apps not in
 deb's i was wondering how one makes these.

 Now from what i understand they do not depend on lib's on my system as
 they are compiled in - thus making them much bigger - is this right.

 Anyway i have some favorite apps and thought if i can make static
 version myself then i dont have to worry about them breaking when i
 upgrade in future, which most invariably do
 and not all of these are kept up to date with newer libs.

 sigh i had hoped that with linux id escape that loathsome M$ style dll
 hell goes not.

 With my latest upgrade ( running potato ) i broke star office, and now
 question wheter if i buy a commercial app or game im going to eventually
 have to chuck it, or fork out for a upgrade , Since no doubt newer apps
 will require newer lib's etc sighh

 Im somewhat dissapointed to find im still stuck with that sort of mess
 :( Id hoped to escape it with linux. Of course its ussually not a
 problem with free source but ive found unless those are kept up to date
 eventually they just break as well.

 ( Yes i know update them yourself etc, id like to learn c++ but linux
 seems to be mostly c, so ive settled on learning the bash shell...
 first, then i'll aim higher :) )

 Anyway linux now is my preffered OS though ive still got some windoze
 apps i have not found replacements for.  ie Quicken, diary, several
 games .
 And yes i know about wine ( great effort :) )  ( windoze does it better
 )- i just want to lose windows completely.

 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

--
Jens B. Jorgensen
[EMAIL PROTECTED]