Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <001501bfa247$0e2b26f0$ee0348c1@zeus> From: "Roberto Boldini" To: Subject: Bug in gcc and g++ compilers. Date: Sun, 9 Apr 2000 19:14:05 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0011_01BFA257.C5990EA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 ------=_NextPart_000_0011_01BFA257.C5990EA0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0012_01BFA257.C5990EA0" ------=_NextPart_001_0012_01BFA257.C5990EA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear Sirs, I recently downloaded Cygwin B20 (beta 20.1) from your web site and I thank you very much for your phantastic work. The downloaded setup file is full.exe version 2.02.001. I installed the downloaded software and everything runs well. Yesterday, I tried to compile the file ivp.c attached to this mail message. gcc ivp.c produces a ./a.exe file. When I try to run it, bash answers "permission denied". When I try to run it from NT's command shell cmd.exe, cmd.exe answers "not a NT application" in a modal dialog and then prints "access denied" on its own window. g++ ivp.c (same file) takes a lot to compile. It seems that the = assembler is responsible for that (as.exe takes a lot of CPU time). After a minute or more g++ terminates with the following message. C:\TEMP\cc6JXrCu.s: Assembler messages: C:\TEMP\cc6JXrCu.s:485: Fatal error: Cannot write to output file. When you modify the source code by replacing #define dt ((double) 1.0e-8) with #define dt ((double) 0.05) everything works fine. It seems the compiler. Yours sincerely, Roberto ------=_NextPart_001_0012_01BFA257.C5990EA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear Sirs,
 
I recently downloaded Cygwin B20 = (beta 20.1)=20 from your web site
and I thank = you very much=20 for your phantastic work.
The downloaded setup file is full.exe version=20 2.02.001.
I installed the downloaded software and everything=20 runs
well. Yesterday, I tried to compile the file ivp.c = attached=20 to
this mail = message.
 
gcc ivp.c produces a ./a.exe file. = When I try to=20 run it, bash
answers "permission = denied". When I=20 try to run it from NT's
command shell cmd.exe, cmd.exe = answers "not=20 a NT application"
in a modal dialog and then prints = "access=20 denied" on its own
window.
 
g++ ivp.c (same file) takes a lot to = compile. It=20 seems that the assembler
is responsible for that (as.exe = takes a lot of=20 CPU time).
After a minute or more g++ = terminates with the=20 following message.
C:\TEMP\cc6JXrCu.s: Assembler=20 messages:
C:\TEMP\cc6JXrCu.s:485: Fatal error: Cannot write to output = file.
 
When you modify the source code by=20 replacing
#define dt  ((double) = 1.0e-8)
with
#define dt  ((double) = 0.05)
everything works fine. It seems the=20 compiler.
 
Yours sincerely, Roberto
------=_NextPart_001_0012_01BFA257.C5990EA0-- ------=_NextPart_000_0011_01BFA257.C5990EA0 Content-Type: application/octet-stream; name="ivp.c" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ivp.c" #include #include #define F(t) ((t) + 1.0 / (1.0 - (t))) #define f(t, u) (1.0 + ((t) -(u)) * ((t) - (u))) #define t0 ((double) 2.0) #define t1 ((double) 3.0) #define dt ((double) 1.0e-8) #define u0 ((double) 1.0) #define n (1 + (int) ((t1 - t0) / dt)) double t[n]; double y[n]; double u[n]; void init() { int i; =09 t[0] =3D t0; y[0] =3D F(t0); for (i=3D1; i