From owner-freebsd-questions Wed Oct 25 19:19:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from access.inet.co.th (access.inet.co.th [203.151.127.252]) by hub.freebsd.org (Postfix) with ESMTP id 5E1D837B4C5 for ; Wed, 25 Oct 2000 19:19:17 -0700 (PDT) Received: from TruPPPA023.inet.co.th (TruPPPA023.inet.co.th [203.151.28.23]) by access.inet.co.th (8.8.8/8.8.8) with ESMTP id JAA11352; Thu, 26 Oct 2000 09:18:16 +0700 (ICT) (envelope-from pirat@access.inet.co.th) Date: Thu, 26 Oct 2000 09:20:16 +0700 (ICT) From: pirat X-Sender: pirat@parwati.oaep.go.th To: Alfred Perlstein Cc: FreeBSD questions Subject: Re: c compiler output for dos from FreeBSD In-Reply-To: <20001023113244.P28123@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi sirs, many thanks indeed for all of your helps and suggestions on this topic. i have just looked at /usr/local/share/doc/crossgo32/README.FreeBSD and find some way of doing what i probably want. the rest depends mostly on running those created stuffs on dos machine. anyway, i appreciate all of your kindness pouring to me. with best regards, pirat sriyotha. On Mon, 23 Oct 2000, Alfred Perlstein wrote: > * 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