Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2000 14:21:11 -0700 (PDT)
From:      nm@web.am
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/19957: request for static linked make
Message-ID:  <20000715212111.C01F437B7E1@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         19957
>Category:       bin
>Synopsis:       request for static linked make
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 15 14:30:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Gaspar Chilingarov
>Release:        5.0-current
>Organization:
WEB Ltd., http://www.web.am
>Environment:
>Description:
Because i'm using -current version i frequently get corrupted libc - so the one way to avoid this problem is to put /dev/ad :) in other computer mount it there and overwrite with old working version .

i have suggestion to have /*also*/ staticaly linked make to use it in case when make fails to load .

here it is a small patch to be plased in /usr/src/usr.bin/make.static

if you find this useless you can close pr without confirming with me.

>How-To-Repeat:
hmm .... cat /etc/tty > /usr/bin/libc.so 
:)
do not forget to remove schg flag :)


>Fix:
PROG=   make.static
NOSHARED=yes
.PATH: ${.CURDIR}/../make
CFLAGS+= -I${.CURDIR}/../make
SRCS=   arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \
    make.c parse.c str.c suff.c targ.c var.c util.c
SRCS+=  lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \
    lstDatum.c lstDeQueue.c lstDestroy.c lstDupl.c lstEnQueue.c \
    lstFind.c lstFindFrom.c lstFirst.c lstForEach.c lstForEachFrom.c \
    lstInit.c lstInsert.c lstIsAtEnd.c lstIsEmpty.c lstLast.c \
    lstMember.c lstNext.c lstOpen.c lstRemove.c lstReplace.c lstSucc.c
.PATH:  ${.CURDIR}/../make/lst.lib
NOMAN=yes
.include <bsd.prog.mk>



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000715212111.C01F437B7E1>