bug-gplusplus
[Top][All Lists]
Advanced

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

g++/ld mips-irix problem


From: Christian Becker
Subject: g++/ld mips-irix problem
Date: Fri, 01 Nov 2002 11:22:29 +0100
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2a) Gecko/20020910

g++ isn't working, as I have no idea what to do i'm looking for help
here :) (gcc is working fine)

IRIX 6.5.17m
> Reading specs from /usr/local/lib/gcc-lib/mips-sgi-irix6.5/3.2/specs
> Configured with: ./configure --prefix=/usr/local
> --enable-languages=c,c++,ada --disable-multilib --with-cpu=r5000
> --disable-threads --without-gnu-ld
> Thread model: single
> gcc version 3.2

Test program (alternative with "using namespace std;" or without namespaces):
> #include <iostream>
>
> int main() {
>  std::cout << "abc";
> }

Result:
> g++ -Wall a.cpp
> ld32: FATAL 9: I/O error (-lgcc_s): No such file or directory
> collect2: ld returned 32 exit status

Obviously, my Linker doesn't like this parameter. How can I train g++ not to use it? But as gcc runs fine - what could be the real problem and how to solve it? I really would like to use C++ rather then only C ;)

Ch. Becker





reply via email to

[Prev in Thread] Current Thread [Next in Thread]