Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 1997 12:21:20 -0700 (PDT)
From:      Jonathan Mini <j_mini@efn.org>
To:        "Pedro F. Giffuni" <pgiffuni@fps.biblos.unal.edu.co>
Cc:        emulation@FreeBSD.ORG
Subject:   Re: crosscompiling (was Re: Report on DOSCMD)
Message-ID:  <Pine.SUN.3.95.970506121525.1978A-100000@garcia.efn.org>
In-Reply-To: <336F7FE4.6B00@fps.biblos.unal.edu.co>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.95.970506121525.1978A-100000>