This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Compiling of snapshot egcs-20001023 failed.


Trond Bo wrote:
> 
> Hi.
> 
>    The linux version on my computer is Debian 2.2
> 
>    I downloaded the snapshot labled egcs-20001023.tar.gz.
>    Configure was run without any argumnts followed by an 'make bootstrap'
> 
>    After a while I returned to check the result and the compilation
>    has failed with the following :.
> 
> make[2]: *** No rule to make target `../gcc/gansidecl.h', needed by `exception.o'.  Stop.
> make[2]: Leaving directory `/home/egcs-20001023/i686-pc-linux-gnu/libstdc++'
> make[1]: *** [all-target-libstdc++] Error 2
> make[1]: Leaving directory `/home/egcs-20001023'
> make: *** [bootstrap] Error 2
> 
>    Has anyone some good ideas or should I wait for the next snapshot ?
> 
> 

Looks like you're trying to build with srcdir == objdir.  This doesn't
currently work.  You'll need to create a build directory and run
configure, make and make install from there.

For example:

src/ build/

from build:

../src/configure --prefix=/my/installdir/
make all
make install

-eric

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