delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/19/05:18:29

From: ANTHONY APPLEYARD <A DOT APPLEYARD AT fs1 DOT mt DOT umist DOT ac DOT uk>
To: djgpp AT sun DOT soe DOT clarkson DOT edu, dj AT stealth DOT ctron DOT com
Date: Wed, 19 Oct 1994 09:00:10 GMT
Subject: Windows bug; an icon
Cc: bug-gcc AT prep DOT ai DOT mit DOT edu, djgpp-announce AT sun DOT soe DOT clarkson DOT edu

  (0) I have go32 1.12, binutils 2.4, bison 1.22, diffutils 2.6, gas 2.3, gcc
2.6.0, gdb 4.12, gzip 1.2.4, libg++-2.6.0, and its first two `maint' updates,
which I ftp'ed from oak.oakland.edu
  (1) I was informed "You can use djgpp in a Windows DOS box [with this
varsion of djgpp], but you can't write Windows applications with it yet.". I
have found by experiment that I can indeed now run this small trivial Gnu C++
program successfully under Windows 3.1:-

#include<stdio.h>
main(){char name[256]; printf("name of cat?"); gets(name); printf("miaow\n");}

  but a big Gnu C++ program that I frequently use from DOS, when run from
Windows 3.1 fails "general protection error". Once that big program did start:
it printed its first 2 lines of output, then locked tight, and I had to press
ctrl-alt-del to get out of it.
  Would it be useful to make a special Windows version of Gnu C?, which uses
Windows's paging system instead of the usual Gnu C paging system. Or, GO32
could detect that it is running under Windows and use Windows's paging system
instead of its own paging system.
  (2) With this new Gnu C++ under DOS: I found that often after finding a few
programming errors the compiler aborted and printed the register values.
  (3) For intending Gnu Windows programmers, here is a (BOO'ed) .ICO file of a
Windows icon of the head and part of the shoulders of a gnu (African animal):-

GNU.ICO
~20 AT 01020P4000~3j08001H0~2:0000200~2 AT 00000401000~40P00~FP000P00008200800~2
P0200820~2P8200<30`0000?l00?l0~2ool0o`000?l0o`3oo`00oooo~8<30gMgLgMcMc~7<30g
McMcMcMg~7<3LgMcMcMg=g~7<3LgMcMg=g=g~31gM`03Lg=cMcMcMcM`0007001`0g<gLgLgLg
LgL0~6MgMg=g=g=gLg~3L71`L7Mg=cMcMg=g=`0000L01`1gMgMcMcMcMcL0~6MgLgLgLgLgLg
~7MgMgLgLgLgLg~7MgMcLgLgLgLg~7MgMgLgLgLgLg~7MgMcLgLgLgLg~7MgMgLgLgLgLg~7MgMc
LgLgLgMg~71gMgLgLgLgM`~8Mg=cMcMgL0L0~7MgMcMcMg1`L0~5Mg1gLg=g=`1gL0003W0000ig
1gMgMg1`L00003=`~41gMgMg1`~30c<`~4=gMgL700~20c<`~40c<0~60gMgM`0007<3=g00~4
=gMgMg001g<`<gL0~41g001gL0MgLc0gL0~41`00~50c<7~51`00~60`L0~5L000~6L000~41`00
~51`00~6M`00~31g00~5ooe00?om AT 03oo@00o0d00?P4~2n0000?P0~2n0000?P0~2n0000?P0
~2n0000?P0~2n0000?P0~2n0000?P0~2n0000?P0~2n0000OP000OP~23l0007n703ooP007o`00
0onN<0?o_on;okoojooOooOokoo_oo?oWol0

- Raw text -


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