Re: Cygwin struct alignment

2008-12-29 Thread John Emmas
- Original Message - From: "Ralph Hempel" Sent: 24 December 2008 19:47 Subject: Re: Cygwin struct alignment John, if I understand you correctly, you are running up against a classic problem in embedded systems programming. Namely that you cannot assume anything about structure packing,

Re: Cygwin struct alignment

2008-12-29 Thread Brian Ford
On Mon, 29 Dec 2008, John Emmas wrote: > Yesterday I spent some time looking into this but didn't come to any > hard & fast conclusions. Variables themselves seem to correlate very well > between MSVC and Cygwin (even 'long' which I thought was different). But > when calculating structure align

Re: Cygwin struct alignment

2008-12-29 Thread Brian Ford
On Mon, 29 Dec 2008, Brian Ford wrote: > The only major difference I'm aware of is that Cygwin defaults to 8 byte > alignment for long long and double for performance reasons, while MSVC > defaults to 4 byte alignment for those types I believe. Actually, I remebered one more difference. I think

Re: Cygwin struct alignment

2008-12-29 Thread John Emmas
- Original Message - From: "Brian Ford" Subject: Re: Cygwin struct alignment Google attribute packed as I don't remember the exact syntax, but I fail to see how this actually helps your cause. Thanks Brian. It should help me because it will hopefully guarantee that structures of a gi

[ANNOUNCEMENT] Updated: parrot-0.8.2-1 with parrot-perl6 and parrot-languages

2008-12-29 Thread Reini Urban
The parrot packages with libparrot0 and libparrot-devel, plus parrot-perl6 and parrot-languages are updated to 0.8.2-1 for the Cygwin distribution. This is from branches/pdd30install_stage3 branch. Issues: lua is now broken. Parrot is a virtual machine designed to efficiently compile and execute

Re: Cygwin struct alignment

2008-12-29 Thread Christopher Faylor
On Mon, Dec 29, 2008 at 09:00:36AM -, John Emmas wrote: >On Mon, Dec 24, 2008 at 19:47 Ralph Hempel wrote: >>John, if I understand you correctly, you are running up against a >>classic problem in embedded systems programming. Namely that you >>cannot assume anything about structure packing, by

Re: Cygwin struct alignment

2008-12-29 Thread Reini Urban
John Emmas schrieb: - Original Message - From: "Ralph Hempel" Sent: 24 December 2008 19:47 Subject: Re: Cygwin struct alignment John, if I understand you correctly, you are running up against a classic problem in embedded systems programming. Namely that you cannot assume anything about

Re: Cygwin struct alignment

2008-12-29 Thread John Emmas
Christopher / Reini - thanks for your tips. - Original Message - From: "Reini Urban" Which "Cygwin compiler"? I have about a dozen compilers in my cygwin environment. If you mean gcc-core-3.4.4-3 or gcc-mingw-core-3.4.4-20050522-1 please say so. Oops sorry, I did miss out that impor

MinTTY

2008-12-29 Thread Andy Koppe
Hi, I'd like to introduce "MinTTY", a terminal emulator for Cygwin that I've been working on for a while. It is based on the terminal emulation and Windows frontend parts of PuTTY 0.60 by Simon Tatham and his team. Unlike PuTTYcyg, MinTTY discards PuTTY's networking functions, which are alre

Re: Cygwin struct alignment

2008-12-29 Thread Ralph Hempel
John Emmas wrote: Christopher / Reini - thanks for your tips. John, here's a quote from your original email: > As things stand, both client and server use System V shared memory and > everything works well if I compile under Cygwin or Linux. Ultimately > however, there'll be no Linux clients.

Re: Cygwin struct alignment

2008-12-29 Thread Christopher Faylor
On Mon, Dec 29, 2008 at 06:29:09PM -, John Emmas wrote: > Christopher / Reini - thanks for your tips. > >On Mon, Dec 29, 2008 at 07:09:30PM +0100, Reini Urban wrote: >>Which "Cygwin compiler"? I have about a dozen compilers in my cygwin >>environment. If you mean gcc-core-3.4.4-3 or >>gcc-min

Re: Cygwin struct alignment

2008-12-29 Thread John Emmas
Thanks Ralph, I haven't forgotten your link. My initial thoughts were that it seemed very impressive but there's a lot to take in. I'm intending to take a good hard look at it over the new year period John -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

permission denied problem

2008-12-29 Thread peter360
I am running cygwin on vista. Recently I downloaded the gnupg installer and tried to run it in cygwin bash, but got this message: $ ./gnupg-w32cli-1.4.9.exe bash: ./gnupg-w32cli-1.4.9.exe: Permission denied If I run the same command the native cmd.exe window, the installer runs (after windows p

Re: Cygwin struct alignment

2008-12-29 Thread John Emmas
- Original Message - From: "Christopher Faylor" I still can't shake the feeling that you're attempting to do this with trial and error and googling rather than reading the gcc documentation. Reading the documentation?? That's cheating, isn't it? ;-)) -- Unsubscribe info: http:/

Re: Cygnus (Systems) Files Patent Suit Against Microsoft, Google, Apple

2008-12-29 Thread Warren Young
Reini Urban wrote: Has this anything remotely to do with us? I don't think so. First, their About Us page doesn't say they're part of Red Hat. No mention of stock symbols or anything. Public companies are usually all too eager to give investor information here. Second, they're in Michig

Re: permission denied problem

2008-12-29 Thread Christopher Faylor
On Mon, Dec 29, 2008 at 12:05:12PM -0800, peter360 wrote: > >I am running cygwin on vista. > >Recently I downloaded the gnupg installer and tried to run it in cygwin >bash, but got this message: >$ ./gnupg-w32cli-1.4.9.exe >bash: ./gnupg-w32cli-1.4.9.exe: Permission denied chmod a+x ./gnupt-w32cl

Re: [ANNOUNCEMENT] Updated: parrot-0.8.2-1 with parrot-perl6 and parrot-languages

2008-12-29 Thread Charles Wilson
Reini Urban wrote: > Thanks to all our contributors for making this possible, and our > sponsors for supporting this project. Our next release is 20 January > 2009, where all the cygwin patches will be merged into trunk. Until then > cygwin is still the only parrot release which works without the

Re: MinTTY

2008-12-29 Thread Reini Urban
2008/12/29 Andy Koppe: > I'd like to introduce "MinTTY", a terminal emulator for Cygwin that I've > been working on for a while. It is based on the terminal emulation and > Windows frontend parts of PuTTY 0.60 by Simon Tatham and his team. > > Unlike PuTTYcyg, MinTTY discards PuTTY's networking fun

how to backup/restore of windows file attributes

2008-12-29 Thread Matthias Meyer
I use rsync for backing up windows. After a restore of Desktop.ini I recognize that the hidden attribut and the system attribut will not been restored. I know, this are no unix attributes. But is there a way to backup and restore the windows attributes too? Thanks Matthias -- Don't Panic -- Un

Re: MinTTY

2008-12-29 Thread Charles Wilson
> 2008/12/29 Andy Koppe: >> Unlike PuTTYcyg, MinTTY discards PuTTY's networking functions, which are >> already convered by Cygwin's ssh and telnet packages. This results in >> simpler configuration, a leaner interface and small code size. MinTTY's most >> obvious difference to rxvt is its native W