This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: I can not compile under Ubuntu with gcc 3.3... (?)
- From: mahmoodn <nt_mahmood at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 21 Dec 2007 23:50:51 -0800 (PST)
- Subject: Re: I can not compile under Ubuntu with gcc 3.3... (?)
- References: <14310940.post@talk.nabble.com>
The problem was BOOST library was not installed! and now it got solved
mahmoodn wrote:
>
> Hi,
> I compile my program in fedora with gcc 3.3 with no problem, but when I
> want to compile it with the same version under Ubuntu, it says:
>
> mahmood@magma:~/Tools/cgal/VVc_diagram_2/demo/VVc_diagram_2$ make
> g++ -I../../include -I../../../Arrangement_2/include -DNDEBUG -Wall
> -frounding-math -I/usr/include/qt3 -c MD_demo.cpp
> cc1plus: error: unrecognized option `-frounding-math'
> make: *** [MD_demo.o] Error 1
>
> what does this error mean? I do not have "-frounding-math" option in
> makefile. Here is the makefile:
>
> # Created by the script create_makefile
>
> # This is the makefile for compiling a CGAL application.
>
>
>
> #---------------------------------------------------------------------#
>
> # include platform specific settings
>
> #---------------------------------------------------------------------#
>
> # Choose the right include file from the <cgalroot>/make directory.
>
>
>
> # CGAL_MAKEFILE = ENTER_YOUR_INCLUDE_MAKEFILE_HERE
> ifndef CGAL_MAKEFILE
> CGAL_MAKEFILE = /usr/share/cgal/makefile
> endif
> include $(CGAL_MAKEFILE)
>
>
>
> #---------------------------------------------------------------------#
>
> # compiler flags
>
> #---------------------------------------------------------------------#
>
>
>
> CXXFLAGS = \
>
> -I../../include \
>
> -I../../../Arrangement_2/include \
>
> -DNDEBUG \
>
> $(CGAL_CXXFLAGS) \
>
> $(LONG_NAME_PROBLEM_CXXFLAGS)
>
>
>
> #---------------------------------------------------------------------#
>
> # linker flags
>
> #---------------------------------------------------------------------#
>
>
>
> LIBPATH = \
>
> $(CGAL_LIBPATH)
>
>
>
> LDFLAGS = \
>
> $(LONG_NAME_PROBLEM_LDFLAGS) \
>
> $(CGAL_QT_LDFLAGS)
>
>
>
> #---------------------------------------------------------------------#
>
> # target entries
>
> #---------------------------------------------------------------------#
>
>
>
> all: \
>
> MD_demo$(EXE_EXT) \
>
> VVc_demo$(EXE_EXT)
>
>
>
> MD_demo.moc: MD_demo.cpp
>
> $(QT_MOC) -o MD_demo.moc MD_demo.cpp
>
>
>
> MD_demo$(OBJ_EXT): MD_demo.moc
>
>
>
> MD_demo$(EXE_EXT): MD_demo$(OBJ_EXT)
>
> $(CGAL_CXX) $(LIBPATH) $(EXE_OPT)MD_demo MD_demo$(OBJ_EXT) $(LDFLAGS)
>
>
>
> VVc_demo.moc: VVc_demo.cpp
>
> $(QT_MOC) -o VVc_demo.moc VVc_demo.cpp
>
>
>
> VVc_demo$(OBJ_EXT): VVc_demo.moc
>
>
>
> VVc_demo$(EXE_EXT): VVc_demo$(OBJ_EXT)
>
> $(CGAL_CXX) $(LIBPATH) $(EXE_OPT)VVc_demo VVc_demo$(OBJ_EXT) $(LDFLAGS)
>
>
>
> clean: \
>
> MD_demo.clean \
>
> VVc_demo.clean
>
>
>
> #---------------------------------------------------------------------#
>
> # suffix rules
>
> #---------------------------------------------------------------------#
>
>
>
> .cpp$(OBJ_EXT):
>
> $(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $<
>
>
>
> Thanks,
>
--
View this message in context: http://www.nabble.com/I-can-not-compile-under-Ubuntu-with-gcc-3.3...-%28-%29-tp14310940p14467164.html
Sent from the gcc - Help mailing list archive at Nabble.com.