From owner-freebsd-emulation Tue May 6 12:14:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA29240 for emulation-outgoing; Tue, 6 May 1997 12:14:39 -0700 (PDT) Received: from wakko.efn.org (wakko.efn.org [198.68.17.6]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA29234 for ; Tue, 6 May 1997 12:14:37 -0700 (PDT) Received: from garcia.efn.org (j_mini@garcia.efn.org [198.68.17.5]) by wakko.efn.org (8.8.5/8.8.5) with ESMTP id MAA27980; Tue, 6 May 1997 12:13:47 -0700 (PDT) Received: from localhost (j_mini@localhost) by garcia.efn.org (8.8.5/8.8.5) with SMTP id MAA02597; Tue, 6 May 1997 12:21:21 -0700 (PDT) X-Authentication-Warning: garcia.efn.org: j_mini owned process doing -bs Date: Tue, 6 May 1997 12:21:20 -0700 (PDT) From: Jonathan Mini To: "Pedro F. Giffuni" cc: emulation@FreeBSD.ORG Subject: Re: crosscompiling (was Re: Report on DOSCMD) In-Reply-To: <336F7FE4.6B00@fps.biblos.unal.edu.co> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 6 May 1997, Pedro F. Giffuni wrote: > > Watcom is a 16/32 bit compiler that'll link with/compile for pretty much > > any format. The point was the compiler, not the libs. ;P > > > OK..the libraries won't work anyway. > The only immediate solution for you is to get the additional GNU tools > from DJGPP (make, etc..) and use them with Watcom C. The DJGPP team will > be happy if you submit additional patches for anything you port. You can > wait for NetBSD's dosemu to come in. Unless you can convince Watcom to > offer a UNIX crosscompiler this is, IHMO, as near as you can get. :(. Well, the DJGPP team has done an excelent job in trying to overcome the limitations of MS-DOS (and clones) but it still isn't UNIX. ;) I aldready have a working setup with watcom's make utilities, etc (which are excelent, but still not the same) .. I just want it under UNIX. ;P The idea of a Watom C/C++ compiler for UNIX/FreeBSD has come to mind, and is extremely interesting. I looked at the link-structure of Watcom, and I can make Linux ELF files (even dynamically linking should work) with a few minor adjustments. With a write of a plugin I should be able to produce FreeBSD a.out format executables. It would be interesting to see a version of FreeBSD compiled under Watcom. I bet you'd see a large performance improvement, since you'd be able to enable all optimizations (Watcom isn't broken) and even without most optimizations turned on, Watcom produces excelent code. When I first got Watcom, I tried a few tests (compiling code, then disassembling it) looking for optimimization tweaks they couldn't or weren't doing. I couldn't find any. I have never has problems that were fixed by turning off optimizations, and AFAIK neither has Watcom's Tech Support. ;P > > Pedro. > > > > > > Jonathan Mini (j_mini@efn.org) > > > > ... Desolation ... Despair ... Plastic Forks ... > Jonathan Mini (j_mini@efn.org) ... Desolation ... Despair ... Plastic Forks ...