2ちゃんねる スマホ用 ■掲示板に戻る■ 全部 1- 最新50    

Autoconf,Automakeについて

1 :名無しさん@お腹いっぱい。:02/04/11 05:24.net
奥深さの前に使い方がさっぱり分からん。教えて下さい。

関連サイトは>>2

213 :名無しさん@お腹いっぱい。:2007/06/25(月) 17:54:39 .net
>>210
ライブラリのヘッダファイルであるかどうかわからないtypedefをさらにtypedefって
あまり見ないような。大抵自分で型を判断してやってないか。

214 :名無しさん@お腹いっぱい。:2007/06/25(月) 23:28:01 .net
>>213
自分で判断というのはhogeが定義してあるのでOSはhageだとかCPUはfooだとかで
つまり4バイト数値型はhoge_intとかですか。
それがconfigureでやることではないのですか?


215 :名無しさん@お腹いっぱい。:2007/06/26(火) 18:44:44 .net
>>214
そのライブラリを使うアプリのconfigureでやればいいんでない?
そういう話では無いのかな

216 :名無しさん@お腹いっぱい。:2007/07/07(土) 22:49:39 .net
>215
ライブラリを使う側でいちいちどのマクロを定義してやる必要があるかを考えるのが面倒くさい…と思ったんだけど、
そのライブラリ用に Autoconf マクロを作ってしまうというのでその点は解決するか。
その上で、ヘッダ側では

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

しておけば OK かな。

217 :名無しさん@お腹いっぱい。:2007/07/08(日) 20:43:24 .net
>>216
うん。ライブラリ側で、hoge.m4作って、share/aclocal以下にインストールしてあげる。
hoge.m4はAC_DEFINE()とか、一部AH_VERBATIM()とかでconfig.h.inに追加する感じ。
結構面倒な作業になるのかもしれないけど、、、

まあ、hoge_config.h.inから作るってのも解決方法の一つかもしれないけど、
どっちが良いかはよく分からないです。


218 :名無しさん@お腹いっぱい。:2007/07/23(月) 03:24:18 .net
CFLAGSとCPPFLAGSの違いがよくわかりません
Cプリプロセッサフラグってどういうことでしょうか?
-I/fuga/fuge/
をコンパイル時に指定したい場合、
CFLAGS=-I/fuga/fuge/
だと追加されなくて
CPPFLAGSに指定すると追加されてました。
ちなみにC++のファイルです。

219 :名無しさん@お腹いっぱい。:2007/07/23(月) 11:01:31 .net
なぜそこで
> Cプリプロセッサフラグ
という自分の推測が間違っているということを疑わないのか。

220 :名無しさん@お腹いっぱい。:2007/07/23(月) 19:01:58 .net
いや、推測じゃないです。
http://sources.redhat.com/automake/automake.html

CPPFLAGS
C/C++ preprocessor flags
となってます。


221 :名無しさん@お腹いっぱい。:2007/07/23(月) 21:04:35 .net
まず問いたい。
おまえはそれを見て、それが正解だと推測したわけだよな?
公式のマニュアルではなく、なぜそんな下らんもので推測したんだ?


222 :名無しさん@お腹いっぱい。:2007/07/23(月) 22:30:52 .net
>>221
いや、これ、infoのhtml版だから、ほぼ正式と思っていいと思う。

>>218
http://sources.redhat.com/automake/automake.html#C_002b_002b-Support
CXXFLAGSがC++のときのCFLAGSみたいなもの

プリプロセッサとは、
http://e-words.jp/w/E38397E383AAE38397E383ADE382BBE38383E382B5.html
これでも読んでくれ。#includeを処理するのが何か分かれば
多分理解できると思う。

223 :名無しさん@お腹いっぱい。:2007/07/23(月) 23:56:05 .net
ありがとうございます。
プリプロセッサの処理にコマンド指定できるんですね・・・知らんかったです。
C++でのオプションはCXXFLAGSで指定します。
サンクスでした

224 :名無しさん@お腹いっぱい。:2007/07/24(火) 23:43:52 .net
まず問いたい。
>という自分の推測が間違っているということを疑わないのか。
という発言が出てくるのか。
CPPFLAGSがC++用フラグだとでも自分の推測で発言したのか?w

225 :名無しさん@お腹いっぱい。:2007/11/28(水) 22:49:28 .net
bin_PROGRAMS=/tmp/fuga
とか出来ないんですけど、/tmp/下に生成したい場合とかどうすればいいんですか?


226 :名無しさん@お腹いっぱい。:2007/11/29(木) 08:39:52 .net
できるかどうかわからないけど、なぜそういうことをしたいのか
の目的がわかれば、別の解決法が出てくるかもね。


227 :名無しさん@お腹いっぱい。:2007/11/29(木) 11:49:47 .net
自分のホームディレクトリにソースがあったとしても、
/tmp/でmakeしたいんです。

/home/my/src/"ここにソースがある"
けど、makeを叩くことで、
/tmp/でビルドさせたいんです。

228 :名無しさん@お腹いっぱい。:2007/11/29(木) 19:43:54 .net
>>227
> 自分のホームディレクトリにソースがあったとしても、
> /tmp/でmakeしたいんです。

/tmp で/home/my/src/configure
すれば、/tmp以下にMakefileができると思うけど。
そういう話ではない?


229 :名無しさん@お腹いっぱい。:2007/11/29(木) 23:14:50 .net
Makefileの中身が相対パスで書かれてるみたいなので、
/tmpでmakeをしてもエラーが出るんですよね・・・
やっぱり、ソースツリーを全部/tmpにコピーってconfigure,makeした方が
早いですかね?

230 :名無しさん@お腹いっぱい。:2007/11/30(金) 09:52:32 .net
それは多分そのプログラムの方が悪い(autotoolsの使い方の問題)。
tmpに全部コピーした方が早そう。


231 :名無しさん@お腹いっぱい。:2007/12/01(土) 02:00:10 .net
普通、相対パスで書かないものですか?

232 :名無しさん@お腹いっぱい。:2007/12/01(土) 09:41:28 .net
>>231
srcdir や top_srcdir への相対パスなら大丈夫だけど、
# 絶対パスならabsを付ける
カレントディレクトリからのパスになってるんじゃない?


233 :名無しさん@お腹いっぱい。:2007/12/18(火) 17:33:38 .net
prog_SOURCESにカレントディレクトリ以外のファイルを以下のように指定すると

my_src_dir=/home/xxx/src/
prog_SOURCES=$(my_src_dir)test.c

生成されるMakefileに

include ./$(DEPDIR)/prog-$(my_src_dir)test.Po

という記述がされて、

./deps/prog-/home/xxx/src/test.Po

を見に行ってしまいエラーになってしまいます。
回避する方法ってありますか?


234 :名無しさん@お腹いっぱい。:2007/12/18(火) 23:29:27 .net
>233
my_src_dir=/home/xxx/src
prog_SOURCES=$(my_src_dir)/test.c

だったら通ったりしない?
って絶対パスじゃないと駄目なの?そーいうのはソースじゃなくてライブラリにしないか?

235 :名無しさん@お腹いっぱい。:2007/12/19(水) 20:40:41 .net
あちこちにあるファイルを集めて一つのディレクトリツリーを作りたいんですが、
なんかうまいやりかたは無いんでしょうか

a/b/c/hoge : d/e/hoge
install ...
a/b/c/huga : f/g/huga
...

とか延々と書くのが面倒臭いんです...



236 :名無しさん@お腹いっぱい。:2007/12/23(日) 11:19:48 .net
>>234
ダメなんです。なぜかそういう風に展開されちゃうんですよね・・・


237 :sage:2008/11/15(土) 00:31:39 .net
同じソースファイルを使って、実行ファイルと共有ライブラリを
作りたいのですが、
‘created with both libtool and without’エラーが吐かれて、
うまくいきません。

http://www.gnu.org/software/automake/manual/html_node/Libtool-Issues.html
の8.3.9.2 Objects ‘created with both libtool and without’
に解決らしき記述があるのですが、意味がわからず困っています。
どうしろと書いてあるのでしょうか?


238 :名無しさん@お腹いっぱい。:2008/11/15(土) 11:13:40 .net
>>237
そこの
> A workaround for this issue is
以下をていねいに読めばだいたいわからんかな?

prog_CFLAGS = $(AM_CFLAGS)
を追加して、副作用として prog.c と foo.c が prog-prog.o と prog-foo.o に
コンパイルされるようにする(そうすることで、ライブラリのほうの
オブジェクトファイルと、名前がぶつからないようにする)、とある。

239 :名無しさん@お腹いっぱい。:2009/06/28(日) 12:09:38 .net
linuxなんですがAutoconf,Automakeについて質問してもいいですか?

240 :名無しさん@お腹いっぱい。:2009/08/10(月) 13:58:44 .net
どうぞ


241 :名無しさん@お腹いっぱい。:2011/04/12(火) 05:29:50.46 .net
hoyu

242 :名無しさん@お腹いっぱい。:2012/10/19(金) 00:16:16.94 .net
http://shop.oreilly.com/product/0636920025108.do
良いか?

243 :名無しさん@お腹いっぱい。:2014/04/07(月) 01:55:27.82 .net
llvm bitcodeを中間コードとしてビルドするようなmakefileをautotoolsで作れませんかね?

244 :名無しさん@お腹いっぱい。:2015/01/03(土) 09:15:56.58 .net
--with-* と --enable-* との使い分け方が解らない。
http://www.geocities.co.jp/SiliconValley-Oakland/3432/man/autoconf/autoconf-ja_9.html
を読んでも解らない。

どっちを使っても良いのかな?

245 :名無しさん@お腹いっぱい。:2015/01/03(土) 21:25:10.13 .net
ぐぐったら入力途中で候補にautoconf with vs enableというのが出てきたので
その結果を見てみたらいろいろと議論はあるようだ。

https://mail.python.org/pipermail/python-dev/2001-January/011991.html
ここの解説だと、機能の有無を決めるのにenable、依存するパッケージとかの
指定にwithを使うという感じみたい。それでも例外もあるようだ。

246 :名無しさん@お腹いっぱい。:2015/01/03(土) 23:36:29.26 .net
>>245
構文はそっくりだけど意味は違うよ、適切に使い分けてね
って事かな…?

今回はpackageの有無で機能を切り替えるので--with-*を使うことにするわ、サンクス!

247 :名無しさん@お腹いっぱい。:2015/01/04(日) 00:09:09.26 .net
英語の意味通りですな

248 :名無しさん@お腹いっぱい。:2015/01/06(火) 19:37:27.79 .net
キター!

From: Stefano Lattarini <stefano.lattarini@gmail.com>
To: Automake List <automake@gnu.org>
Cc: info-gnu@gnu.org, autotools-announce@gnu.org
日付: 2015年1月6日 19:19
件名: GNU Automake 1.15 released

We are pleased to announce the GNU Automake 1.15 minor release.

(snip)

Download here:

ftp://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz
ftp://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz

249 :名無しさん@お腹いっぱい。:2017/06/25(日) 07:39:08.66 .net
2年ぶり!

From: Mathieu Lirzin <mthl@gnu.org>
To: <automake@gnu.org>
Subject: GNU Automake 1.15.1 released
Date: Mon, 19 Jun 2017 22:50:34 +0200
Message-ID: <87shivem79.fsf@gnu.org>

We are pleased to announce the GNU Automake 1.15.1 maintenance release.

250 :名無しさん@お腹いっぱい。:2017/12/29(金) 07:37:16.28 .net
誰でも簡単にパソコン1台で稼げる方法など
参考までに、
⇒ 『宮本のゴウリエセレレ』 というブログで見ることができるらしいです。

グーグル検索⇒『宮本のゴウリエセレレ』

CAEY39R21B

251 :名無しさん@お腹いっぱい。:2018/05/22(火) 06:13:54.01 .net
知り合いから教えてもらったパソコン一台でお金持ちになれるやり方
時間がある方はみてもいいかもしれません
グーグルで検索するといいかも『ネットで稼ぐ方法 モニアレフヌノ』

CGFTL

252 :名無しさん@お腹いっぱい。:2020/03/22(日) 17:23:39.15 .net
過疎化してますね、このスレ.

From: Jim Meyering <jim@meyering.net>
To: info-gnu@gnu.org
Subject: automake-1.16.2 released [stable]
Date: Sat, 21 Mar 2020 17:51:38 -0700
Message-ID: <m2eetlp5yd.fsf@meyering.net>
List-Archive: <https://lists.gnu.org/archive/html/automake>
Cc: automake@gnu.org

This is to announce automake-1.16.2, a stable release.

There have been 38 commits by 12 people in the two years
(almost to the day) since 1.16.1. Special thanks to Karl Berry
for doing a lot of the recent work preparing for this release.

See the NEWS below for a brief summary.

253 :名無しさん@お腹いっぱい。:2020/11/22(日) 07:21:08.96 .net
このスレ見てる人いるんだろうか?

From: Jim Meyering <jim@meyering.net>
To: autotools-announce@gnu.org, automake@gnu.org, info-gnu@gnu.org
Subject: automake-1.16.3 released [stable]
Date: Wed, 18 Nov 2020 20:51:52 -0800
Message-ID: <m28sayuexj.fsf@meyering.net>
List-Archive: <https://lists.gnu.org/archive/html/autotools-announce>

This is to announce automake-1.16.3, a stable release.

There have been 62 commits by 15 people in the 35 weeks since 1.16.2.
Special thanks to Karl Berry and Zack Weinberg for doing so much of the work.

See the NEWS below for a brief summary.

Thanks to everyone who has contributed!

254 :名無しさん@お腹いっぱい。:2020/12/30(水) 10:59:12.06 .net
誰も気にしてないと思うが、今月autoconfが新しくなった。

https://lists.gnu.org/archive/html/autoconf/2020-12/msg00002.html
To: info-gnu@gnu.org, autoconf@gnu.org
Subject: autoconf-2.70 released [stable]
Message-Id: <4Cr8xf5THLzcbc@panix1.panix.com>
Date: Tue, 8 Dec 2020 14:14:30 -0500 (EST)
From: Zack Weinberg <zackw@panix.com>

We are pleased to announce stable release 2.70 of GNU Autoconf.

This release includes eight years of development work since the
previous release, 2.69. Noteworthy changes include support for the
2011 revisions of the C and C++ standards, support for reproducible
builds, improved support for cross-compilation, improved compatibility
with current compilers and shell utilities, more efficient generated
shell code, and many bug fixes. See below for a detailed list of
changes since the previous version, 2.69, as summarized by the NEWS
file.

Unfortunately, we were not able to maintain perfect backward
compatibility with existing Autoconf scripts. Caution is advised when
upgrading. The list of changes, below, includes detailed explanations
and advice for all of the compatibility problems we know about.

Please report bugs and problems with this release to the Savannah bug
tracker:

https://savannah.gnu.org/support/?func=additem&group=autoconf

Please also send general comments and feedback to <autoconf@gnu.org>.

255 :名無しさん@お腹いっぱい。:2021/08/29(日) 23:18:19.04 .net
もはや追いかける者もいなくなったか。

https://lists.gnu.org/archive/html/autoconf/2021-01/msg00126.html
From: Zack Weinberg
Subject: autoconf-2.71 released [stable]
Date: Thu, 28 Jan 2021 17:49:17 -0500 (EST)

We are pleased to announce stable release 2.71 of Autoconf.

2.71 is a bugfix release, correcting several important compatibility
problems and regressions discovered since the release of 2.70. There
are no new features. Upgrading is recommended for all users of 2.70.
Users of 2.69 or earlier should proceed with caution; please consult
the NEWS file and/or the release announcement for 2.70 for details.

Here are the compressed sources:
https://ftpmirror.gnu.org/autoconf/autoconf-2.71.tar.gz (2.0MB)
https://ftpmirror.gnu.org/autoconf/autoconf-2.71.tar.xz (1.3MB)
Here are the GPG detached signatures[*]:
https://ftpmirror.gnu.org/autoconf/autoconf-2.71.tar.gz.sig
https://ftpmirror.gnu.org/autoconf/autoconf-2.71.tar.xz.sig
NEWS
* Noteworthy changes in release 2.71 (2021-01-28) [stable]
** Bug fixes, including:
*** Compilers that support C99 but not C2011 are detected correctly.
*** Compatibility improved with clang and Oracle C++.
*** Compatibility restored with automake's rules for regenerating configure.
*** Compatibility restored with old versions of std-gnu11.m4.

256 :名無しさん@お腹いっぱい。:2021/08/29(日) 23:24:29.22 .net
Announceメールjもろくに流れなくなったかわいそうなAutomake。

From: Jim Meyering
Subject: [automake-commit] annotated tag v1.16.4 created (now 048bc0d)
Date: Mon, 26 Jul 2021 15:38:41 -0400

meyering pushed a change to annotated tag v1.16.4
in repository automake.

at 048bc0d (tag)
tagging 39c0005a1aadefdace6f2c741f8fd8a84e60f0f1 (commit)
replaces v1.16.3
by Jim Meyering
on Mon Jul 26 12:34:11 2021 -0700

257 :名無しさん@お腹いっぱい。:2021/08/29(日) 23:40:02.72 .net
人手が足りていないらしい。

https://www.gnu.org/software/automake/
New volunteers to help maintain Automake are needed. Please help if you can.

https://lists.gnu.org/archive/html/automake/2021-03/msg00018.html
From: Karl Berry
Subject: automake bug fixers/developers needed
Date: Fri, 26 Mar 2021 16:39:04 -0600

For about the last year, I've been the main person applying bug fixes to
(or at least reading bug reports for) Automake. My pace has been quite
slow, but since maintenance was almost completely lacking for some years
before that, I've been doing what I could. Mainly, going through the old
bug reports and dealing with the "easy" ones, besides trying to handle
new ones as best I can. There are still many outstanding bug reports
that I have not even read.

Unfortunately, I am going to have even less time for Automake for the
foreseeable future. I will still do what I can, but it will not be much.

Therefore, if you have some automake/perl/shell/make/etc. development
skill or interest, and are also interested in Automake maintenance
continuing, please volunteer if you can. I recommend starting by looking
at the open bug list:
https://debbugs.gnu.org/cgi/pkgreport.cgi?package=automake#_0_4_4

258 :名無しさん@お腹いっぱい。:2022/02/25(金) 12:58:42.23 .net
Autoconf,Automake

259 :名無しさん@お腹いっぱい。:2024/03/27(水) 20:18:27.93 .net
彼女←隠すならぜんぜんいい
マネージャーはクビだろうな
じゃキンプリはないんじゃないかな

260 :名無しさん@お腹いっぱい。:2024/03/27(水) 21:02:56.80 .net
実質賃金だけでも
ニコ生は中抜きがえげつない
そんなん言ってスクエニ辞めて

261 :名無しさん@お腹いっぱい。:2024/03/27(水) 21:51:16.15 .net
戦争がしたいなら脱退してくれ
みんなでオッパの帰りを祈りましょう🙏❤
貧乏なのでぇNISA枠でデイトレすればいいのに

262 :名無しさん@お腹いっぱい。:2024/04/19(金) 20:05:37.16 .net
xzの穴にautoconfの難読度が利用されてしまいましたなあ

90 KB
新着レスの表示

掲示板に戻る 全部 前100 次100 最新50
名前: E-mail (省略可) :

read.cgi ver 2014.07.20.01.SC 2014/07/20 D ★