pkgsrc-Users archive

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

Re: Option to create statically linked binaries




To: pkgsrc-users%NetBSD.org@localhost

Subject: Re: Option to create statically linked binaries

From: Makoto Fujiwara <makoto%ki.nu@localhost>

Date: Tue, 25 Jan 2011 10:50:27 +0900


| From: Christopher Berardi <cberardi%natoufa.com@localhost>
> Is there an option to create a statically linked binary? Would such an option
> be recursive (statically linking all the dependencies of the dependencies)? 

I had just a simple need to build cvs to be static yesterday. 
( I had for su also before).

I felt it would be convenient if we had globally valid
statement such like:
   BUILD_STATIC=        yes
But the following line makes the same thing.
   LDFLAGS+=  -static
Both are just one line change. So I decline the idea.

But I read the quoted line and understand there may be another
needs. Like in /etc/mk.conf
   PKG_BUILD_STATIC=    yes

(Too much work and getting small ? )
Thanks,
---
Makoto Fujiwara, 



References:

Option to create statically linked binaries
From: Christopher Berardi




Prev by Date: Option to create statically linked binaries

Next by Date: Re: PostgreSQL and libtool

Previous by Thread: Option to create statically linked binaries

Next by Thread: RE: Option to create statically linked binaries

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index