How to compile lua source code

In the process of lua development, sometimes you have to upgrade the lua version to solve the problem of the old version of lua, but the latest official lua version is 5.4, but there is only source code, no release version. How to compile and generate the latest version of lua source code?

In fact, there is a tutorial on how to compile lua source code on the official website, but I haven't read its documentation carefully before. Now that I have time to take a look, I will record the entry of the official compilation tutorial below, so that I can check it by myself.

1 First find the official lua documentation

Lua official documentation http://www.lua.org/home.html

 

2. Find the official documentation for compiling lua source code

 The official tutorial for compiling lua source code is shown in the wavy line above. The specific URL is as follows:

How to compile lua source code http://lua-users.org/wiki/BuildingLuaInWindowsForNewbies

 

Remember to read carefully, the steps are very detailed, clear and simple.

Guess you like

Origin blog.csdn.net/ZFSR05255134/article/details/128519497