X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.66.138.79 with SMTP id qo15mr6842694pab.34.1391145683405; Thu, 30 Jan 2014 21:21:23 -0800 (PST) X-Received: by 10.50.37.133 with SMTP id y5mr343634igj.11.1391145683147; Thu, 30 Jan 2014 21:21:23 -0800 (PST) Newsgroups: comp.os.msdos.djgpp Date: Thu, 30 Jan 2014 21:21:22 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=118.168.197.184; posting-account=WqoaTgoAAABn_56zOqG1zk1m0UvtHqAO NNTP-Posting-Host: 118.168.197.184 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <87b26946-8950-4757-903d-7176b47a2250@googlegroups.com> Subject: Re: OSX/Linux to DJGPP cross compiler From: Andrew Wu Injection-Date: Fri, 31 Jan 2014 05:21:23 +0000 Content-Type: text/plain; charset=UTF-8 Bytes: 2471 Lines: 45 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s0V5j2TX007345 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Yes, this script is basically based on the SPEC file from Andris Pavenis' source RPM file. :D Because Mac OSX doesn't have RPM package system, I wrote this script based on his work, to build a DJGPP cross compiler on OSX, so I don't need to run a Windows/DOS virtual machine to compile DJGPP program on my Mac. It maybe also useful for other non-RPM based Linux distro. Louis Santillan於 2014年1月31日星期五UTC+8下午12時37分42秒寫道: > Have you compared your work to Andris Pavenis' work? > > > > http://ap1.pp.fi/djgpp/index.html > > > > -L > > > > On Wed, Jan 29, 2014 at 10:03 AM, Andrew Wu wrote: > > > Hello. > > > > > > I wrote a bash script to build DJGPP on Mac OSX and Linux. Maybe it is useful. :D > > > > > > https://github.com/andrewwutw/build-djgpp > > > > > > It is based on spec file from rpm files. > > > > > > It builds gcc 4.8.2. Installation directory is /usr/local/djgpp. Tested on OSX 10.9.1/10.8.5 and Debian 7.