[Coco] Microware C Compiler port
Bob Devries
devries.bob at gmail.com
Wed Jan 21 20:28:12 EST 2009
John,
do you have access to the C compiler manual?
I'm assuming you have put the pflinit(); at the beginning of main()
(although I believe it can be anywhere provided it's ahead of the first
printf() that tries to print a long.
The usual format to print longs is:
pflinit();
long x=65000;
printf("long number %ld", x);
(Sorry if you already know all this.... :) )
--
Regards, Bob Devries, Dalby, Queensland, Australia
Isaiah 50:4 The sovereign Lord has given me
the capacity to be his spokesman,
so that I know how to help the weary.
website: http://www.home.gil.com.au/~bdevasl
my blog: http://bdevries.invigorated.org/
----- Original Message -----
From: "John W. Linville" <linville at tuxdriver.com>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Thursday, January 22, 2009 11:20 AM
Subject: Re: [Coco] Microware C Compiler port
> On Thu, Jan 22, 2009 at 10:47:38AM +1000, Bob Devries wrote:
>> Sent by private email, John.
>
> Well, thanks -- that resolved the linking problem. OTOH, the long
> variables still got printed as zeroes. :-(
>
> John
> --
> John W. Linville Linux should be at the core
> linville at tuxdriver.com of your literate lifestyle.
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
More information about the Coco
mailing list