This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: bug in ZipInputStream


Erik,

I believe you need to do the build in a directory which is not the source directory.

So you should do:

cd $GCC_SRC_DIR
mkdir build
cd build
../configure --options-as-needed
make

This info is already in the FAQ I believe.


Kresten


Erik Poupaert wrote:
But you don't need to understand any of this stuff to
build from source.  Just do:

./configure --prefix /opt/gcc-snap
make bootstrap
make install
export PATH=/opt/gcc-snap/bin:$PATH
export LD_LIBRARY_PATH=/opt/gcc-snap/lib

Ok. I'm in the gcc download folder now:

bash-2.05b$ dir
COPYING       Makefile.in   config.if     gcc         libiberty
libtool.m4          missing         ylwrap
COPYING.LIB   Makefile.tpl  config.sub    include     libio
ltcf-c.sh           mkdep           zlib
CVS           README        configure     install-sh  libjava
ltcf-cxx.sh         mkinstalldirs
ChangeLog     boehm-gc      configure.in  libbanshee  libmudflap
ltcf-gcj.sh         move-if-change
INSTALL       config        contrib       libchill    libobjc       ltconfig
symlink-tree
MAINTAINERS   config-ml.in  etc           libf2c      libstdc++
ltmain.sh           texinfo
Makefile.def  config.guess  fastjar       libffi      libstdc++-v3
maintainer-scripts  xiberty
bash-2.05b$ ./configure --prefix /opt/gcc-snap
Configuring for a i686-pc-mingw32 host.
grep: /cygdrive/c/javaroot/prj-native/gcc/gcc/version.c: No such file or
directory
*** ./configure.in has no "per-host:" line.
bash-2.05b$ make bootstrap
make: *** No rule to make target `bootstrap'.  Stop.

Strange, because I can see the version.c file. It has "const char
version_string[] = "3.3 20021215 (experimental)";" inside.

Would anybody know why ./configure fails?

Thanks
Erik







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