Re: using fortran common block from dll created by gfortran

2015-06-24 Thread Satish Balay
Thanks for the notes. I guess the first thing I'm trying to figure out is: - is my test example usage [with sources, compile commands embeded in the test script posted earlier] incorrect usage of fortran common blocks via dll [if so - whats the correct usage?] '!GCC$ ATTRIBUTES DLLEXPORT' syntax

Re: using fortran common block from dll created by gfortran

2015-06-24 Thread LMH
If you having trouble communicating with the dll, it might make more sense to create a generic c dll and embed the fortran in the c dll as a subroutine. It is generally not a problem to call a fortran subroutine from c code though there are some syntax specifics to follow. Your communication with t

Re: Uses of Cygwin

2015-06-24 Thread Andrey Repin
Greetings, Alvin Oo! As much as I despise people, who can't do their homework... Here's some obvious answers. > 1) does it support ruby,python,c++,c, java? From the http://cygwin.com/index.html [1]: Cygwin is: a large collection of GNU and Open Source tools which provide functionality similar t

Re: Uses of Cygwin

2015-06-24 Thread Eliot Moss
To answer the question about Java, there is no "cygwin Java". You simply install the regular Java for Windows. You can invoke it from cygwin, since cygwin happily runs Windows executables. The one thing this does not accomplish is to give you Unix syntax for the Java command line -- you have to u

Cygwin "cp" changes ACLs on files accessed via CIFS

2015-06-24 Thread Andrew Martin
Hello, I am running an OpenIndiana server exporting a ZFS share over CIFS to a number of Windows 7 clients. I have a folder on the share with these ACLs: A:fi:OWNER@:rwaDdtTnNcoy A:dg:Domain us...@domain.com:rwaDdxtTnNcoy A:fig:Domain us...@domain.com:rwaDdtTnNcoy A:fig:GROUP@:rtncy A::OWNER@:rw

Re: using fortran common block from dll created by gfortran

2015-06-24 Thread Satish Balay
Thanks for the note. I had previously tried something similar - using the directives from http://gcc.gnu.org/onlinedocs/gfortran/GNU-Fortran-Compiler-Directives.html However - I get errros. >> balay@ps4 ~/junk $ cat cb_func.f subroutine cb_func() !GCC$ ATTRIBUTES DLLEXPORT :: cb_fu

RE: Unable to run excel via cron

2015-06-24 Thread Andy Hall
> On 06/23/2015 09:39 AM, Kertz, Denis (D)** CTR ** wrote: > > I changed the cron setup to use cygserver as Corinna suggested. I used > > cron-config and cygserver-config to setup the cron and cygserver services > > and passwd -R to establish my password. Normal cron jobs run under this > > setu

Re: python binary retrieved via (cygwin) git clone does not execute - error 127

2015-06-24 Thread Duane Ellis
> The problem has only been seen with the git > that ships with 64-bit cygwin. Use “ldd” - against the executable, determine the exact file (absolute path) of every dll that is used/required. Including any missing DLLs. You might also need to walk through your “Python Library” (where all of th

python binary retrieved via (cygwin) git clone does not execute - error 127

2015-06-24 Thread Rick Springob
I cloned a repository using the git that comes with 64-bit cygwin. Executing python.exe in the repository results in an immediate return and an exit code of 127. The python executable was built in 32-bit cygwin. The executable works fine is 32-bit cygwin and 64-bit cygwin shells as long as the r

Re: gdb arbitrarily starting threads

2015-06-24 Thread Eli Zaretskii
People who can reproduce this problem and can also build their own GDB are encouraged to try the patch posted here: https://sourceware.org/ml/gdb/2015-06/msg00071.html and report whether it solves the problem on Cygwin. (I already verified that the native MinGW debugging is fixed by that patch

Re: Uses of Cygwin

2015-06-24 Thread Warren Young
On Jun 24, 2015, at 7:01 AM, Alvin Oo wrote: > > 1) does it support ruby,python,c++,c, java? The Cygwin package search engine answers questions like this: http://cygwin.com/cgi-bin2/package-grep.cgi You can also search from within setup.exe on the package selection screen. Cygwin has packa

Re: Uses of Cygwin

2015-06-24 Thread Stephen John Smoogen
I will take a stab at these questions. My answers may not be complete or best. On 24 June 2015 at 07:01, Alvin Oo wrote: > 1) does it support ruby,python,c++,c, java? The cygwin environment supports ruby, python, c++ and c. I don't know about java. > 2) What type of shell does it support? (sh,k

Uses of Cygwin

2015-06-24 Thread Alvin Oo
1) does it support ruby,python,c++,c, java? 2) What type of shell does it support? (sh,ksh),what can it emulate? 3) Is it possible for cygwin to start in a certain folder, akin to when I drop cmd.exe on a certain folder, or name powershell to start in a certain folder it will open up, i need to n

Re: using fortran common block from dll created by gfortran

2015-06-24 Thread Arjen Markus
Hi, while this is not directly related to gfortran on Cygwin, this article might help you appreciate the issues involved: https://software.intel.com/en-us/node/535307 Are you bound to common blocks? If not, you may get better results when you put the data in a module. Regards, Arjen 2015-06-24