www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/13/19:20:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <49BAF849.4080403@alice.it>
Date: Sat, 14 Mar 2009 01:20:25 +0100
From: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2
References: <49B90A2B DOT 3050907 AT alice DOT it> <49BA7A8E DOT 3070207 AT alice DOT it> <49BA9D05 DOT 3010000 AT alice DOT it>
In-Reply-To: <49BA9D05.3010000@alice.it>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Still continuing to test...

Marco Atzeri wrote:
> if I had 
> ./test_program 
> I see the output on the screen but
> 
> ./test_program > test_output
> leave test_output empty.

If I build that tst case with:

gfortran-4 test_program.F -o test_program

then

$ ./test_program.exe
SUCCESS

$ ./test_program.exe > test_output

$ cat test_output
SUCCESS

But if I build with:

gfortran-4 -shared test_program.F -o test_program

then

$ ./test_program.exe
bash: ./test_program.exe: Permission denied

i.e. it does not work at all!

What am I missing?


Cheers,
    Angelo.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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