On Aug 16 11:27, Agner Fog wrote: > Thanks for your replies. > > A Cygwin application with -mcmodel=small appears to work fine. > > As I explained, -mcmodel=small does something else when the target is > Windows. It does not require addresses to be below 2GB, it only requires the > distance between a code section and it's data section to be below 2GB.
And that's the point. The distances are not guranteed to be within 2 GB. Think errno accessed from another DLL. Your application works only by chance. Corinna -- Corinna Vinschen Cygwin Maintainer
signature.asc
Description: PGP signature

