On Mar 15, 2010, at 12:40 PM, Marc Lobelle wrote:
> I'm using sdcc on Solaris (for pic processors) since a few years now,
> but I compiled it with gcc. i did not have compilation problems.

   Yes, I'm trying with gcc right now on a test machine.  The code  
generation of Sun's compiler for UltraSPARC architecture is far  
better than GCC's, so I've standardized on that for all of my  
builds.  I don't want to have just one package built with GCC.   
(requiring the libgcc_s.so hanging around, etc)

> If you plan to use sdcc on pics, be careful to access the registers  
> one byte at a time: for memory,
> the compiler handles larger data types, but do not try to write 16  
> bits in a pair of registers, as
> some microchip compiler allows.

   Ahh ok, thanks for the tip.  My current applications are all  
mcs51, but I've been looking at doing something with a PIC18 chip  
very soon.

              -Dave

-- 
Dave McGuire
Port Charlotte, FL


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to