Date: Wed, 02 Dec 1998 07:52:54 +0100 From: Andreas Strobel <andreas.strobel@dbag.ulm.daimlerbenz.com> To: freebsd-questions@FreeBSD.ORG Subject: linking Message-ID: <3664E3C6.41C67EA6@dbag.ulm.daimlerbenz.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3664E3C6.41C67EA6>