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: Theodore A. Roth
Subject: RE: [avrdude-dev] -static on cygwin
Date: Tue, 25 Feb 2003 09:36:08 -0800 (PST)

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.

Ted

Attachment: static.diff
Description: Text document


reply via email to

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