This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Problems rebuilding libffi/Makefile.in
- To: Jeff Sturm <jsturm at one-point dot com>
- Subject: Re: Problems rebuilding libffi/Makefile.in
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Wed, 28 Mar 2001 11:04:00 +1200
- CC: java at gcc dot gnu dot org
- References: <Pine.LNX.4.10.10103270954530.16654-100000@mars.deadcafe.org>
Jeff Sturm wrote:
> On Mon, 26 Mar 2001, Bryce McKinlay wrote:
> > This patch allows me to rebuild libffi's configure and Makefile.in and
> > still have a working build. Does it look reasonable? Tom? Alex?
>
> On Solaris (GNU make) this gave me the error:
>
> /bin/sh ./libtool --mode=compile
> /export/home/jsturm/dev/gcc/objdir/gcc/xgcc
> -B/export/home/jsturm/dev/gcc/objdir/gcc/
> -B/usr/local/sparc-sun-solaris2.7/bin/
> -B/usr/local/sparc-sun-solaris2.7/lib/ -isystem
> /usr/local/sparc-sun-solaris2.7/include -DHAVE_CONFIG_H -I.
> -I/export/home/jsturm/dev/gcc/libffi -I.
> -I/export/home/jsturm/dev/gcc/libffi/include -Iinclude
> -I/export/home/jsturm/dev/gcc/libffi/src -fexceptions -g -O2 -c -o
> src/debug.lo /export/home/jsturm/dev/gcc/libffi/src/debug.c
> ./libtool: src/debug.loT: cannot create
>
> No problem on Linux though... so color me baffled. It is libtool's job to
> create the obj dir? Making it by hand and proceeding with make worked...
Did you reconfigure libffi on the solaris box? The subdirectories in the
build dir get created by configure (this works the same as libjava). Try
deleting your libffi build directory completly and trying again.
regards
[ bryce ]