Hi, Can you tell me how to compile my x10 code (C++ backend) using separate generation/compile/link steps ?
If I type : x10c++ my_test.x10 a binary code (a.out) is produced and can be succesfully run (using manager/launcher) If I use the following commands : 1> x10c++ -commandlineonly -c my_test.x10 2> g++ -c -I. -I/opt/x10/include my_test.cc 3> g++ my_test.o -L/opt/x10/lib -lx10 -lgc -lupcrts_sockets -lpthread -lrt -ldl -o my_test compilation/link phases succeed, but when running the my_test code, there is a runtime error (segmentation fault error). I used X10 v 1.7.6 on a 32bits Ubuntu 9.04 (pgas-1.7.6_linux_x86.tgz, x10-1.7.6_linux_x86.tgz downloaded from the web site) I guess that I wrongly selected some of the libraries in the linking command (line 3 above) ? Thanks in advance, Marc ------------------------------------------------------------------------------------ Marc Tajchman Laboratoire de Génie Logiciel et de Simulation Software Engineering and Computer Simulation Laboratory CEA-DEN/DANS/DM2S/SFME/LGLS Tél : +33/1 69 08 73 27 Fax : +33/1 69 08 52 42 mailto:marc.tajch...@cea.fr ------------------------------------------------------------------------------------ Ce message électronique et tous les fichiers attachés qu'il contient sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci d'en avertir immédiatement son émetteur et de ne pas en conserver de copie. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed. If you have received this e-mail in error please inform the sender immediately, without keeping any copy thereof. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users