This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Adding newlib to existing GCC, prefix?


> Vitus Jensen wrote:
> >
> > I'm trying to add newlib-1.12.0 to an existing port of GCC.  That GCC
> > was produced some year ago by a collegue no longer available.  He
> > used the coldfire project (http://sca.uwaterloo.ca/coldfire/) to
> > crosscompile from Windows 2000 (cygwin B20) to our own
> > hardware/software plattform which uses Motorola
> > DragonBall and a propritary OS. The compiler itself runs fine, it's just
> > that now I need a CRT...
> > 
> > "configure" and "make all" complete successfully, but "make install"
> > fails :-(
> > 
> > //T/C/coldfire/gcc-m68k                 ; contains
> >                                                    ;
bin/m68k-coff-gcc.exe etc
> > //T/C/coldfire/newlib-1.12.0             ; contains original
> >                                                    ; newlib1.12.0
> > //T/C/coldfire/newlib                      ; my build directory
> > 
> > I'm using the following configure command (with variations of --host and
> > --prefix values):
> > 
> > //T/C/coldfire/newlib-1.12.0/configure --target m68k-coff
> > --enable-target-optspace --prefix=//T/C/coldfire/gcc-m68k
> > 
> > "make install" fails when calling install:
> > 
> > INSTALL - gcc-m68k for Win95/NT Release 6
> > 
> > Usage:
> >   install install-directory
> > 
> > This program will install gcc-m68k Release 6
> > to the install-directory from the current directory.


> You appear to be picking up an install binary that isn't the default
> "install" binary for Cygwin (note the message you get).  You might
> try reissuing the make 
> install command and overriding it's choice by adding INSTALL="xxxx" where
> xxxx is the normal Cygwin install.

Good tip!

Makefile is using /GCC-M68K/BIN/install.exe instead of
/CYGWIN-B20/H-I586-CYGWIN32/BIN/install.exe.

OK, Makefile fiddling is impossible because this path is written to every
single Makefile in the tree.

Is it OK to edit config.cache and run config.status to recreate Makefiles?
Or do I have to rerun configure and pass extra options?  I remember that I
have seen "Detecting cygwin... no" on the screen but that message is logged
nowhere.  Should configure detect cygwin?

Sorry, but I'm new to this configure stuff (and new to windows but this
doesn't count :-).

Bye,
   Vitus

-- 
Dipl-Ing Vitus Jensen
Tischlerstr. 8, D-30916 Isernhagen
Tel +49-5136-893002, Fax +49-5136-893003


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