🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42919

Re: Win95, WinNT, Win32 GCC?

#42919
From: john
Date: Wed, 18 Oct 1995 00:00
251 lines
7912 bytes
In article <460gcp$545@bigfoot.ecl.wustl.edu>, andrew@bigfoot.ecl.wustl.edu (Andrew S. Koransky) writes:
:: Does anyone know if a Win95, WinNT, or Win32 compiler exists for GCC?  Does
:: anyone know if one is being built?  OS/2 has a nice gcc development
:: environment.  I was wondering if anything was planned for Win95, WinNT, or
:: Win32...
:: 
:: Take care...

Have a look at 
ftp://ftp.cygnus.com/pub/sac/gnu-win32-b8
The README therefrom is appended.

For the record, if of little use to you, U.K. access may be faster from
the mirror at 
ftp://src.doc.ic.ac.uk/gnu/cygnus/sac

========================================================================

RELEASE-8 of the GNU win32 tools is ready.


You can find it in ftp.cygnus.com:~ftp/pub/sac/gnu-win32-b8


***********************************************************
* CONTENTS

This release contains:
	The GNU debugger: gdb.
	The GNU binutils: size, ranlib, nm, ar, strip, dlltool, objcopy, objdump.
	The GNU assembler: gas.	
	The GNU fileutils: ls, mkdir, rmdir, dd etc etc	
	GNU diff
	GNU make
	byacc
	The GNU C and C++ compiler, gcc.
	Standard C++ library and include files.
	STL headers included.
	ANSI C library and include files, with some Posix extensions
	IO streams library and include files.
	Complete libraries for kernel32.dll, advapi32.dll,
	gdi32.dll and user32.dll, version.dll
	Not quite so complete header files describing them.
	Some tiny demo programs.
	Tool for building DLLs.

***********************************************************
* Known problems

You can't attach to a running process with GDB.  Some unix
functions aren't implemented fully.

Some of the API stuff in windows 95 doesn't work the same way
as on NT, eg mv doesn't.

I've had a report that on Windows 95, GDB says 'Error creating
process', but still works.

If you don't strip symbols and debugging info from your images, they
will become very large (not really a bug, but different behavior from
previous releases)

*********************************************************** * BEWARE!!

There are still some odd problems with the way that command line
argument passing is done when a something is execed.  This shows up if
you're using the MKS shell underneath GNU make.  This will not be a
problem when I've finished bash.

***********************************************************
* NEXT

I'll be working on bash.  Bash requires fork rather than vfork. Fork
requires strange win32 stuff, which I almost have working.  This will
also give mmap and some ioctl stuff.

Probably lot of the C library stuff will be moved into a
separate DLL.

I'm having more troubles fooling Windows95 to to a fork than NT, If
anyone knows why I can't switch stack pointers in windows95, but you
can in NT, please tell me why it doesn't work - and then how to make
it work :).

Gunther Ebert has sent me his PD resource compiler.  I'll upgrade
the tools to understand the .res format real soon.

***********************************************************
* SOURCE 

All the source needed to build everything in the binary release is
included.

There have been problems with binary release not containing all the
headers for various c++ish things.  If there are still problems, the
headers are all in the source.

The binaries are available for linux and NT/Win95.

With this release you can build command line applications as well as
true windows applications.

Enough unixness is supplied by the C library for the tools to be able
to compile themselves.

vfork and exec are provided.

Various other GNU utilities compile with this release with little
modification.

This is a beta toolchain to demo the Win32 toolchain.  None of the GCC
diffs have yet made it into the FSF mainline, (real soon now) but
you've got all the source to build your own.

***********************************************************
* DISTRIBUTION

files in ftp.cygnus.com:~ftp/pub/sac/win32-b7

	linux-X-i386-win32.tar.gz	
			 	linux hosted Win32 target compiler

	i386-win32-X-i386-win32.tar.gz	
			 	Win32 hosted Win32 target compiler

	i386-win32.zip		As above but a pkzip file.

				Some files may have to be renamed when you
				install by hand.
				eg lib/libkernel32.a is truncated by my version
				of zip when it's installed.  Renaming it
				manually is fine
				

	src-binutils.tar.gz	The source of the binutils, bfd, gas, ld etc.
	src-gcc.tar.gz		The source of gcc.
	src-libraries.tar.gz	The source of the C and C++ libraries.
	src-extra.tar.gz	The source of byacc, diff, fileutils, make
	src-demos.tar.gz	The source of the demos, for linux
				people (they're already in the win32 release)
	src-gdb.tar.gz		The source of GDB. 

				To save duplication, most of the other
				packages require the src to the binutils
				as well.  


***********************************************************
* GROSS CHANGES

This is what has happened:

RELEASE-8:
	GDB works.
	GCC now emits debug info which can make **huge** executables
	Fortunately, strip works too.
	More work has been done to make quoting work.
	Simple termios support added to newlib.
	Much nicer way of describing paths, eg //c/foo is c:\foo.

RELEASE-7:
	Works again on Win 95 (which is why -6 wasn't advertised)
	Permissions are faked better.
	Source of demos available without having to ftp
	the entire win32 binary tree. 

RELEASE-6:
	Can now generate DLLs, tiny demo included.
	tcl, byacc, fileutils, diff, make included.

RELEASE-5:
	Bug preventing anything from running on recent versions
	of Win95 fixed.

	vfork and exec oddities fixed.

	Import libraries are now really libraries and not
	just .o files.

	Debugging info stripped from images and libraries;
	it's just bloat until gdb works.

	I've filled in the four major import libraries.

	The win*.h files are now installed into <foo>/include
	rather that <foo>/include/sys, so more things will
	compile out of the box.

RELEASE-4
	PE support is fixed. Programs run on
	NT 3.1, NT 3.5, NT 3.51 and Windows 95.

	You can build GUI programs.
	
	.DEF files for three other DLL's started.

	New GUI demo program. 

	C library distinguishes between text and binary files
	consequently the text files generated by the
	tools have the familiar ^M at the end of the line
	which DOS likes so much.

	Doug Evans of Cygnus has added a load
	of fancy support for execve, opendir and 
	various other cool things.

	Exception handling is better.


RELEASE-3
	Was so long ago I don't remember.


***********************************************************
* MAILING LIST

You can get on the gnu-win32 mailing list by sending mail
to 
	gnu-win32-request@cygnus.com

with a message of:

	subscribe gnu-win32 


***********************************************************
* DEMO

The demo will run from anywhere - it sets the environment 
variables up itself.


If you've installed into /foobar on your NT box, 
then you can

	cd \foobar\demo
	runme

***********************************************************
* THANKS

A lot of the magic win32 stuff was done Doug Evans and Jason Molenda,
both of Cygnus Support.

steve

sac@cygnus.com


***********************************************************
Technical Details
Message-ID: <DGn08D.BIM@canon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <460gcp$545@bigfoot.ecl.wustl.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,a89fa6258f6eb37c
X-Google-Attributes: gid11318c,public
From: john@criteron.canon.co.uk
Subject: Re: Win95, WinNT, Win32 GCC?
Date: 1995/10/18
Message-ID: <DGn08D.BIM@canon.co.uk>
X-Deja-AN: 117750904
distribution: global
sender: news@canon.co.uk (USENET News)
references: <460gcp$545@bigfoot.ecl.wustl.edu>
summary: gcc for 32-bit Windows/Intel
organization: Criterion Software Limited
reply-to: john@criteron.canon.co.uk
newsgroups: gnu.gcc.help