Sam Steingold wrote: [snip] > so, the only reasonable way is to search the executable for the magic > line... > > I hoped that there is some other way to find out where the variable is > stored in the executable file.
The only portable way, yes. Otherwise you depend on the executable file format which changes with OS/version/CPU architecture/... and you end up with something that is not portable. -- René Berber -- 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/