From owner-freebsd-questions Thu Apr 30 08:11:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA22233 for freebsd-questions-outgoing; Thu, 30 Apr 1998 08:11:32 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from prometheus.Microchip.COM ([198.175.253.66]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA22217 for ; Thu, 30 Apr 1998 08:11:22 -0700 (PDT) (envelope-from Steve.Shoecraft@microchip.com) Received: by prometheus.Microchip.COM; id AA00420; Thu, 30 Apr 98 08:34:35 MST Received: from loghost(172.16.245.37) by prometheus.Microchip.COM via smap (3.2) id xma000381; Thu, 30 Apr 98 08:34:24 -0700 Received: from chccm2.microchip.com (chccm2.Microchip.COM [172.16.245.42]) by titan.Microchip.COM (8.6.12/8.6.12) with SMTP id IAA22559 for ; Thu, 30 Apr 1998 08:16:03 -0700 Received: from ccMail by chccm2.microchip.com (IMA Internet Exchange 2.1 Enterprise) id 00048828; Thu, 30 Apr 98 08:05:07 -0700 Mime-Version: 1.0 Date: Thu, 30 Apr 1998 08:10:40 -0700 Message-Id: <00048828.1332@microchip.com> From: steve.shoecraft@microchip.com (Steve Shoecraft) Subject: Oracle 7 on FreeBSD To: freebsd-questions@FreeBSD.ORG Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Description: cc:Mail note part Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am running an Oracle 7 server on my FreeBSD box. I got it running using the SCO (ibcs2) emulation. It works great when I'm logged into the machine locally and run sqlplus (or oci applications). The problem arises when I try to use Oracle remotely (like from access using an Oracle 7 driver on my PC). This requires that I have a program called 'tnslsnr' running. I need to have the listener use the TCP protocol. I can't link in the protocol because all of the libraries are SCO and all the object files are SCO. GCC doesn't like that a whole lot. The libraries aren't a big deal. I partially re-wrote the ar command so that it extracts the objects from the SCO libraries. I then re-create a BSD-format library, ranlib it, and it works great. The main problem is the object files. I have tried to find a way to get gcc to link object files to create an executable with no results. I think they are in ELF format. Is this true (maybe COFF)? I don't know a whole lot about SCO... Do I have to re-compile gcc for SCO? Is there a way to compile it so that it will accept SCO objects and create BSD binaries (accecpt one object file type and create a different a.out type)? I would MUCH rather just convert the object files and create BSD binaries. You see, the oracle server and alot of the other binaries can be 're-linked' with other options. The object files (and libraries) are all available to do this. All I have to do is find out 'how.' Can you point me in the right direction? - Steve Steve.Shoecraft@Microchip.COM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message