[fpc-pascal] Re: building universal binary

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Feb 4 22:30:59 CET 2009


On 04 Feb 2009, at 18:48, Ken G. Brown wrote:

> However, when I try running from Finder, I get a short few  
> characters out the serial port then the program dies. This is  
> whether or not the 'run under Rosetta' box is checked in Get Info.  
> Intel or PowerPC shows properly in Activity Monitor. I've tried  
> inserting printf in the 'C' code just before the write statement but  
> cannot find any output. Also tried fprintf's to stdout and stderr.  
> I've tried running the program from Terminal to see if that helped.  
> How and where should I be able to see output? Where should a  
> write(var); go from the pascal side?

For GUI apps, it will go to the console. Open /Applications/Utilities/ 
Console.app to see it.


Jonas



More information about the fpc-pascal mailing list