From owner-freebsd-alpha Thu Feb 8 6:43:33 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id CC8BC37B503; Thu, 8 Feb 2001 06:43:15 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA00654; Thu, 8 Feb 2001 09:43:15 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.1/8.9.1) id f18Egcg05420; Thu, 8 Feb 2001 09:42:38 -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: <14978.45150.683372.739952@grasshopper.cs.duke.edu> Date: Thu, 8 Feb 2001 09:42:38 -0500 (EST) To: Yoriaki FUJIMORI Cc: freebsd-alpha@FreeBSD.ORG, obrien@FreeBSD.ORG Subject: Re: Native FreeBSD by Compaq's ccc In-Reply-To: <200102080646.PAA04659@grafin.fujimori.cache.waseda.ac.jp> References: <20010207125434.A57024@dragon.nuxi.com> <200102080646.PAA04659@grafin.fujimori.cache.waseda.ac.jp> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Yoriaki FUJIMORI writes: > > I got ccc-6.2.9.506-1.tar.gz from Compaq's web. > After running rpm2cpio, I installed it. > > I tried for short junk time to make FreeBSD natives from ccc. > In short, if I specify options `-std0 -non_shared' and if the source > can be compiled without errors, then I get FreeBSD natives. > Resulting binaries are big, though. > > I even tried to remake shared libraries from libxxx.a by means of > FreeBSD's gcc with `-shared ...blahblah', but this does not seem much help. > > Yoriaki FUJIMORI Prior to running the compiler "natively", you must remove the linux_devtools port, and you must also remove any installations of the ccc/c++/fort compilers and cpml from /compat/linux. If you fail to do this, the "native" ccc compiler, which is actually a linux executable, will search /compat/linux first and find the linux ccc config files, headers & libraries. This is bad. Also, it is not clear to me that you are actually running the port & not rolling your own. Please use the port. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message