From owner-freebsd-hackers Fri Feb 1 10: 5:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 48F5A37B405; Fri, 1 Feb 2002 10:05:32 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id g11I1IL55304; Fri, 1 Feb 2002 10:01:18 -0800 (PST) (envelope-from obrien) Date: Fri, 1 Feb 2002 09:59:56 -0800 From: "David O'Brien" To: Dan Nelson Cc: Rahul Siddharthan , ports@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: Port: Intel Fortran (and C++?) compilers Message-ID: <20020201095956.A54683@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20020124184506.B87867@lpt.ens.fr> <20020124192136.GG87583@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020124192136.GG87583@dan.emsphone.com>; from dnelson@allantgroup.com on Thu, Jan 24, 2002 at 01:21:37PM -0600 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jan 24, 2002 at 01:21:37PM -0600, Dan Nelson wrote: > > 3. The compiler by itself compiles, but does not link; it complains > > about lots of undefined symbols. To get around this, I use the linux > > ld, which is not part of linux_base-7 or any other port as far as I ... > You could simply use /compat/linux/bin/ld here :) With a little hacking, I strongly believe you can use the FreeBSD native linker and produce native FreeBSD ELF binaries. This is what I did with the Compaq Linux compilers on the Alpha. > > 4. After all this, the binary still complains saying > > > > ELF interpreter /compat/linux/usr/lib/libc.so.1 not found > > Abort ... > I didn't have this problem either. Did you use 'linux_base', or 'linux_base-7'? I suspect 'linux_base'. For some reason those dealing with the 'linux_base-7' port cannot get it thru their heads that the port should include a few of the RH 6.x bits for compatibility with many applications. (simular to how we offer the compat dists). > But icc doesn't understand all gcc-isms, which is why Intel had to > rewrite a lot of them and put them in > intel/compiler50/ia32/substitute_headers. You'de have to do the same > for any offending FreeBSD headers. Rather we should fix the headers in the base system. You should send a PR with the problematic headers. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message