From owner-freebsd-questions Sun Jul 4 20:47:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cgi1.tm.net.my (provision.tm.net.my [202.188.95.13]) by hub.freebsd.org (Postfix) with ESMTP id 5527314BD5 for ; Sun, 4 Jul 1999 20:47:50 -0700 (PDT) (envelope-from rezath@tm.net.my) Received: from tm.net.my ([202.188.127.2]) by cgi1.tm.net.my (InterMail v03.02.05 118 121 101) with ESMTP id <19990705034746.DAVP14274@tm.net.my>; Mon, 5 Jul 1999 11:47:46 +0800 Message-ID: <37802D02.CA555C1C@tm.net.my> Date: Mon, 05 Jul 1999 11:56:50 +0800 From: Rezamys X-Mailer: Mozilla 4.51 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Zhibing Wang Cc: freebsd-questions@freebsd.org Subject: Re: how to compile c program for linux on freebsd References: <19990703162927.27710.rocketmail@web130.yahoomail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, About to forward the same question... Not sure tho but am about to try it at home. just try: gcc -o output filename.cpp g++ (same as above) cc " " " egcs " " " cheers! Zhibing Wang wrote: > hi there: > I am trying to compile a c program on freebsd 3.2. > the program was writen for linux originally. it calls > many header files in /usr/include/linux and some other > directories, which can not be found in freebsd. > what can I do? just copy those directories from > linux ? > really appreciate for any help. > wzb > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message