?
Solved

Compile question.

Posted on 1998-12-10
1
Medium Priority
?
161 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 51

Accepted Solution

by:
ahoffmann earned 150 total points
ID: 1631859
> 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

TCP/IP Network Protocol Cheat Sheet

TCP/IP is a set of network protocols which is best known for connecting the machines that make up the Internet. The truth is that TCP/IP is one of the oldest network protocols and its survival is mainly based on its simplicity and universality.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 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