Jump to content
  • 0

GCC48 and G++48 "CFLAGS"


Originale

Question

Hi everyone :) 
 
For those using gcc48 and g+ +48 I just ask that you optimize use? 
 
I use these CFLAGS
 
CC = g++48
CFLAGS =  -Wall -O3 -std=c++11 -g -pipe -mtune=i686 -fno-rtti -fno-exceptions -pthread -D_THREAD_SAFE

 

Link to comment

4 answers to this question

Recommended Posts

  • 0

If you compile on the target machine, use -mtune=native it will turn on all CPU flags, that your CPU supports.

$ uptime
1:26AM  up 732 days,  8:29, 1 user, load averages: 0.38, 0.31, 0.22

$ uname -srp
FreeBSD 9.1-RELEASE amd64

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.