TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: All
from: Kai Richter
date: 2006-07-15 11:01:20
subject: Bug report hpt 1.4-stable static compile

If you've found an error in husky program, please fill the
following form and post report by one of these ways:
- post into fidosoft.husky FIDOnet echo

-------------------------------------------------------------

                       Bug Report

Operation system version _Linux/gcc 2.95.3

Program version _hpt/lnx 1.4.0-sta 16-02-06

Bug description _Makefile do not obey DYNLIBS setting of huskymak.cfg

Can bug be repeated? [x]yes  [ ]no

Part of config (related to the bug):

huskymak.cfg:
-----------------
DYNLIBS=0

# manually added -static as suggested by comments in file
# no effect during compilation of hpt, too
WARNFLAGS=-Wall -static

# C-compiler: optimization
OPTCFLAGS=-c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -static

ifeq ( $(DYNLIBS), 0 )
  ifeq ($(OSTYPE), UNIX)
      WARNFLAGS+= -static
      OPTCFLAGS+= -static
  endif
endif
-----------------

found in hpt/Makefile:
-----------------
#ifneq ($(DYNLIBS), 1)
#  LFLAGS += -static -lc
#endif
-----------------

I am not used to makefiles and compiling, i got it running somehow but don't
know about the consequences of my changes. There must be a reason why
-static compilation was de-activated by Makefile of hpt.

--- GoldED+/LNX 1.1.4.7
* Origin: Monobox (2:244/1351.7)
SEEN-BY: 633/267 270
@PATH: 244/1351 1500 1200 2432/200 2411/413 20/11 237/9 53 261/38 123/500
@PATH: 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.