This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

I can not compile under Ubuntu with gcc 3.3... (?)


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-tp14310940p14310940.html
Sent from the gcc - Help mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]