linux-mips
[Top] [All Lists]

Re: R E: Why the program complied by mips-linux-g++ cann't run on the ta

To: Li Shishan <lishishan@utstar.com>
Subject: Re: R E: Why the program complied by mips-linux-g++ cann't run on the target machine
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Mon, 6 Sep 2004 11:25:04 +0200 (MEST)
Cc: Linux/MIPS Development <linux-mips@linux-mips.org>
In-reply-to: <BA3B937FD9473E41998E125463A3914301CA5774@cnmail01.cn.utstarcom.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <BA3B937FD9473E41998E125463A3914301CA5774@cnmail01.cn.utstarcom.com>
Sender: linux-mips-bounce@linux-mips.org
On Mon, 6 Sep 2004, Li Shishan wrote:
>         My  test program is coded by C, but my normal project was  coded by 
> C++;
>
>      If  actually   there requrie the C++ runtime library ,   Can you have 
> any other method for it .
>
>     because the C++  runtime library very huge, my  flash is limited.

That's the disadvantage of using C++: it needs a large runtime.

You can work around it by building your own stripped libstdc++, that includes
only the stuff you really need.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

<Prev in Thread] Current Thread [Next in Thread>