ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Damir <lost404@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Сборка mongoose web server и cc -ldl
Date: Wed, 1 Dec 2010 10:50:42 +0300
Message-ID: <AANLkTikDJVd5=h-V0bt17v_kc4Tq-MVtFcuJSsQcKzwb@mail.gmail.com> (raw)
In-Reply-To: <20101201105136.093259b9@discovery.localdomain>

> В связи с чем вопрос: есть ли отличия в gcc из p5, по сравнению
> с другими бранчами/дистрибутивами (от ALT и не от ALT),
> которые могли бы вызвать такое поведение?

Есть, в данном случае это опция -Wl,--as-needed, которая у нас
включена по умолчанию.

Библиотеки всегда должны быть перечислены после файлов .o (или .c),
иначе ломается статическая сборка во всех дистрибутивах, и
динамическая в Альте и во многих остальных, типа Gentoo, где тоже
используется --as-needed.

http://www.altlinux.org/UpStream/AsNeeded

      reply	other threads:[~2010-12-01  7:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01  7:51 Vladimir Zhirov
2010-12-01  7:50 ` Damir [this message]

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='AANLkTikDJVd5=h-V0bt17v_kc4Tq-MVtFcuJSsQcKzwb@mail.gmail.com' \
    --to=lost404@gmail.com \
    --cc=community@lists.altlinux.org \
    /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