You are not logged in.

#1 2009-03-04 19:22:26

generic_
Member
From: Jacksonville,FL US
Registered: 2008-12-21
Posts: 182

What are CFLAGS?

Hey, I'm sorta of noob when it comes to this. I know CFLAGS have something do to with compiles/processor I know they can be set and I hear they can effect speed of a program after it's compiled with the proper CFLAGS.

Am I right? What did  I leave out?
Is the speed/efficiency gain the big?
How do I set my CFLAGS, and how do I know which ones are right for me?

Thx


I'm just lost n00b!

Offline

#2 2009-03-04 19:25:17

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: What are CFLAGS?

Enter ...cflags .in google and read all about it.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2009-03-04 19:30:35

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,557

Re: What are CFLAGS?

generic_ wrote:

How do I set my CFLAGS

http://wiki.archlinux.org/index.php/Makepkg.conf

Offline

#4 2009-03-06 14:07:02

zimt
Member
Registered: 2008-07-19
Posts: 17

Re: What are CFLAGS?

Most of the time, you will not gain a recognizable performance boost after recompiling a package with your custom cflags set in makepkg.conf. However, if you do compile software from time to time using makepkg, it does not hurt to have your custom cflags set. The only software where I recognized a performance boost after recompiling with custom cflags was the x264 package for video encoding.

Offline

Board footer

Powered by FluxBB