This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: "libgcc.mk Error" when compiling gcc 3.4 for aix 5.2


Mauricio Alvarez Mesa <alvarez@ac.upc.es> writes:

> Hi Eljay
> 
> Thanks for your reply.
> 
> I am running the gcc configure program in a subdirectory that is not
> part of the gcc-3.4.0 source directory
> 
> my directory structure is like that
> 
> - gcc source directory
> /$BASE_DIR/powerpc-aix-gnu/build/gcc-3.4.0
> 
> - gcc install directory
> /$BASE_DIR/powerpc-aix-gnu/result
> 
> - gcc build directory
> /$BASE_DIR/powerpc-aix-gnu/build/build-gcc-3.4.0
> 
> and the configuration command is like that
> 
> cd $BUILD_DIR
> ../gcc-3.4.0/configure --prefix=$PREFIX_DIR --enable-altivec
> --enable-languages=c,c++
> 
> so, the problem seems to be not related with the file structure

I configured gcc 2.95 through gcc 3.3.3 this way, without
    problems. However, gcc-3.4 does not configure correctly (at least, not
    on i686-freebsd5.2) when the path to configure is relative. So I
    configured it with an absolute path, and that worked. I suggest
    you use an absolute path.


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