ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] использование libtool без конфига
Date: Wed, 8 Feb 2012 16:34:34 +0400
Message-ID: <20120208123434.GA7471@altlinux.org> (raw)
In-Reply-To: <1328702475.10391.7@ildar.innovations.kz>

[-- Attachment #1: Type: text/plain, Size: 1317 bytes --]

On Wed, Feb 08, 2012 at 06:01:15PM +0600, Ildar Mulyukov wrote:
> Прошу "помощи зала"
> 
> 1. Установлен libtool_2.2 и gcc4.5
>   Fortran НЕ установлен
> 2. Делаю нехитрые манипуляции:
> 	$ > 1.c
> 	$ libtool --mode=compile cc -c 1.c

Hint: libtool имеет смысл конфигурировать.  Это, вообще говоря, не
обязательно, но в таком случае надо либо использовать --tag, либо
использовать в точности такой же compiler, накоторый сконфигурирован
libtool (см. конец вывода libtool --help).

> /usr/bin/libtool-default: line 1835: x86_64-alt-linux-gfortran: command  
> not found

У меня не воспроизводится, ну да дело не в этом.

> libtool-default: compile: unable to infer tagged configuration
> libtool-default: compile: specify a tag with `--tag'

$ libtool --mode=compile cc -c 1.c
libtool-default: compile: unable to infer tagged configuration
libtool-default: compile: specify a tag with `--tag'
$ libtool --mode=compile x86_64-alt-linux-gcc -c 1.c
libtool-default: compile:  x86_64-alt-linux-gcc -c 1.c  -fPIC -DPIC -o .libs/1.o
libtool-default: compile:  x86_64-alt-linux-gcc -c 1.c -o 1.o >/dev/null 2>&1
$ libtool --mode=compile --tag=CXX cc -c 1.c
libtool-default: compile:  cc -c 1.c  -fPIC -DPIC -o .libs/1.o
libtool-default: compile:  cc -c 1.c -o 1.o >/dev/null 2>&1


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2012-02-08 12:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-08 12:01 [sisyphus] libtool_2.2 без фортрана Ildar Mulyukov
2012-02-08 12:34 ` Dmitry V. Levin [this message]
2012-02-09  7:49   ` [sisyphus] использование libtool без конфига Ildar Mulyukov

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=20120208123434.GA7471@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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