Re: [Sdcc-user] invoking from external program

2008-06-04 Thread Maarten Brock
If I say that yes there is a way, would that suffice? SDCC returns the exit code you expect. And to get the actual errors you need to capture the stderr (or stdout if you use --use-stdout) output. Greets, Maarten > Hi, > > I'd like to call the sdcc compiler from an other program, in Windows.

[Sdcc-user] invoking from external program

2008-06-03 Thread Get Started
Hi, I'd like to call the sdcc compiler from an other program, in Windows. Is there any way to get back the compile status, compile error? Getting the the status of compiling (0 or 1 for example, the compiling successfull or not), and getting the error line no, in case of syntax error. Thanks