This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Forcing a complete static binary of eggdrop

Old posts that have not been replied to for several years.
Locked
s
starrider

Forcing a complete static binary of eggdrop

Post by starrider »

I want to build a binary of eggdrop that has all the libs staticly linked. I tried "make static" but that still resulted in a binary that required dynamic links. This would make my life so much simpler as I'm running the bot inside a chroot.

Thanks
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You may want to try some of the older pre-compiled versions of eggdrop for this.
k
koan

Post by koan »

You can always go to the top of the Makefile and manually edit the gcc flags to include the static option..


Then go towards the bottom where is does the linking with ld and add the static flag to the ld call..
Locked