From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Alexander To: =?koi8-r?b?y9XM2NTV0s7ZyiDPxtTP0MnL?= Date: Fri, 28 Oct 2005 20:20:38 +0300 User-Agent: KMail/1.6.2 References: <200510281959.13841.rope-walker@yandex.ru> In-Reply-To: <200510281959.13841.rope-walker@yandex.ru> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Message-Id: <200510282020.38653.rope-walker@yandex.ru> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hosting.viahost.ru X-AntiAbuse: Original Domain - lists.altlinux.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - yandex.ru X-Source: X-Source-Args: X-Source-Dir: Subject: [room] Re: Compile c++ X-BeenThere: smoke-room@lists.altlinux.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rope-walker@yandex.ru, =?koi8-r?b?y9XM2NTV0s7ZyiDPxtTP0MnL?= List-Id: =?koi8-r?b?y9XM2NTV0s7ZyiDPxtTP0MnL?= List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 17:23:08 -0000 Archived-At: List-Archive: > =F4=C1=CB=C1=D1 =D0=D2=CF=C2=CC=C5=CD=C1: > [alex@localhost cpp]$ cat test.cpp > #include > > int main() > { > return 0; > } > > [alex@localhost cpp]$ gcc-3.3 test.cpp > In file included > from /usr/include/c++/3.3.3/backward/iostream.h:31, > from test.cpp:1: > /usr/include/c++/3.3.3/backward/backward_warning.h:32:2: > warning: #warning This file includes at least one deprecated > or antiquated header. Please consider using one of the 32 > headers found in section 17.4.1.2 of the C++ standard. > Examples include substituting the header for the > header for C++ includes, or instead of the > deprecated header . To disable this warning use > -Wno-deprecated. /home/alex/tmp/cckOtq3k.o(.text+0x36): In > function > > `__static_initialization_and_destruction_0(int, int)': > : undefined reference to > : `std::ios_base::Init::Init[in-charge]()' > > /home/alex/tmp/cckOtq3k.o(.text+0x65): In function `__tcf_0': > : undefined reference to `std::ios_base::Init::~Init > : [in-charge] > > ()' > /home/alex/tmp/cckOtq3k.o(.eh_frame+0x11): undefined reference > to `__gxx_personality_v0' > collect2: ld returned 1 exit status > > =CD=CF=D6=C5=D4 =D1 =DE=D4=CF-=D4=CF =CE=C5 =D0=CF=CE=C9=CD=C1=C0, =C9=CC= =C9 =DE=D4=CF-=D4=CF =C4=C5=CC=C1=C0 =CE=C5 =D4=C1=CB, > =D0=CF=C4=D3=CB=C1=D6=C9=D4=C5. =F7=D2=CF=C4=C5 =D0=D2=CF=C7=D2=C1=CD=CD= =C1 =C4=CF=CC=D6=CE=C1 =CC=C0=C2=D9=CD =CB=CF=CD=D0=C9=CC=D1=D4=CF=D2=CF=CD > =CB=CF=CD=D0=C9=CC=C9=D4=D8=D3=D1. =D7=CF=D4 =C5=DD=C5 =C4=CF=D0. =C9=CE=C6=CF=D2=CD=C1=C3=C9=D1: [alex@localhost cpp]$ gcc-3.3 -v Reading specs from /usr/lib/gcc-lib/i586-alt-linux/3.3.3/specs Configured with: ../configure --prefix=3D/usr --libdir=3D/usr/lib=20 =2D-with-slibdir=3D/lib --mandir=3D/usr/share/man=20 =2D-infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix=20 =2D-disable-checking --enable-long-long --enable-__cxa_atexit=20 =2D-enable-languages=3Dc,c++,f77,objc,treelang,java,ada=20 =2D-program-suffix=3D-3.3 --enable-objc-gc --with-system-zlib=20 =2D-without-included-gettext --host=3Di586-alt-linux=20 =2D-build=3Di586-alt-linux --target=3Di586-alt-linux Thread model: posix gcc version 3.3.3 20040412 (ALT Linux, build 3.3.3-alt5) =2D-=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, Alex mailto:rope-walker@yandex.ru - private; mailto:admin@unixbeginner.com - site admin; ICQ: 243647806