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: GCC 3.1.1 Build Problem


On Tue, 30 Jul 2002, Emil Block wrote:

>
> I am getting  the following error message during the build of GCC 3.1.1, and
> need some help identifying the problem. The configure results are attached.
>
> -isystem /usr/local/sparc-sun-solaris2.7/include  -m64"  "LD=/usr/ccs/bin/ld"

I think this is your problem. You need to build the latest binutils
first, this will give you gnu-as and gnu-ld.

Next time you configure DON'T use --with-gnu-as and --with-gnu-ld;
DO use
configure --with-as=/usr/local/bin/as  --with-ld=/usr/local/bin/ld

with the correct path to configure, gnu ld and gnu as.
If you don't do this then the Java build will
insist on finding /usr/ccs/bin/as and will fail because it won't
accept the right options.
>
>
> Emil Block

        HTH
        Hugh


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