Hi,

I am unable to build the compiler cloned from  git://
github.com/path64/compiler.git.

I had followed the following procedure:
--------------------------------------------
RUN

1) cmake -DCMAKE_BUILD_TYPE=Debug          -DPATH64_ENABLE_TARGETS="x86_64"
         -DPATH64_ENABLE_MATHLIBS=ON          -DPATH64_ENABLE_FORTRAN=ON
     -DPSC_CRT_PATH_x86_64=/usr/lib64
 -DPSC_DYNAMIC_LINKER_x86_64=/lib64/ld-linux-x86-64.so.2
 -DPSC_LIBSUPCPP_PATH_x86_64=/usr/lib/gcc/x86_64-redhat-linux/4.5.1
 -DPSC_LIBSTDCPP_PATH_x86_64=/usr/lib/gcc/x86_64-redhat-linux/4.5.1
 -DPSC_LIBGCC_PATH_x86_64=/usr/lib/gcc/x86_64-redhat-linux/4.5.1
 -DPSC_LIBGCC_EH_PATH_x86_64=/usr/lib/gcc/x86_64-redhat-linux/4.5.1
 -DPSC_LIBGCC_S_PATH_x86_64=/usr/lib/gcc/x86_64-redhat-linux/4.5.1
/home/shru/compiler/

2) make VERBOSE=1

-------------------------------------------------

Error snnipet

--------------------------
Linking C executable ../../bin/pathcc
cd /home/shru/compiler/build/src/driver && /usr/bin/cmake -E
cmake_link_script CMakeFiles/pathcc.dir/link.txt --verbose=1
/usr/bin/gcc  -D_LANGUAGE_C  -O0 -g -D_DEBUG  -static
CMakeFiles/pathcc.dir/errors.c.o CMakeFiles/pathcc.dir/file_utils.c.o
CMakeFiles/pathcc.dir/lang_defs.c.o CMakeFiles/pathcc.dir/string_utils.c.o
CMakeFiles/pathcc.dir/check_combos.c.o CMakeFiles/pathcc.dir/implicits.c.o
CMakeFiles/pathcc.dir/main.c.o CMakeFiles/pathcc.dir/options.c.o
CMakeFiles/pathcc.dir/option_seen.c.o CMakeFiles/pathcc.dir/get_options.c.o
CMakeFiles/pathcc.dir/opt_actions.c.o CMakeFiles/pathcc.dir/file_names.c.o
CMakeFiles/pathcc.dir/objects.c.o CMakeFiles/pathcc.dir/phases.c.o
CMakeFiles/pathcc.dir/run.c.o CMakeFiles/pathcc.dir/special_options.c.o
CMakeFiles/pathcc.dir/targets.c.o CMakeFiles/pathcc.dir/targ_info.c.o
CMakeFiles/pathcc.dir/version_hg.c.o CMakeFiles/pathcc.dir/license.c.o  -o
../../bin/pathcc -rdynamic
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
gmake[2]: *** [bin/pathcc] Error 1
gmake[2]: Leaving directory `/home/shru/compiler/build'
gmake[1]: *** [src/driver/CMakeFiles/pathcc.dir/all] Error 2
gmake[1]: Leaving directory `/home/shru/compiler/build'
gmake: *** [all] Error 2
------------------------------------------------


My linux kernel is 2.6.35.9-64.fc14.x86_64.
 Please help me out.

Thanks in advance.

-Shrutika
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to