Re: [Sdcc-user] SDCC Compiler Issue

2011-10-06 Thread Sebastien Lorquet
This is because a microcontroller is an embedded platform that obviously has no standard console, so you have to define the proper way to write characters to a console. Regards Seb Le 05/10/2011 19:16, Theo Tijssen a écrit : > Hello! I have a simple program in C language that I was hoping to comp

Re: [Sdcc-user] SDCC Compiler Issue

2011-10-05 Thread Peter Van Epp
On Wed, Oct 05, 2011 at 01:16:26PM -0400, Theo Tijssen wrote: > Hello! I have a simple program in C language that I was hoping to compile in > the SDCC compiler so I could download it onto my 8051 microcontroller. The > code is: > * > /* Hello World program */ > > #include > > main() > { > pr

Re: [Sdcc-user] SDCC Compiler Issue

2011-10-05 Thread Karl Hiramoto
See the manual. You'll need to define your own putchar. for example: void putchar (char tx_data) { // write to registers to tx the data. TX buffering, etc } On 10/5/2011 7:16 PM, Theo Tijssen wrote: Hello! I have a simple program in C language that I was hoping to compile in the SDCC compil