|
From: <M.v...@ca...> - 2001-09-17 05:33:51
|
First of all, thankyou to those who have replied to me already. I've
narrowed down (some) of my problems, for those still willing to give some
advice:
I can 'putchar(c)', but I can't 'printf' - what gives? Where should I define
my putchar - in main(), or in my serial.h routine which is included?
Note that I'm more or less using the serial routines as written by Victoria
Welch, on the okr web site, not the library routines.
So, summary:
putchar(c) works, definitely.
printf("Hello, world!\n\r") does NOT work, definitely (I have the library
path set correctly, I'm using the winbin version downloaded from okr very
recently. If I could get sdcc to compile on my Linux box then I could check
the program there....)
What gives?
Cheers,
Matthew van de Werken
Electronics Engineer
CSIRO Exploration & Mining - Gravity Group
1 Technology Court - Pullenvale - Qld - 4069
ph: (07) 3327 4685 fax: (07) 3327 4455
email: m.v...@ca...
|