From owner-freebsd-questions Tue Dec 1 22:53:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA17636 for freebsd-questions-outgoing; Tue, 1 Dec 1998 22:53:25 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from saturn.dbft.daimlerbenz.com (saturn.DaimlerBenz.com [141.113.7.197]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA17625 for ; Tue, 1 Dec 1998 22:53:22 -0800 (PST) (envelope-from andreas.strobel@dbag.ulm.daimlerbenz.com) Received: (from uucp@localhost) by saturn.dbft.daimlerbenz.com (8.7.1/8.7.1) id HAA02212 for ; Wed, 2 Dec 1998 07:59:42 +0100 (MET) Received: from axmail.dbag.ulm.daimlerbenz.com(53.16.7.62) by saturn.dbft.daimlerbenz.com via smap (3.2) id xma002206; Wed, 2 Dec 98 07:59:38 +0100 Received: from dagobert by axmail.dbag.ulm.DaimlerBenz.COM (5.65v4.0/1.1.8.2/9-Juli-1996-a) id AA32350; Wed, 2 Dec 1998 07:53:03 +0100 Received: from klarabella by dagobert.dbag.ulm.DaimlerBenz.COM (4.1/SMI-4.1-18.9.1995-gm) id AA12981; Wed, 2 Dec 98 07:52:55 +0100 Message-Id: <3664E3C6.41C67EA6@dbag.ulm.daimlerbenz.com> Date: Wed, 02 Dec 1998 07:52:54 +0100 From: Andreas Strobel Organization: Daimler Benz AG X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 4.1.3 sun4c) Mime-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: linking Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, i am using the 3.0 Release of FreeBSD. I want to link several objectfiles and libraries toghter to runable program. Now i have the problem that the FreeBSD libraries are in elf format and some libraries (Accelerated X and OpenGL) are in the old format. The linker can't link this libraries toghter. To look to the format of the libraries i use the command objdump to do this. For the new FreeBSD libraries i get elf32-i386, for the older ones i get "File format not recognized". Without the format string it is impossible to link several libraries with different objectformat with the -b flag of the linker toghter. Have anybody a idea to link a program in this mixed mode? Which is the format string for the old aout files? By the way i set the objformat variable of the system to aout and make a make world to build a complete aout system. Than everthing work fine, but i think it is better for the future to work in this mixed mode to have all libraries of the system in elf format and only the Accelerated X and OpenGl in the old aout format. Thanks for help. Bye Andreas Strobel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message