This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PowerPC development tools on windows.


"Satish Babu M.V" wrote:
> 
> We are facing problem while building powerpc development tools for
> windows:
> 1.
> when we configure GCC as per given in the document(win-powerpc-eabi.html):
> /src/gcc/gcc-2.95.2/configure --target=powerpc-eabi \
>       --prefix=/tools \
>       --exec-prefix=/tools/H-i686-pc-cygwin \
>       --with-gnu-as --with-gnu-ld --with-newlib \
>       -v 2>&1 | tee configure.out
> 
> the following error message is displayed.
> "*** cannot find config.sub."
> 
> Did anyone face this problem?

At a guess you are using a cygwin version prior to 1.0. The problem is that
config.sub is a shell script and therefore requires /bin/sh to be present.
With older cygwins, /bin didn't always point to the cygwin tools.

As a stopgap measure, mount the cygwin bin directory as /bin. For example,
from a bash prompt:

bash-2.03$ mount 'c:\cygwin\bin' /bin

Obviously change c:\cygwin for wherever you installed cygwin.

HTH,

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]