X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e71cd41e1af2c4306ef4d30a17c69bed552a8ba1..e8f8350f07c1b13dd8628f56d5a5050da18264d3:/doc/FAQ.doc diff --git a/doc/FAQ.doc b/doc/FAQ.doc index e076825c79..2953a568ea 100644 --- a/doc/FAQ.doc +++ b/doc/FAQ.doc @@ -113,19 +113,8 @@ For Unix and MacOS: For Windows : \li cmake 2.8.3 (download page) - \li Dev-c++ (download page) \li perl strawberry (download page) \li pcre-7.0 (download page) - \li Set environment variables. - -\verbatim -CC to C:\Dev-Cpp\bin\gcc -CXX to C:\Dev-Cpp\bin\g++ -INCLUDE to C:\Dev-Cpp\include -LIB to C:\Dev-Cpp\lib -PCRE_LIBRARY_PATH to C:\ -PATH to C:\Dev-Cpp\bin -\endverbatim \subsubsection faq_cmakeoption1 Liste of options @@ -221,6 +210,13 @@ cmake -D[name]=[value] ... ./ make \endverbatim +On Windows + +\verbatim +cmake -G"Unix Makefiles" -D[name]=[value] ... ./ +gmake +\endverbatim + \subsubsection faq_cmakecompilation2 With ccmake tool. \verbatim @@ -923,7 +919,7 @@ int sender() calloc(1,sizeof(double))); *((double*) task->data) = MSG_get_clock(); MSG_task_put(task, slaves[i % slaves_count], PORT_22); - INFO0("Send completed"); + XBT_INFO("Send completed"); return 0; } int receiver() @@ -936,7 +932,7 @@ int receiver() time2 = MSG_get_clock(); if(time1<*((double *)task->data)) time1 = *((double *) task->data); - INFO1("Communication time : \"%f\" ", time2-time1); + XBT_INFO("Communication time : \"%f\" ", time2-time1); free(task->data); MSG_task_destroy(task); return 0; @@ -1342,7 +1338,7 @@ workstation_ptask_L07.c: /* Parse the file */ surf_parse_open(file); - xbt_assert1((!surf_parse()), "Parse error in %s", file); + xbt_assert(!surf_parse(), "Parse error in %s", file); surf_parse_close(); \endverbatim @@ -1471,7 +1467,7 @@ and build/install it from scratch - Enable GTNetS support in SimGrid -In order to enable gtnets with simgrid you have to give where is gtnets. (path to /lib and /include) +In order to enable gtnets with simgrid you have to give where is gtnets. (path to \/lib and \/include) \verbatim Since v3.4 (with cmake)