soliton wrote:
> BTW, I just switched to bash and make the library. The lib/pic had 
> been done. The lib/pic16 is in progress, from the progress i could 
> tell it will be successfully compiled as well.
> Just wonder, why the makefile use bash instead of generic shell 
> command. Therefore we could run the makefile under different kind of 
> shell: ksh, csh, tcsh, or perhaps ash :)

The reason is that the mostly used sdcc development platforms are Linux 
and Windows + (cygwin or mingw), where the default shell is bash.

Can you please replace lines

SHELL = bash

with

SHELL = sh

in device/lib/pic16/Makefile.common.in and 
device/lib/pic/Makefile.common.in and try to rebuild the libraries? If 
it will work, I'll change it in SVN.

I saw that bash is used also in sim/ucsin/cmd.src/Makefile.in. Please 
replace the line:
DEVEL        = $(shell ( bash -c "test -e $(top_builddir)/devel && echo 
yes" ))

with

DEVEL        = $(shell ( sh -c "test -e $(top_builddir)/devel && echo 
yes" ))

You'll have to rerun the configure or at lease config.status after 
changing Makefiel.*.in files.


Borut


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to