Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Compile question.

Posted on 1998-12-10
1
Medium Priority
?
163 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…
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.
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

618 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