public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: mahmoodn <nt_mahmood@yahoo.com>
To: gcc-help@gcc.gnu.org
Subject: I can not compile under Ubuntu with gcc 3.3... (?)
Date: Thu, 13 Dec 2007 07:02:00 -0000	[thread overview]
Message-ID: <14310940.post@talk.nabble.com> (raw)


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.

             reply	other threads:[~2007-12-13  7:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-13  7:02 mahmoodn [this message]
2007-12-22  7:51 ` mahmoodn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14310940.post@talk.nabble.com \
    --to=nt_mahmood@yahoo.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).