*BSD News Article 78423


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!alpha.sky.net!news.sprintlink.net!news-chi-13.sprintlink.net!newsreader.sprintlink.net!news.sprintlink.net!news-ana-24.sprintlink.net!news.sprintlink.net!new-news.sprintlink.net!howland.erols.net!newsfeed.internetmci.com!in1.uu.net!kithrup.com!sef
From: sef@kithrup.com (Sean Eric Fagan)
Subject: Re: G++/GCC 2.7.2 Install Probs again
Organization: Kithrup Enterprises, Ltd.
Message-ID: <Dxuozz.4p1@kithrup.com>
References: <51keob$n5h@hptemp1.cc.umr.edu>
Date: Tue, 17 Sep 1996 00:21:35 GMT
Lines: 24

In article <51keob$n5h@hptemp1.cc.umr.edu>,
PJ Gray <pgray@pgray.student.umr.edu> wrote:
>I having problems installing gcc 2.7.2/libg++ 2.7.2 on my 2.1.0
>system.  I know about the weak symbols problem, but I am not sure
>how to fix it. Does anyone have any hints or documention on how I
>could accomplish this?

In gcc-2.7.2/config/i386, apply the following patch to freebsd.h:

--- freebsd.h.~1~	Thu Jun 15 06:44:56 1995
+++ freebsd.h	Mon Sep 16 17:18:50 1996
@@ -120,12 +120,6 @@
 #define TYPE_ASM_OP	".type"
 #define SIZE_ASM_OP	".size"
 
-/* This is how we tell the assembler that a symbol is weak.  */
-
-#define ASM_WEAKEN_LABEL(FILE,NAME) \
-  do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
-       fputc ('\n', FILE); } while (0)
-
 /* The following macro defines the format used to output the second
    operand of the .type assembler directive.  Different svr4 assemblers
    expect various different forms for this operand.  The one given here