From owner-freebsd-sparc Thu Mar 30 21:12:24 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from mail.visi.com (baal.visi.com [209.98.98.3]) by hub.freebsd.org (Postfix) with ESMTP id D046D37BB51 for ; Thu, 30 Mar 2000 21:12:16 -0800 (PST) (envelope-from mtempel@mail.visi.com) Received: from dirac (dirac.fofx.org [209.98.236.73]) by mail.visi.com (8.8.8/8.7.5) with SMTP id XAA08048; Thu, 30 Mar 2000 23:12:04 -0600 (CST) Posted-Date: Thu, 30 Mar 2000 23:12:04 -0600 (CST) Message-ID: <003301bf9ace$8325db60$49ec62d1@dirac> From: "Mark Tempel" To: Cc: References: <20000330212548.A15132@mobile.gerp.org> Subject: Re: Cross compilation problems Date: Thu, 30 Mar 2000 23:03:53 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ----- Original Message ----- From: "Kevin M. Dulzo" To: Sent: Thursday, March 30, 2000 9:25 PM Subject: Cross compilation problems > After my windy intro, my cross compilation still bombs out in the libio > portion. It really seems to have built the compiler but is dying > someplace later on (not a gcc internals guru). One of the things > that bugs me is the C preprocessor line using /lib/cpp -- that seems > odd. Any suggestions? Anyone successfully build these tools yet? > > -Kevin > > Here is the failure output: > > make all-recursive > Making all in intl > Making all in lib > Making all in makeinfo > (cd intl && make all) > Configuring in sparc-netbsd/libiberty > loading cache ./config.cache > checking host system type... sparc-unknown-netbsd > checking build system type... i386-unknown-freebsdelf ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Are you building a cross compiler from freebsd-i386 to ntebsd-sparc? If so, I think Lydon said that he had some success there. I don't know if that is exactly the compiler that we need. My impression, is that we really need a freebsd-sparc compiler. I have been using the NetBSD sparc gcc for my playing around, but we will need a FreeBSD version soon. The problem I see is that the NetBSD compiler will build a.out binaries, however FreeBSD needs elf binary files. Oh, While I'm posting to the group, I have a question: The big unknown for me though is what is going to happen with the merger between Walnut Creek CDROM and BSDi. Will there be an effort (other than this one) to merge BSDi sparc with FreeBSD? Untill I find out, I have stopped working on kernel level stuff ( I was working on porting the loader) and started working on the userland part of the port. I am trying to modify the FreeBSD make files to build the userland (make buildworld) in a source tree NFS mounted to my sparc... Obviously this won't _just_ work... I know that we will need to hack some kind of libc together that will allow FreeBSD userland programs to use the NetBSD kernel... I'll fill you in on the details as I figure them out. Please let me know your thoughts. Thanks, Mark Tempel mtempel@visi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message