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 specify paths etc.  The
linker, no doubt I'll be muttering about that later, at least I now have
some documentation to go through, and I'll make a copy of it's default
(help) output as a cross reference.

I used to do all this sort of thing as a matter of course years ago, but
these days I find I don't have the time or patience to fight the system
if it doesn't easily do what I want it to do.

In this instance (the PIC based project) I'm doing this as a hobby,
however, I often do much the same as a job, why I sometimes wonder...

Oh well, back to collecting the sources etc...   If I ever figure out
what C::B was trying to do, I'll see if that can be altered too, as I've
been spolt with flashy syntax highlighted code editors and integrated
IDE's etc.

Cheers.

Dave B.




> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Raphael Neider
> Sent: Wednesday, September 26, 2007 1:23 PM
> To: sdcc-user@lists.sourceforge.net
> Subject: Re: [Sdcc-user] How to specify chip type (PIC's) ?
> 
> 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\whatever"). If you installed SDCC into 
> a path including spaces, I suppose you need to add proper -I 
> and -L directives to tell SDCC the Include and Library search 
> paths in a quoted manner like
> 
> sdcc -pic14 -p16f877 -I "C:\Program Files\SDCC\include\pic16" 
> -I "C:\Program Files\SDCC\include" -L "C:\Program 
> Files\SDCC\lib\pic16" -L "C:\Program Files\SDCC\lib" 
> "C:\Program Files\myself\test\etc.c"
> 
> You might also try to use POSIXish path names using a forward 
> slash as separator instead of a backslash---quotes are still 
> required to mask the space.
> 
> Specifying paths for source files should only be required if 
> they do not reside in the current directory (use "cd NAME" to 
> change the current directory, e.g. via a relative path NAME).
> For these include directories and library search paths there 
> should be nice dialog boxes around to set them up, along with 
> arguments (such as
> -p16f877) to the compiler...
> 
> But even if all this does go well, there is still the problem 
> of telling gputils/gplink to find its .inc/.lkr files... and 
> of course calling gpasm and gplink in the first place...
> 
> I'd recommend to reinstall SDCC and gputils into a path with 
> no spaces in them, such as "C:\sdcc". Good luck.
> 
> > As to the "| More" "feature".  I also find that you can't redirect 
> > it's output to a file, as in...
> > 
> > Aplication.exe > tmp.txt
> > 
> > SDCC talking to the bios directly, or what?
> 
> Nope, but as its output is errors and warnings, these go into 
> a different output stream: there's a standard output stream 
> (stdout), which can be redirected and piped through more 
> using the | and > operators, but which receives hardly any 
> output from SDCC, and then there's the standard ERROR output 
> stream (stderr), which cannot easily be redirected using | or 
> >. However, on Linux systems you can redirect the stderr 
> stream via the construct 2>&1 to go to stdout, so maybe sdcc 
> [options here] 2>&1 | more works even on Windows... As I do 
> no (longer) use Windows, I cannot test any of these proposals.
> 
> Regards,
> Raphael
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

Reply via email to