delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/01/14/04:50:38

From: willm AT ihug DOT co DOT nz (Will Mooar)
Subject: Re: Winsup snapshot with new Win32 API headers
14 Jan 1999 04:50:38 -0800 :
Message-ID: <001a01be3fba$4ed1ecc0$0a37e9d1.cygnus.cygwin32.developers@monster>
Mime-Version: 1.0
To: "Geoffrey Noer" <noer AT cygnus DOT com>, <cygwin32-developers AT cygnus DOT com>

Hi Geoffrey,

Are you still having problems with this?  I have managed to successfully
build cygwin with the new headers and then test the newly built DLL by
running a configure with it.  I did not need to change anything, other than
to install the new headers as you instructed.

My configuration is as follows:
Windows 98
MSIE5 public beta
cygwin B20.1, built from cygwin-src-19990110 and winsup-src-19990112, DLL
size 461824.  This was used to build the new cygwin.
ecgs-1.1.1 (all files copied over existing ones)
binary mounts
/bin mounted to /cygnus/cygwin-b20/H-i586-cygwin32/bin

CYGWIN=notty binmode notitle strip_title glob envcache
nostrace=1,/home/strace
TERM=ansi
MAKE_MODE=UNIX

Built roughly as follows:
mkdir /src
mkdir /obj
mkdir /install
installed cygwin-src-19990110 into /src
rm -r /src/winsup
installed winsup-newheaders-990110 into /src, replacing winsup and placed
time.h and types.h into /src/newlib/libc/include/sys.
cd /obj
/src/configure --prefix=/install
make (this crashed several times, complaining about child processes, which I
simply reran until it completed)
make install
cd /install/bin
strip *
ls -l
-rwxr-xr-x   1 500      everyone    40448 Jan 14 22:43 cygcheck.exe
-rwxr-xr-x   1 500      everyone     6144 Jan 14 22:43 cygpath.exe
-rw-r--r--   1 500      everyone   461312 Jan 14 22:43 cygwin1.dll
-rwxr-xr-x   1 500      everyone     4096 Jan 14 22:43 kill.exe
-rwxr-xr-x   1 500      everyone     5632 Jan 14 22:43 mkgroup.exe
-rwxr-xr-x   1 500      everyone     6656 Jan 14 22:43 mkpasswd.exe
-rwxr-xr-x   1 500      everyone     4608 Jan 14 22:43 mount.exe
-rwxr-xr-x   1 500      everyone     9216 Jan 14 22:43 passwd.exe
-rwxr-xr-x   1 500      everyone    12288 Jan 14 22:43 ps.exe
-rwxr-xr-x   1 500      everyone     3072 Jan 14 22:43 umount.exe


I then exited cygwin, copied the new dll into /bin, and then reopened
cygwin.  I reran the configure as follows, which ran successfully:
cd /obj
rm -r *
/src/configure --prefix=/install

It is 1am now, so I don't have time to run make, but the fact that configure
ran under the new DLL shows that the DLL seems to be stable.  I have not
been able to reproduce the problems you had (although, I've only tried the
once).

If you spot any silly mistakes or omissions, please forgive me as I'm
falling asleep at the keyboard!   ZZZzz..

Kind regards - Will.
______________________________
Will Mooar
System Analyst
willm AT ihug DOT co DOT nz

----- Original Message -----
From: Geoffrey Noer <noer AT cygnus DOT com>
To: <cygwin32-developers AT cygnus DOT com>
Sent: Monday, 11 January 1999 20:40
Subject: Winsup snapshot with new Win32 API headers


>Hi everyone,
>
>So here's the deal.  I've imported the latest set of headers and def
>files that Anders Norlander wrote recently.  We will probably switch
>to them from our current header file set as soon as my last (?)
>remaining problem with them is solved.
>
>The problem is that when I compile Cygwin with the new headers, I get
>a buggy cygwin1.dll that almost works -- commands executed from
>cmd.exe work as expected except that you can't run anything from bash
>(processes print out two Cygwin system error messages and then hang).
>When I build the exact same Cygwin using the old header files,
>everything works ok.  One symptom of the problem is that the stripped
>cygwin1.dll built with the new headers is considerably smaller than
>the original:
>
> Old headers New ones
> ----------- --------
>-g 4909250 3469990
>strip 557056 466432
>
>Perhaps this is a packing issue.  Maybe something else is going on.
>But I haven't been able to track it down yet so I've made a special
>winsup snapshot in case any of you would be willing to help.  If so,
>grab the special winsup directory from:
>
> ftp.cygnus.com:/pub/noer/winsup-snapshot/newheaders/
>
>In addition to the new winsup directory, you will need to replace
>newlib/libc/include/sys/{time.h,types.h} with the ones in this
>ftp directory.
>
>Best regards,
>
>--
>Geoffrey Noer
>noer AT cygnus DOT com
>
>

- Raw text -


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