ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Lebedev <linux@vlink.ru>
To: community@altlinux.ru
Subject: Re: [Comm] gcc & stl
Date: Mon, 30 May 2005 15:04:41 +0400
Message-ID: <20050530110441.GA7895@vgg.ru> (raw)
In-Reply-To: <429AEC77.8060900@iop.kiev.ua>

On 30 May, Andrey Rybak wrote:
> Шайхутдинов Дамир wrote:
> 
> >30.05.05 в 13:25 Andrey Rybak в своём письме писал(а):
> >
> >
> >Насколько я понял из курения мануала по gcc (info gcc, если заинтересует)
> >gcc -lstdc++ сначала перегоняет C++ код в C, затем компилирует  
> >компилятором языка C, получается объектный код (к нему потом  
> >прилинковывает библиотечки приплюснутые) - то есть делает лишнее  
> >преобразование C++->C.
> >
> >g++ компилирует сразу из C++ в объектный код - как следствие, 
> >программа  получается более оптимизированной.
> >
> g++ - это всего лишь ссылка на gcc. Как она избавляется от лишнего 
> преобразования C++->C ?

Нуууууууууу.
А если полностью заглядеть, всю цепочку symlink'ов?

-=(barabashka)=- [linuxcomp:~] ls -al `which gcc`
lrwxrwxrwx  1 root root 30 Апр  7 14:50 /usr/bin/gcc ->/etc/alternatives/|usr|bin|gcc

-=(barabashka)=- [linuxcomp:~] ls -al /etc/alternatives/\|usr\|bin\|gcc
lrwxrwxrwx  1 root root 20 Апр  7 14:50 
/etc/alternatives/|usr|bin|gcc -> /usr/bin/gcc_wrapper




  parent reply	other threads:[~2005-05-30 11:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-30  8:56 Andrey Rybak
2005-05-30  9:09 ` Шайхутдинов Дамир
2005-05-30  9:15   ` Andrey Rybak
2005-05-30  9:24     ` Шайхутдинов Дамир
2005-05-30  9:25       ` Andrey Rybak
2005-05-30 10:19         ` Alexey Rusakov
2005-05-30 10:27           ` Andrey Rybak
2005-05-30 10:59             ` Alexey Rusakov
2005-05-30 10:29         ` Шайхутдинов Дамир
2005-05-30 10:35           ` Andrey Rybak
2005-05-30 10:51             ` Alexey I. Froloff
2005-05-30 10:56               ` Andrey Rybak
2005-05-30 14:25                 ` Andrey Rahmatullin
2005-05-30 11:05               ` Serge Polkovnikov
2005-05-30 12:27                 ` Vasya Makarov
2005-05-30 14:53                 ` Andrey Rahmatullin
2005-05-30 15:17                   ` Andrey Rahmatullin
2005-05-30 10:53             ` Шайхутдинов Дамир
2005-05-30 11:00               ` Andrey Rybak
2005-05-30 11:41                 ` Шайхутдинов Дамир
2005-05-30 11:04             ` Sergey Lebedev [this message]
2005-05-30 11:12               ` Andrey Rybak
2005-05-30 11:13             ` Vasya Makarov
2005-05-30 11:20             ` Andrew Borodin
2005-05-30 11:35           ` Boldin Pavel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050530110441.GA7895@vgg.ru \
    --to=linux@vlink.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git