When trying to use make from a process created within a MS-Windows-program (with API-call CreateProcess(..)) and reading output through pipes, make crashes when trying te execute the compiler:
c:\user>c:\avrgcc\bin\make -d -f c:\icc\examples.avr\led.mak GNU Make version 3.78.1, by Richard Stallman and Roland McGrath. Built for Windows32 Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Report bugs to <[EMAIL PROTECTED]>. Reading makefiles... Reading makefile `c:\icc\examples.avr\led.mak'... Updating makefiles.... Considering target file `c:\icc\examples.avr\led.mak'. … … … Trying pattern rule with stem `led.mak.cpp'. Trying implicit prerequisite `c:\icc\examples.avr\led.mak.cpp,v'. Finished prerequisites of target file `C:/icc/include/macros.h'. No need to remake target `C:/icc/include/macros.h'. Finished prerequisites of target file `led.o'. Must remake target `led.o'. c:\icc\bin\iccavr -c -IC:\icc\include\ -e -l -g -Wa-W C:\icc\examples.avr\led.c process_easy: DuplicateHandle(In) failed (e=6) Unhandled exception filter called from program c:\avrgcc\bin\make ExceptionCode = c0000005 ExceptionFlags = 0 ExceptionAddress = 416454 Access violation: read operation at address 3f This does not occour when executed from commandline, nor with other compilers. (example uses imagecraft cc) OS: Windows 2000 SP2 make version: 3.78.1 Lars Kvenild Atmel Norway _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make