Mail Archives: djgpp/2000/12/15/13:47:50
Phil Boucherat <philboucherat AT btinternet DOT com> wrote in message
news:3A37C163 DOT 21982ACA AT btinternet DOT com...
> Just sending this again since my email address has changed ....
>
> Phil Boucherat wrote:
>
> > Hi,
> >
> > I'm trying to build a 68K cross compiler with the DOS DJGPP tools, and
> > starting with BINUTILS 2.951. I've managed to configure this and make
> > the relevant exe files (ls, as, etc.) but "make install" then tries to
> > copy the files to my install directory (/g68 -> set using --prefix=/g68
> > at the configure stage) but falls over on the first file which is the
> > BFD library with and error something like this :
> >
> > ./libtool: ./install: error "libbfd.la is not a directory
> >
> > This is right of course, since libbfd.la is a file, but it is being
> > copied using "install -c libbfd.la .....", which as fas as I can work
> > out should end up just copying it using mv.
> >
> > Can anyone shed any light on this? I know I can copy the files by hand,
> > but I don't think it should be necessary.
> >
> > Cheers,
> >
> > Phil
>
Oh well, ignore all that, I looked at the error again and it was actually
this :
make.exe[3]: Entering directory `c:/djgpp/gnu/binutl-2.951/bfd'
c:/djgpp/bin/sh.exe ./../mkinstalldirs /g68/lib
c:/djgpp/bin/sh.exe ./libtool --mode=install c:/djgpp/bin/sh.exe
/dev/c/djgpp/gnu/binutl-2.951/install-sh -c libbfd.la /g68/lib/libbfd.la
libtool: install: `/g68/lib/libbfd.la' is not a directory
Try `libtool --help --mode=install' for more information.
make.exe[3]: *** [install-libLTLIBRARIES] Error 1
Therefore fixed as follows : comment out the first line and insert the
second line in the makefile in the top level directory (in my case
:\djgpp\gnu\binutl-2.951) after running configure
# INSTALL = $(SHELL) $$s/install-sh -c
INSTALL = c:/djgpp/bin/ginstall -c
Now to build the compiler ...
Cheers,
Phil
- Raw text -