> I've been hacking at this for a few days with no progress, and I'm out 
> of things to try.
> 
> Can anyone offer suggestions?  Should I be building with GPASM and 
> GPLINK?  Is it likely that the libsdcc.lib is the wrong one?  If someone 
> could try to do a build, I'll zip the directory and post it to the list, 
> if that would make it easier.  I'd zip a beer in there too, if I could!
>> warning: processor mismatch in "shadowregs.o"
>> warning: processor mismatch in "idata.o"
>> warning: processor mismatch in "_gptrget1.o"
>> warning: processor mismatch in "_gptrget2.o"

These warnings can be ignored and suppressed via gplink's -w switch. Or 
you recompile the PIC library from SDCC sources.

>> error: linker script has no definition that matches the type of 
>> section "UDL_idata_0"

You are missing the -r option to gplink: The 12f675i's linker script 
only declares SHAREBANKs (aliased memory with > 1 addresses), but wants 
DATABANKs. -r allows to use SHAREBANKs in those cases.

Note: sdcc -mpic14 -p12f675 main.c does it correcly, add -V to see 
what's going on...

Good luck,
Raphael

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to