Date: Wed, 2 Sep 1998 12:17:38 -0400 (EDT) From: shmit@kublai.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: gnu/7811: Patch to build Objective C library shared Message-ID: <199809021617.MAA14165@natasya.kublai.com>
next in thread | raw e-mail | index | archive | help
>Number: 7811
>Category: gnu
>Synopsis: Build Objective C library shared for ELF
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 2 09:20:01 PDT 1998
>Last-Modified:
>Originator: Brian Cully
>Organization:
>Release: FreeBSD 3.0-CURRENT i386
>Environment:
FreeBSD 3.0 Current w/ ELF.
>Description:
It was not possible to build the Objective C library shared with
a.out, because the linker would generate symbol relocation warnings
that Bruce didn't like. With ELF, I get no such warnings, so I've
put a conditional in to building that will generate a shared lib
for ELF, but not for a.out.
>How-To-Repeat:
1) Apply patches
2) cd /usr/src/gnu/lib/libobjc
3) make OBJFORMAT=elf
>Fix:
===================================================================
RCS file: /usr/local/cvsroot/FreeBSD/src/gnu/lib/libobjc/Makefile,v
retrieving revision 1.3
diff -c -r1.3 Makefile
*** Makefile 1997/02/22 15:43:02 1.3
--- Makefile 1998/09/02 16:13:22
***************
*** 7,13 ****
--- 7,15 ----
LIB= objc
NOMAN= sorry
+ .if ${OBJFORMAT} != "elf"
NOPIC= does not work
+ .endif
SRCS= archive.c class.c encoding.c hash.c init.c misc.c \
my_objects.c sarray.c selector.c my_sendmsg.c \
>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?199809021617.MAA14165>
