* README.EXT, README.EXT.ja: You shouldn't choose ``conftest.c'' as a

name of a source file.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mrkn 2011-01-20 07:13:58 +00:00
parent 1a3950e294
commit 74535bd643
3 changed files with 12 additions and 1 deletions

View file

@ -607,6 +607,9 @@ has only one source file, choosing ``LIBRARY.c'' as a file name is
preferred. On the other hand, in case your library has multiple source
files, avoid choosing ``LIBRARY.c'' for a file name. It may conflict
with an intermediate file ``LIBRARY.o'' on some platforms.
Note that some functions in mkmf library described below generate
a file ``conftest.c'' for checking with compilation. You shouldn't
choose ``conftest.c'' as a name of a source file.
Ruby will execute the initializing function named ``Init_LIBRARY'' in
the library. For example, ``Init_dbm()'' will be executed when loading