Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* GNU i386 NT toolchain for test.
@ 1995-07-09  4:00 Steve Chamberlain
  0 siblings, 0 replies; only message in thread
From: Steve Chamberlain @ 1995-07-09  4:00 UTC (permalink / raw)


I've put a very-beta copy of a full NT targeted GNU tool chain up
for ftp.  It seems to be pretty stable on my i386 NT 3.51 box.

In:

	ftp.cygnus.com:~ftp/pub/sac/win32

The directory contains three large tar files:

	H-linux.tar.gz		A tool chain to run on Linux which 
				generates NT programs.

	H-win32.tar.gz		A tool chain to run on NT which
				generates NT programs.

	src.tar.gz		All the source to the above.

Although the tool chain is complete enough to be able to compile
itself, the entire NT hosted tool chain (H-win32.tar.gz) was built
using the tool chain in H-linux.tar.gz.

By reconfiguring and rebuilding the source, you could build a compiler
which ran on any host supported and use it to generate NT code, or you
could build compiler which ran on NT and generated any of the targets
supported.  For example, Sun4->NT and NT->VxWorks68k would both be quite
simple to prepare.

The tar files contain everything you need to build NT command line
applications, you don't need any Microsoft header files or libraries.
You get an assembler, linker, compiler, binary utilities, C library
etc etc.

The port was done by modifying the standard tools to understand
the 'PE' object file format, and porting our standard C library
to use the win32 API.  You can mix-n-match GNU generated .o and .a
files with Microsoft .obj and .lib files.

I've written a program 'dlltool' which can generate the right magic
to allow you to generate .LIBs from system DLL's.  So far the tool
has only been used for KERNEL32.DLL, since that was all that was
needed to port the library.  If you want to do graphics stuff, you'll
need to do some poking around with this.

Presumably the images should also run on Windows95 and under win32s
(once the graphics stuff is done)

The source release contains a few patches to GCC which haven't yet
made it into the main source at the FSF. The patches will go into GCC
2.8.0.

Please note that this is the first time this has seen the outside
world.  There are bound to be some nasty bugs.  For example, one of
the applications (dlltool) doesn't run on NT3.5.  I don't know why,
but it's likely that whatever breaks that will also break something
else.


Bug reports and fixes to me please.


Steve

sac@cygnus.com

--
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember Keywords: and a short description of the software.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-07-09  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-09  4:00 GNU i386 NT toolchain for test Steve Chamberlain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox