From 74535bd643d8f8344503b664c0236e53ee92a51a Mon Sep 17 00:00:00 2001 From: mrkn Date: Thu, 20 Jan 2011 07:13:58 +0000 Subject: * 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 --- README.EXT | 3 +++ 1 file changed, 3 insertions(+) (limited to 'README.EXT') diff --git a/README.EXT b/README.EXT index c2b2d9d52d..f739ced6b0 100644 --- a/README.EXT +++ b/README.EXT @@ -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 -- cgit v1.2.1