Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Xiaofan Chen
On 9/26/07, Ken Jackson <[EMAIL PROTECTED]> wrote: > I think the main problem is the PIC architecture. It's actually > somewhat shocking how well SDCC has done to make C actually work > on an architecture that was clearly intended to run only assembly > code. Firstly now there are different PIC a

Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Ken Jackson
I think the main problem is the PIC architecture. It's actually somewhat shocking how well SDCC has done to make C actually work on an architecture that was clearly intended to run only assembly code. As for standards, I have come to view GCC as the center of the universe. Anything that differs

Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread John J. McDonough
- Original Message - From: "Dave Baxter" <[EMAIL PROTECTED]> Subject: Re: [Sdcc-user] How to specify chip type (PIC's) ? > correctly. I dred to think if I ever need to re-install it, the > original website with the instrucitons on, has long gone, and quite > where my notes about it all

Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Dave Baxter
Hi... Yes, I have Cygwin too, not on this PC though. I got it for the sshd facility a couple of years ago, a very good robust fallback VPN whenever I need it. Mind you, installing that was not painless either, needing several downloads and builds to get all the bits needed working correctly.

Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Ken Jackson
I saw your last message, that you reinstalled in C:\SDCC. That's a good choice, but the 'subst' command still works. E.g.: subst S: "C:\Program Files\SDCC" That creates a drive S: that is really a subdirectory, but works just like a drive partition. (To remove it: subst /D S: )

Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Dave Baxter
Thanks for all that Raphael... I sort of pre-empted you with the re-install, to C:\SDCC as you suggested... I'll work through the rest as I go, probably doing all the donkey work with a batch file, as I normally try to keep all my project files in their unique directories, so I will need to speci

Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Raphael Neider
Hello Dave, > What is SDCC's support of windows long file names? It's burping now > on C:\Program Files\SDCC etc etc, showing the path as "Files\SDCC etc > etc" So, it's now not even finding the source files. You will have to quote them (i.e., use sdcc -mpic14 -p16f877 "C:\Program Files\SDCC\wh

Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Dave Baxter
No choice, I have to continue with windowz. I have linux too (mandrake 9.2) I don't know enough of that for it to be useful, it just p's me off most of the time, but I did make it host a VoIP proxy! Even if you have to load it by hand each time. About the best 'nix distro I ever found, fast, l

Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Jean-Paul
You are talking of problems I encounter when using Windows, be it with other applications: it is sometimes unpredictable. Are you sure you want to continue with Windows? Regards JP Le Mercredi 26 Septembre 2007 13:56, Dave Baxter a écrit : > Related to all this > > What is SDCC's support o

Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Dave Baxter
Related to all this What is SDCC's support of windows long file names? It's burping now on C:\Program Files\SDCC etc etc, showing the path as "Files\SDCC etc etc" So, it's now not even finding the source files. ..\source\etc.c doesn't work now either, it did 5 minutes ago! Confused A

Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Dave Baxter
Hi Ken... Sort of agree that the problem may be caused by the way C::B builds the command line, but it's SDCC's output that shows the use of the -p option, not C::B's. The C::B forum's and web pages I've found so far (including that not very welcoming one) have not been of any help. Lot's of peo

[Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Ken Jackson
The command line shown does not have any -p switch on it. This shoulds like a Code::Blocks problem, not an SDCC problem. There is a forum site where you could post the question and you might get more helpful answers: As an experiment, you could just issue the

Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Dave Baxter
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 > R

Re: [Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Robert Bergfors
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) Per

[Sdcc-user] How to specify chip type (PIC's) ?

2007-09-26 Thread Dave Baxter
Hi... Dumb newbie time I'm afraid... I have SDCC (version unknown, but downloaded, built, installed a week or three ago) running within Code::Blocks (V1 RC2) and am having trouble (like cant seem to do it) getting the system to select a chip to build for. When I try a build (existing code from a