Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jul 1999 11:56:50 +0800
From:      Rezamys <rezath@tm.net.my>
To:        Zhibing Wang <wang_zb@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to compile c program for linux on freebsd
Message-ID:  <37802D02.CA555C1C@tm.net.my>
References:  <19990703162927.27710.rocketmail@web130.yahoomail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37802D02.CA555C1C>