Jim LaGrone <jlagr...@cs.uh.edu> wrote on 10/09/2009 06:02:01 PM:

> We are trying to use a Makefile to streamline the compiling process. 
> We have it working for the Java backend, but not the C++ back end. If 
> I use
> 
>    x10c++ -commandlineonly -d ../bin1 -MAIN_CLASS=blah *.x10
> 
> from the command line, everything seems fine. But to recompile all the 
> files takes an enormous amount of time. I can use the -c option for 
> individual files, but how can I link all the individual files? Does 
> this require invoking g++ or can x10c++ do this? I don't see this kind 
> of option. I noticed in the prior discussion on using "-report 
> postcompile=1". Is this what I need to use?

Hi, Jim,

At the moment, x10c++ does not support linking separately.

You can invoke the above command with "-report postcompile=1" to see
the exact g++ invocation it uses, and then replicate that command in
the Makefile as the link command (replacing X.cc by X.o).
        Igor
-- 
Igor Peshansky  (note the spelling change!)
IBM T.J. Watson Research Center
XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/)
X10: Parallel Productivity and Performance (http://x10.sf.net/)


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to