Article View: gnu.gcc.bug
Article #6323gcc 2.7.2 and FreeBSD
From: Thomas Graichen
Date: Tue, 19 Dec 1995 00:00
Date: Tue, 19 Dec 1995 00:00
37 lines
2103 bytes
2103 bytes
hello
FreeBSD (2.1.0-RELEASE but as far as i know all from 2.0-RELEASE to
2.2-CURRENT - and i'm shure 1.x too) doesn't support weak symbols in
the assembler - thus you have to aplly the following patch to a clean
gcc-2.7.2 tree to get a g++ you may compile libg++-2.7.1 with -> could
you please add this to the next distribution so that gcc then builds
clean and to a working g++ under FreeBSD in the next release
thanks in advance
t
--- gcc-2.7.2/config/i386/freebsd.h.org Tue Dec 19 17:48:41 1995
+++ gcc-2.7.2/config/i386/freebsd.h Tue Dec 19 17:49:05 1995
@@ -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
_______________________________________________________||___________________
__||
Perfection is reached, not when there is no __|| thomas graichen
longer anything to add, but when there __|| freie universitaet berlin
is no longer anything to take away __|| fachbereich physik
__||
- Antoine de Saint-Exupery - __|| graichen@mail.physik.fu-berlin.de
___________________________||__________________graichen@FreeBSD.org_________
Technical Details
Message-ID:
<199512191954.UAA29473@mordillo>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,877e01769d167232,start X-Google-Attributes: gid113d02,public From: graichen@omega.physik.fu-berlin.de (Thomas Graichen) Subject: gcc 2.7.2 and FreeBSD Date: 1995/12/19 Message-ID: <199512191954.UAA29473@mordillo> X-Deja-AN: 122307803 distribution: gnu sender: daemon@cis.ohio-state.edu organization: GNUs Not Usenet newsgroups: gnu.gcc.bug