delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/15/13:47:50

From: "Phil Boucherat" <philboucherat AT btinternet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem building 68K cross compiler
Date: Fri, 15 Dec 2000 18:30:07 -0000
Organization: BT Internet
Lines: 55
Message-ID: <91do4r$f36$1@neptunium.btinternet.com>
References: <3A37C060 DOT 1079B652 AT compuserve DOT com> <3A37C163 DOT 21982ACA AT btinternet DOT com>
NNTP-Posting-Host: host62-7-58-205.btinternet.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019