Andreas Zwinkau <zwin...@kit.edu> wrote on 08/29/2011 04:47:38 AM:
>
> How does -buildx10lib work and what does it do?
>
> I heard that X10DT uses it, but how can i use it on the commandline (aka
> in a Makefile)?
>

There's an example of using it on the command line in the build.sh script
for the x10.gl project (experimental X10 bindings for OpenGL).  See
https://x10.svn.sourceforge.net/svnroot/x10/trunk/x10.gl/build.sh

It's not well-documented yet because we're still tweaking the
functionality, but the basic idea is that you add:
        -buildx10lib PATH_TO_THE_LIB

to an x10c++ commandline, and it takes the source files that are compiled
as part of that command and produces a directory structure like that found
in x10.dist/stdlib  that then lets you do subsequent x10c++ commands with
the extra arguments
        -x10lib PATH_TO_THE_LIB
and the subsequent compiles will be linked against the x10 library you made
in the first compilation.

--dave
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to