[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avrdude-dev] -static on cygwin
From: |
E. Weddington |
Subject: |
RE: [avrdude-dev] -static on cygwin |
Date: |
Tue, 25 Feb 2003 11:53:53 -0700 |
On 25 Feb 2003 at 9:36, Theodore A. Roth wrote:
> Attached is a patch to implement this, but I think this is the wrong
> approach.
>
> I don't think it should be forced in the configure script. I seem to
> remember that -static is not a portable way to generate static
> binaries. If someone wants to build avrdude with a compiler other than
> gcc, then -static might not be appropriate. Also, what if someone
> wants to build it with the DLLs? They should have that option.
>
> I think the proper way to handle this, is for winavr to do it in it's
> build scripts. For example, here's how I would build static binaries
> on linux:
>
> $ LDFLAGS="-static" ../configure --prefix=$HOME/local/avrdude
> $ make
>
> Avrdude should not set policy on this since it is site specific, as
> already seen in this thread by the different views on whether to
> static link or not.
>
Fair enough. Agreed.
Eric