cannot compile

Kenichi Okada okada@opaopa.org
Mon Jan 29 23:36:00 GMT 2001


I compiled gcc-20010122.tar.gz. I cannot compile without the next way.

<INSTALL>
% tar zxvf gcc-20010122.tar.gz
% cd gcc-20010122/
% ./configure
% make

% cd i686-pc-linux-gnu/libstdc++-v3
% ./configure --srcdir=../../libstdc++-v3/
% cd ../..
# mv /usr/include/g++ /usr/include/g++-OLD
% make

% cd i686-pc-linux-gnu/zlib
% ./configure --srcdir=../../zlib
% make
% cd ../..
% make

% cd i686-pc-linux-gnu/boehm-gc
% ./configure --srcdir=../../boehm-gc
% make
% cd ../..
% make

% cd i686-pc-linux-gnu/libjava
% ./configure --srcdir=../../libjava
% cd ..
% ln -s ../fastjar .
% ln -s ../gcc .
% cd ..
% make

% make

% make
# make install
</INSTALL>

Why should I attach --srcdir?

-- 
Kenichi Okada
mailto:okada@opaopa.org


More information about the Gcc-bugs mailing list