From owner-freebsd-hackers Thu Apr 3 07:57:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA29231 for hackers-outgoing; Thu, 3 Apr 1997 07:57:54 -0800 (PST) Received: from gw.itfs.nsk.su (ns.itfs.nsk.su [193.124.36.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id HAA29200 for ; Thu, 3 Apr 1997 07:57:06 -0800 (PST) Received: from itfs.UUCP (uucp@localhost) by gw.itfs.nsk.su (8.6.12/8.6.12) with UUCP id WAA25270 for hackers@freebsd.org; Thu, 3 Apr 1997 22:45:50 +0700 Received: by itfs.nsk.su; Thu, 3 Apr 97 23:06:02 +0600 (NSK) Received: (from daemon@localhost) by news.itfs.nsk.su (8.7.5/8.6.12) id WAA21246; Thu, 3 Apr 1997 22:40:30 +0700 (NSD) From: "Nickolay N. Dudorov" To: hackers@freebsd.org Subject: FreeBSD Elf-Kit and dynamic loading Date: 3 Apr 1997 15:40:29 GMT Message-ID: <5i0j1d$jtk@news.itfs.nsk.su> Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Today I try to install ELF-Kit on my 2.2-RELEASE system. I can succesfully (?) build binutils-2.7, gcc-2.7.2.1, almost all libraries from /usr/src/lib and libg++-2.7.2. After that I can test elf-cc and elf-g++ on provided in kit hello.c and hello.cc - AND they works. And after that I discovered that 'file hello' says: hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD) and file 'hello' is 47761 bytes long. So, there is a question - is there any possibility to build "dynamic ELF" program ? My elf-gcc produce identical results with and without '-static' flag. N.Dudorov