ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Pozhidaev <msp@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Q: libtool and tags
Date: Wed, 29 Jul 2009 05:30:04 +0700
Message-ID: <m33a8gl9ub.fsf@blard.localdomain> (raw)
In-Reply-To: <20090728181306.GC15432@wo.int.altlinux.org> (Dmitry V. Levin's message of "Tue\, 28 Jul 2009 22\:13\:06 +0400")

Hello, Dmitry V. Levin!

>> указывать при --mode=link.
>
> Попробуйте
> $ info libtool tags
>
> Если останутся вопросы, то спрашивайте ещё.
Да, разобрался. Есть только один вопрос: указание тега может как-то
сказываться на том, что libtool норовит пропустить -shared при линковке?
Получилась такая картина:
libtool --tag=CXX --mode=link g++ -g    -O2 -fPIC  -DPIC -pedantic -ansi -Wall  -g -shared -o tcleci.so tcleci.lo langswitch.lo -ltcl -ldl 
libtool-default: link: g++ -g -O2 -fPIC -DPIC -pedantic -ansi -Wall -g -o tcleci.so .libs/tcleci.o .libs/langswitch.o  -ltcl -ldl
/usr/lib/gcc/i586-alt-linux/4.4.0/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status

-- 
Michael Pozhidaev. E-mail: msp@altlinux.ru.
Tomsk State University. http://www.csd.tsu.ru
ALT Linux Team. http://www.altlinux.org



  reply	other threads:[~2009-07-28 22:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-27 23:04 Michael Pozhidaev
2009-07-28 18:13 ` Dmitry V. Levin
2009-07-28 22:30   ` Michael Pozhidaev [this message]
2011-09-23 17:36   ` Michael Shigorin

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=m33a8gl9ub.fsf@blard.localdomain \
    --to=msp@altlinux.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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