GCC 3.3.3 Build Problem
William Ly
wlyx540@cse.unsw.EDU.AU
Sun Apr 11 09:18:00 GMT 2004
Thanks heaps!! =)
Disabling Java support made the build successful...but why doesn't it
support Java?
To test g++, I made a simple "Hello World" program and it compiled fine
but when I tried to run it, it gave me the error:
./a.out: error while loading shared libraries: libstdc++.so.5: cannot open
shared object file: No such file or directory
Any clues? Something to do with my paths perhaps?
On Sun, 10 Apr 2004 llewelly@xmission.com wrote:
> William Ly <wlyx540@cse.unsw.EDU.AU> writes:
>
> > I'm trying to build GCC 3.3.3 on Red Hat Linux 7.3 but I get the error:
> >
> > /mnt/winD/linux/gcc-3.3.3/libffi/src/x86/ffi.c -o src/x86/ffi.o >/dev/null
> > 2>&1
> > make[4]: *** No rule to make target `src/x86/sysv.S', needed by
> > `src/x86/sysv.lo'. Stop.
> > make[4]: Leaving directory `/home/will/build/i686-pc-linux-gnu/libffi'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/home/will/build/i686-pc-linux-gnu/libffi'
> > make[2]: *** [all-recursive-am] Error 2
> > make[2]: Leaving directory `/home/will/build/i686-pc-linux-gnu/libffi'
> > make[1]: *** [all-target-libffi] Error 2
> > make[1]: Leaving directory `/home/will/build'
> > make: *** [bootstrap] Error 2
> >
> > What is the problem? How can I fix it?
> >
> > **********
> > My source directory is: /mnt/win/linux/gcc3.3.3
> ^^^^^^^^^^^^^^^^^^^^^^^ ?
>
> I am curious as to why the make messages contain
> '/mnt/winD/linux/gcc-3.3.3/' instead.
>
>
> > My build directory is: /home/will/build
> >
> > My source directory is a FAT32 windows mounted directory.
> >
> > I issued the command
> >
> > '/mnt/win/linux/gcc3.3.3/configure'
>
> IIRC, only java uses libffi. So if you don't need java, you could try
> adding '--enable-languages=c,c++' to your configure line.
>
> >
> > followed by
> >
> > 'make bootstrap -lean'
>
> I believe it supposed to be 'make bootstrap-lean' that is, no space
> between 'bootstrap' and '-lean'.
>
> >
> > in the directory /home/will/build/
> > **********
>
More information about the Gcc-help
mailing list