LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-30-2013, 05:55 AM   #1
hoi
Member
 
Registered: Jun 2013
Posts: 32

Rep: Reputation: Disabled
cflag and fflag in makefile


I have two makefile file. I can't understand which one I will run.
I am using Red Hat 4.1.2-42 with gcc version 4.1.2 and ifort version 10.1

file1:
CFLAGS = -O
FFLAGS = -O1 -FI

file2:
CFLAGS = -O -xHost -fp-model precise
FFLAGS = -O0 -xHost -FI -fp-model precise

mainly I want to know about -FI, -xHost, -fp-model precise this three term.


Thank you
 
Old 07-30-2013, 08:19 AM   #2
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
-xHost seems to be an Intel compiler specific flag (first hit on google: http://marklodato.github.io/)
-fp-model precise http://software.intel.com/sites/prod...n_fp_model.htm
 
Old 07-30-2013, 01:19 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I am using Red Hat 4.1.2-42
no you are NOT
there is NO version of RHEL 4 called 4.1.2-42
there is the old RHEL 4.1
of which ONLY the very last minor upgrade is supported -- RHEL 4.9
and that is on EXTRA extended life support
-- as in you have to pay red hat extra CASH $$$

also it would be rather difficult to install Gcc 4.1 on the ancient rhel4.1


can you please post the output of this
Code:
cat /etc/redhat-release
that will tell us what you are running
 
  


Reply

Tags
cflags, commands, compilerconfigure, makefile



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] need of makefile info ? how the linux make file is different from simple c makefile ? rpittala Linux - Newbie 2 05-07-2012 08:04 PM
Is it mandatory to have the name of the makefile as 'Makefile' for kernal module comp narender.d Linux - Kernel 3 05-29-2009 06:26 AM
cflag settings for gentoo make.conf shanenin Linux - Software 1 10-27-2005 09:27 PM
how to get (makefile -f makefile )output into the textview widget in Pygtk sailu_mvn Programming 3 02-28-2005 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration