Solved

Compile question.

Posted on 1998-12-10
1
153 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
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
capture pcap with filtered traffic 1 59
Video Streaming 6 72
Linux haproxy: stop temporary haproxy service 9 41
how to configure linux OS using Ubuntu 7 35
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

813 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