lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Feb 17, 2010 at 9:10 PM, Rob Kendrick <rjek@rjek.com> wrote:
> Does this mean that it passes -fPIC -DPIC regardless of architecture,
> now?

No, it tries to be clever - does not use -fPIC for x86.  It would
appear that -fPIC is at the very least harmless for x86 (there
appeared to be old compiler issues) so this cleverness may be
unneeded.

As I mentioned earlier, now the problem is that the makefiles for some
Lua projects are not portable.  An interesting development is that the
latest LR 2 has support for mingw as well so people need to be more
careful.  The built-in module type is fairly flexible and recommended
for projects with uncomplicated builds.

steve d.