Cheers Robert. Had tried that, but unloaded, re-loaded etc just in case, no change. Still says no processor selected, I sort of suspect it hasn't got to ooking at the source files yet.
Dave B. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Robert Bergfors > Sent: Wednesday, September 26, 2007 11:54 AM > To: sdcc-user@lists.sourceforge.net > Subject: Re: [Sdcc-user] How to specify chip type (PIC's) ? > > Lainaus Dave Baxter <[EMAIL PROTECTED]>: > > > > > When I try a build (existing code from another environment) I get a > > message to the extent that a processor has not been defined, and to > > use -pPROCESSOR_NAME etc, to set it, and a long list of supported > > types, including the one I want (16F877) > > Personally I don't know of any other way than to specify it > on the command line. > The "-mpic14" seems to have been chosen though...? > For example: > > sdcc -mpic14 -p16f690 target.c > > ...and then of cource #include the proper header files, like > pic16f877.h or something like that. > > > > BR, Robert > -- > [EMAIL PROTECTED] This mail has been scanned by Palmer Cook Computer Services Limited. www.palmercook.co.uk ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user