Bug 15866 - No rule to make target 'all' in libjava/libltd on cygwin
Summary: No rule to make target 'all' in libjava/libltd on cygwin
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: libgcj (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-08 02:54 UTC by Stephen Crowley
Modified: 2005-07-23 22:49 UTC (History)
2 users (show)

See Also:
Host: i686-pc-cygwin
Target: i686-pc-cygwin
Build: i686-pc-cygwin
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.