public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* I can not compile under Ubuntu with gcc 3.3... (?)
@ 2007-12-13  7:02 mahmoodn
  2007-12-22  7:51 ` mahmoodn
  0 siblings, 1 reply; 2+ messages in thread
From: mahmoodn @ 2007-12-13  7:02 UTC (permalink / raw)
  To: gcc-help


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: I can not compile under Ubuntu with gcc 3.3... (?)
  2007-12-13  7:02 I can not compile under Ubuntu with gcc 3.3... (?) mahmoodn
@ 2007-12-22  7:51 ` mahmoodn
  0 siblings, 0 replies; 2+ messages in thread
From: mahmoodn @ 2007-12-22  7:51 UTC (permalink / raw)
  To: gcc-help


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-22  7:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-13  7:02 I can not compile under Ubuntu with gcc 3.3... (?) mahmoodn
2007-12-22  7:51 ` mahmoodn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).