On Tue, Apr 08, 2014 at 10:11:49AM -0400, Peter Colberg wrote:
> The Lua plugin for GCC may be used in three different setups:
>
> 1. Installed system-wide, either manually as root or using
>
> apt-get install gcc-4.8-plugin-lua
>
> (and in other distributions, if there is interest.)
>
> In this case, the plugin is loaded using
>
> gcc -fplugin=gcclua …
>
>
> 2. Installed in path accessible by the linker, ld.so,
>
> export
> LD_LIBRARY_PATH="${HOME}/projects/gcc-lua/gcc${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
>
> In this case, the plugin is loaded using
>
> gcc -fplugin=gcclua.so
>
>
> 3. Installed in an arbitrary path.
>
> In this case, the plugin is loaded using
>
> gcc -fplugin=$HOME/projects/gcc-lua/gcc/gcclua.so
This is also documented in detail here:
https://colberg.org/gcc-lua-cdecl/INSTALL.html
(And as requested, I included the HTML files in the repository as well.)
Peter
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers