From owner-freebsd-ppc Fri Feb 21 9:46:56 2003 Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D03A37B401 for ; Fri, 21 Feb 2003 09:46:55 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 929CD43FAF for ; Fri, 21 Feb 2003 09:46:54 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.6/8.12.6) with ESMTP id h1LHkm8I012781 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 21 Feb 2003 12:46:48 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h1LHkhB50043; Fri, 21 Feb 2003 12:46:43 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15958.26115.71874.247330@grasshopper.cs.duke.edu> Date: Fri, 21 Feb 2003 12:46:43 -0500 (EST) To: Sean_Welch@alum.wofford.org Cc: freebsd-ppc@freebsd.org Subject: Re: Also interested in testing In-Reply-To: <2477619.1045847794323.JavaMail.nobody@statler.psp.pas.earthlink.net> References: <2477619.1045847794323.JavaMail.nobody@statler.psp.pas.earthlink.net> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-ppc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sean Welch writes: > Finally, I wasn't able to find anything helpful for > cross-compiling at all. The closest I got was an > archived email about problems cross-compiling for apha > on a pc but there wasn't much detail. Could someone > here point me to a comprehensive guide or give me > specific instructions? I figure while I'm trying to Benno and Peter touched on this yesterday: Benno> make -DNO_WERROR -DNO_BIND -DNOSHARED -DNOINFO -DNOGAMES -DNOPROFILE Benno> -DNOSHARE -DNOCRYPT -DNOSECURE -DNOLIBC_R -DNO_IPFILTER -DNO_CXX Benno> -DNOFORTH -DNO_FORTH TARGET_ARCH=powerpc buildworld PeterG> You should take out -DNO_WERROR, -DNO_CXX, and -DNOSHARED. buildworld is clean PeterG> with the above gcc patch, C++ builds fine, and shared libs have been working PeterG> since the rtld checkin. Note there is a problem at runtime with libstdc++, PeterG> hopefully that'll be fixed soon. David O'Brien has commited a few things in the interum which may help you. You'll also want the gcc diffs that Peter Grehan mentioned in his post. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ppc" in the body of the message