gnupic: [gnupic] SDCC developer says gputils are broken...


Previous by date: 28 Jul 2005 08:51:08 +0100 Re: [gnupic] SDCC developer says gputils are broken..., Chen Xiao Fan
Next by date: 28 Jul 2005 08:51:08 +0100 Re: [gnupic] SDCC developer says gputils are broken..., Chen Xiao Fan
Previous in thread: 28 Jul 2005 08:51:08 +0100 Re: [gnupic] SDCC developer says gputils are broken..., Chen Xiao Fan
Next in thread: 28 Jul 2005 08:51:08 +0100 Re: [gnupic] SDCC developer says gputils are broken..., Chen Xiao Fan

Subject: RE: [gnupic] SDCC developer says gputils are broken...
From: Peter Onion ####@####.####
Date: 28 Jul 2005 08:51:08 +0100
Message-Id: <1122537037.9794.14.camel@ratbert.alien.bt.co.uk>

On Thu, 2005-07-28 at 11:09 +0800, Chen Xiao Fan wrote:
> PS: helloled1.c is the modified version (using Peter's fix
> of adding "#pragma stack 0x200,64" )of David McNab's sample 
> helloled.c used to be at http://www.freenet.org.nz/sdcc.

That site seems to have been dead since last weekend.  I'm working on an
updated version (with BAJ's help).

> Wow, all the problems related to building SDCC 18F examples
> went away with the latest CVS. Thanks. I have not looked
> at the generated code but it at least builds without any
> problems. Still I do not quite understand the warning message
> about the processor mismatch regading the crt0i.o. 

I think it's because there is only one version of crt0i.o shared by all
the 18F devices.  It's not a problem because there isn't anything
"device specific" in the start up code anyway.  While it is annoying it
can be ignored.  You could always modify the make file for crt0i.o to
compile it with -ppic18f252 then the warning would go away (I think).

I've worked out what I think is a better build process for sdcc that
installs everything properly. Can you can try it out for me ?  I've used
it on a couple of my machines so far and it's worked fine.   I think the
comments in David's HowTo about manually moving some files at the end
are now wrong because it seems the make files have been improved to do
it all automatically now.  BUT I've not tested all the libs yet.


./configure --disable-mcs51-port --disable-gbz80-port --disable-z80-port
--disable-avr-port --disable-ds390-port --disable-ds400-port
--disable-hc08-port --disable-xa51-port

make
su -c  "make install"
cd device/lib/pic16/
./configure
make
make lib-io
cd ..
make model-pic16
su -c  "make install"


Peter


Previous by date: 28 Jul 2005 08:51:08 +0100 Re: [gnupic] SDCC developer says gputils are broken..., Chen Xiao Fan
Next by date: 28 Jul 2005 08:51:08 +0100 Re: [gnupic] SDCC developer says gputils are broken..., Chen Xiao Fan
Previous in thread: 28 Jul 2005 08:51:08 +0100 Re: [gnupic] SDCC developer says gputils are broken..., Chen Xiao Fan
Next in thread: 28 Jul 2005 08:51:08 +0100 Re: [gnupic] SDCC developer says gputils are broken..., Chen Xiao Fan


Powered by ezmlm-browse 0.20.