Lua Environment Architecture--linux

Source: Internet
Author: User
Curl-r-O http://www.lua.org/ftp/lua-5.2.3.tar.gz
Tar zxf lua-5.2.3.tar.gz
CD lua-5.2.3

Make Linux Mylibs=-ltermcap
Make Linux Install

LUA//test, assuming that the version number information is displayed, the success

Read the following two documents
http://storysky.blog.51cto.com/628458/345982
Http://blog.chinaunix.net/uid-9968761-id-4061326.html


Linux compiled C + +, files with Lua C API
g++-O l.bin l.cpp-llua-ldl-lm


There is a problem. Check the official documentation: lua-5.2.3-doc-> readme.html



Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

Lua Environment Architecture--linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.