Skip to Content.
Sympa Menu

baslinux - Re: [BL] compiling a new BL package

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Ken Martwick <kenm AT efn.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] compiling a new BL package
  • Date: Sat, 2 Aug 2003 13:00:21 -0700 (PDT)

>James Miller wrote:
>>
>> how does one "make a completely static binary"?
>> Some extra options/arguments must be required
>> during the process, right? Like . . . ?
> I hope somebody else is going to answer this, because I'm
> just a hacker when it comes to compiling. I know that when

I'm certainly not a compiling guru, but I have had good luck
examining the makefile in the highest directory and adding
-static to the "LDFLAGS" entry (these are the commands to the
linker) I have also done fairly well adding -static to the
"CFLAGS" entry in the makefile. Of course, if the configure
script gives an option to compile a static version, use it!
If you do need to modify the makefile, run the configure
script first; it will overwrite the makefile(s).
Ken Martwick





Archive powered by MHonArc 2.6.24.

Top of Page