RE: injob version 1.3

2011-12-05 Thread Buchbinder, Barry (NIH/NIAID) [E]
Andrew Schulman sent the following at Monday, December 05, 2011 1:11 PM > >> gcc -lntdll -o injob injob-1.3.c > >Put -lntdll at the end: > >gcc -o injob injob-1.3.c -lntdll Thank you for helping me find my happy place. - Barry Disclaimer: Statements made herein are not made on behalf of NIAID.

Re: injob version 1.3

2011-12-05 Thread Andrew Schulman
> gcc -lntdll -o injob injob-1.3.c Put -lntdll at the end: gcc -o injob injob-1.3.c -lntdll -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#uns

RE: injob version 1.3

2011-12-05 Thread Buchbinder, Barry (NIH/NIAID) [E]
Dave Korn sent the following at Monday, December 05, 2011 11:27 AM >> Windows 7. Everything up to date. >> >> /arc/2build> gcc -o injob injob.c >> /tmp/ccOdzsVZ.o:injob.c:(.text+0x87b): undefined reference to >> `__imp__NtQueryInformationProcess@20' >> collect2: ld returned 1 exit status >> >> Wh

Re: injob version 1.3

2011-12-05 Thread Dave Korn
> Windows 7. Everything up to date. > > /arc/2build> gcc -o injob injob.c > /tmp/ccOdzsVZ.o:injob.c:(.text+0x87b): undefined reference to > `__imp__NtQueryInformationProcess@20' > collect2: ld returned 1 exit status > > What am I doing wrong? Needs "-lntdll". Also, if obcaseinsensitive=0,

RE: injob version 1.3

2011-12-05 Thread Buchbinder, Barry (NIH/NIAID) [E]
Daniel Colascione sent the following at Sunday, December 04, 2011 8:46 PM > > * injob: runs a program (Win32 or Cygwin) in a job object, imbuing it > * and all its sub-processes with Cygwin job control support. > * > * Revision history: > * > * Version 1.3 - 2011-12-04 > * > * - Add ability to wa

Re: injob version 1.3

2011-12-05 Thread Andrew Schulman
> /** > * injob: runs a program (Win32 or Cygwin) in a job object, imbuing it > * and all its sub-processes with Cygwin job control support. Maybe you'd consider offering it as a package, with a man page? -- Problem reports: http://cygwin.com/problems.html FAQ: http://c