From owner-freebsd-questions Mon Oct 23 11:32:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 5AE5737B479 for ; Mon, 23 Oct 2000 11:32:49 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e9NIWiY28427; Mon, 23 Oct 2000 11:32:44 -0700 (PDT) Date: Mon, 23 Oct 2000 11:32:44 -0700 From: Alfred Perlstein To: pirat Cc: FreeBSD questions Subject: Re: c compiler output for dos from FreeBSD Message-ID: <20001023113244.P28123@fw.wintelcom.net> References: <20001022221059.M28123@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from pirat@access.inet.co.th on Mon, Oct 23, 2000 at 03:58:17PM +0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * pirat [001023 01:56] wrote: > On Sun, 22 Oct 2000, Alfred Perlstein wrote: > > > * pirat [001022 20:52] wrote: > > > hi sirs, > > > > > > i have a set of source programmes that work on FreeBSD. > > > the problem is that i want to port those programmes to dos and i do not > > > have any c compiler for dos ( it is really expensive in my country.) > > > > > > is there any way of producing a 'target' output for dos directly from > > > FreeBSD ? > > > > > > thanks in advance for any help and hints > > > > yup, have a look at: > > > > /usr/ports/devel/crossgo32 > > /usr/ports/devel/crossgo32-djgpp2 > > > > thanks indeed for your prompt reply. > > you mean that if i had a Hello World program, ( K & R 1978), i shall get a > binary for dos from within FreeBSD via those crossgo32 + crossgo32-djgpp2 > ? It may be possible, I haven't actually used the crossgo stuff on FreeBSD, but I know that the stuff it's based on (dj's compiler) worked pretty well under MSDOS. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message