Re: GCC 3.3.3 Build Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx wrote:

> William Ly <wlyx540@xxxxxxxxxxxxxxx> 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/
> > **********
>

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux