avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] -static on cygwin


From: Sander Pool
Subject: Re: [avrdude-dev] -static on cygwin
Date: Tue, 25 Feb 2003 10:04:42 -0800

----- Original Message -----
From: "Joerg Wunsch" <address@hidden>
> Ideally, i think he'd like to get it without any additional DLLs,
> because DLLs are always a pain in the butt to handle.  What if the
> next application to install comes with a different version of that
> DLL?  You probably know the dilemma better than me. ;-)  (I don't have
> Windows, and don't want one. :)

This is only a dilemma if you build with different versions of Cygwin or
MinGW which I doubt Eric is doing.

The Windows .dll problem was/is one of it's achiles heels for sure. I guess
Unix learnt to deal with .so's ok. Or maybe you don't have a flavor of the
month to contend with.

>
> > If you link statically you wouldn't save any space, right?
>
> You will, unless your application needs /any and all/ functions out of
> the libraries. ;-)  Also, it's fairly unlikely that any other program
> running at the same time might really share some code from those DLLs,
> so the point of a shared library is not met anyway.  (There's one other
> application for a shared library, to provide a run-time plugin that can
> easily be exchanged, but that doesn't apply here either.)

The idea is not so much run-time space saving but store-time. Of course disk
space is cheap so who cares about a few MB.

Just wondering what the reason is, I don't care either way.

    Sander







reply via email to

[Prev in Thread] Current Thread [Next in Thread]