Bug 15866

Summary: No rule to make target 'all' in libjava/libltd on cygwin
Product: gcc Reporter: Stephen Crowley <stephen.crowley>
Component: libgcjAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED INVALID    
Severity: normal CC: gcc-bugs, java-prs
Priority: P2    
Version: 4.0.0   
Target Milestone: ---   
Host: i686-pc-cygwin Target: i686-pc-cygwin
Build: i686-pc-cygwin Known to work:
Known to fail: Last reconfirmed:

Description Stephen Crowley 2004-06-08 02:54:35 UTC
cygwin               1.5.10-3       OK

./configure --enable-threads=posix --enable-libgcj --enable-shared
--enable-languages=c++,java --with-as=/usr/bin/as --with-ld=/usr/bin/ld

Run make.. after a while

make[2]: Leaving directory `/c/cvs/gcc/i686-pc-cygwin/libjava'
Making all in libltdl
make[2]: Entering directory `/c/cvs/gcc/i686-pc-cygwin/libjava/libltdl'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/c/cvs/gcc/i686-pc-cygwin/libjava/libltdl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/cvs/gcc/i686-pc-cygwin/libjava'
make: *** [all-target-libjava] Error 2
Comment 1 Andrew Pinski 2004-06-08 03:00:42 UTC
hmm, I know other people have compiled with libjava turned on recently.  Can you try by building in a 
different directory than the source directory?  Also use "make bootstrap" instead of just make.
Comment 2 Stephen Crowley 2004-06-08 18:51:51 UTC
Same problem happens with 'make all' when building in a build subdir

mkdir build
cd build
../configure ...
make


make boostrap *does* work when building from the build subdir however.
Comment 3 Andrew Pinski 2004-07-29 04:42:03 UTC
invalid as you said make bootstrap works is correct for building natively.