Ah, thanks, that (having gpasm on the path) solved the problem.

My actual problem was of course that I had not installed gputils in the
first place, 
must have been mentioned as requirement somewhere but did not spot it.


Thanks again.

br Kusti





>>> rnei...@web.de 27.12.2008 0:01 >>>
> when I enter commands:
> 
> cd device/lib/pic16
> ./configure
> make

During the configure-run you must have gpasm and gplink in your PATH
(the configure script will tell you if it found them). In your case,
gpasm has not been found.
With /path/to/gpasm/gpasm being the installed gpasm tool, try
  export PATH=$PATH:/path/to/gpasm # if using bash
  setenv PATH $PATH:/path/to/gpasm # for csh
before executing ./configure
 
> after compiling quite a few files succesfully the make stops as
> follows:

This is strange, as it indicates that the assembler could be found,
at least by the compiler ...

> source='delay/delay100ktcy.S' object='delay100ktcy.o' libtool=no \
>       DEPDIR=.deps depmode=none /bin/sh ../depcomp \
>       ':' -DHAVE_CONFIG_H -I. -I..    -I../../../include/pic16 -I.
> -p18f452 -c -o delay100ktcy.o `test -f 'delay/delay100ktcy.S' ||
echo
> './'`delay/delay100ktcy.S
> ../depcomp: line 571: exec: :: not found
> make[2]: *** [delay100ktcy.o] Error 127
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> digging into this it seems that gnu depcomp chokes on being passed
':'
> as the file generate the dependencies on.

: is a shell built-in that acts like /bin/true and just consumes
all arguments successfully. Probably exec on this non-binary fails.
This should be circumvented by making gpasm available to configure.

> My guess is that has something to do with delay100ktcy.S being an
> assembler file (as opposed to C) but I'm not 
> expert enought to know how to handle/circumvent this.

That's right (at least the first part of your statement ;-) ).

If the above does not help, please post the complete output of the
configure script (Especially the lines around Checking for gpasm ...
and Checking for gplink ...).

Merry Christmas,
Raphael


------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/sdcc-user

------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to