[fpc-pascal] Re: building universal binary

Ken G. Brown kbrown at mac.com
Wed Feb 4 22:36:34 CET 2009

At 10:30 PM +0100 2/4/09, Jonas Maebe apparently wrote:
>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.

Wasn't having any luck seeing it there either. I'm bring some legacy code forward, perhaps I'm missing some sort of startup code.


>fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org

More information about the fpc-pascal mailing list