Solved

Compile question.

Posted on 1998-12-10
1
151 Views
Last Modified: 2013-12-15
I have installed pgcc and like to recompile almost all my programs using best optimizing. Do I have to change in all makefiles to use -06 -mpentium flaggs. Or can I tell my compiler to use those flags always?

When I run ./confugure I get:
checking whether the C compiler (gcc -g -O2 ) works... yes  
Is there any config files that I can change ?  
0
Comment
Question by:pucko
1 Comment
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
Comment Utility
> Is there any config files that I can change ?
do mean a config file for building gcc, or for running gcc?

For building gcc you can specify a huge amount of options with ./configure (just read this script).
What you gcc uses as runtime default option can be checked with

   gcc -v

If it does not fit your requirements, either recompile gcc, or use a makefile to define default options, or set your environment variable CCFLAGS to whatever you like.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now