From: Jean HECTOR Message-Id: <199606200835.KAA24234@elis.leei.enseeiht.fr> Subject: Re: Problems with gcc 2-7-2 To: eliz AT is DOT elta DOT co DOT il Date: Thu, 20 Jun 96 10:35:02 METDST Cc: djgpp AT delorie DOT com In-Reply-To: ; from "Eli Zaretskii" at Jun 20, 96 8:02 am Mailer: Elm [revision: 70.85] > From root Thu Jun 20 07:01 MET 1996 > Received: from is.elta.co.il by elis.leei.enseeiht.fr; Thu, 20 Jun 1996 07:01:53 +0200 > Received: by is.elta.co.il (5.x/SMI-SVR4) > id AA20423; Thu, 20 Jun 1996 08:02:17 +0200 > Date: Thu, 20 Jun 1996 08:02:16 +0200 (IST) > From: Eli Zaretskii > X-Sender: eliz AT is > To: Jean Hector > Cc: djgpp AT delorie DOT com > Subject: Re: Problems with gcc 2-7-2 > In-Reply-To: > Message-Id: > Mime-Version: 1.0 > Content-Type: TEXT/PLAIN; charset=US-ASCII > Status: RO > > > On Tue, 18 Jun 1996, Jean Hector wrote: > > > 1 - the data size is more limited. The progam > > > > int tab[] > > main() > > { > > } > > does not compile, or more exactly link, for >= 4194304 > > Please post the details. The error messages that you see is the minimum > that people will need to help you. Also, invoke go32-v2 with no > arguments and post everything it prints. > go32-v2 prints : go32/v2 version 2.0 built Jan 23 1996 22:03:02 Usage: go32 coff-image [args] Rename this to go32.exe only if you need a go32 that can run v2 binaries as well as v1 binaries (old makefiles). Put ahead of the old go32 in your PATH. DPMI memory available: 12852 Kb DPMI swap space available: 116328 Kb and the command line invoked for the compilation is gcc -o t t.c with >= 4194304 you get the following message : c:/djgpp2/tmp\ccxaaaaa: could not read symbols: Bad value > > 2 - another program crashes the system when using -O2 optimisation > > Please post the message(s) that you see at the moment of the crash. A > minimal program that would reproduce the crash, or the code fragment in > your program that seems to cause the crash, will also help to diagnose the > problem and find the solution. > > Did you try reading the FAQ (v2/faq200b.zip from the same place you get > DJGPP v2) and search it for similar problems? > I may send you the compiled fine with djgpp v1 and -O2 optimization, or with djgpp v2 and no optimization but which crash the system with no message with djgpp v2 and -O2. It seems to me rather difficult in this case to localize the bug. I am a fanatic user of djgpp since 2 years and use it to run on DOS platforms fortran programs that where developped on Unix workstations. -- Jean HECTOR Laboratoire d'Electrotechnique et d'Electronique Industrielle LEEI/ENSEEIHT 2, Rue Camichel - tel : 61-58-83-45 31071 TOULOUSE cedex - fax : 61-63-88-75 FRANCE - email : hector AT leei DOT enseeiht DOT fr