www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/07/07/22:02:43

Xref: news-dnh.mv.net comp.os.msdos.djgpp:806
Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!spool.mu.edu!sgiblab!cygnus.com!nntp.cygnus.com!sac
From: sac AT rtl DOT cygnus DOT com (Steve Chamberlain)
Newsgroups: comp.os.msdos.djgpp
Subject: GNU i386 NT toolchain for test.
Followup-To: poster
Date: 07 Jul 1995 15:25:47 GMT
Organization: Cygnus Support
Lines: 73
Nntp-Posting-Host: rtl.cygnus.com
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp


  This isn't djgpp, but if you're interested in djgpp you may be
  interested in this:



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 AT cygnus DOT com



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019