Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CFLAGS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
icantthinkofaname
n00b
n00b


Joined: 22 Apr 2004
Posts: 63
Location: Portland Oregon

PostPosted: Fri Oct 01, 2004 3:10 am    Post subject: CFLAGS Reply with quote

I'm just curious. Are CFLAGS only specific to Gentoo, or are they used in other distributions? If they are used in others, which ones, if not all? How do you use them in other distributions?
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Fri Oct 01, 2004 3:30 am    Post subject: Reply with quote

Actually, they are used by GCC, so they should work with any distro when you compile something.
Back to top
View user's profile Send private message
icantthinkofaname
n00b
n00b


Joined: 22 Apr 2004
Posts: 63
Location: Portland Oregon

PostPosted: Fri Oct 01, 2004 4:03 am    Post subject: Reply with quote

Do you know where you'd specify the CFLAG optins?
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Fri Oct 01, 2004 4:12 am    Post subject: Reply with quote

In /etc/make.conf more than likely.
Back to top
View user's profile Send private message
icantthinkofaname
n00b
n00b


Joined: 22 Apr 2004
Posts: 63
Location: Portland Oregon

PostPosted: Fri Oct 01, 2004 4:17 am    Post subject: Reply with quote

Oh, ok. Thanks for yor replys
Back to top
View user's profile Send private message
sickboy2583
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2004
Posts: 83
Location: UK

PostPosted: Fri Oct 01, 2004 7:10 am    Post subject: Reply with quote

As far as I know only Gentoo has make.conf

As far as cflags on other Distro's it's just a case of setting up environment variables CFLAGS and CXXFLAGS which could be e.g in /etc/profile or wherever you choose !
Back to top
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Fri Oct 01, 2004 7:18 am    Post subject: Reply with quote

Uhem, No.

FreeBSD has /etc/make.conf also.
Back to top
View user's profile Send private message
sickboy2583
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2004
Posts: 83
Location: UK

PostPosted: Fri Oct 01, 2004 7:32 am    Post subject: Reply with quote

miqorz wrote:
Uhem, No.

FreeBSD has /etc/make.conf also.


Ahh well you live and learn :P

How are you finding FreeBSD compared to Gentoo ?
Back to top
View user's profile Send private message
miqorz
Veteran
Veteran


Joined: 04 Apr 2004
Posts: 1170
Location: Pissing into the wind.

PostPosted: Fri Oct 01, 2004 7:55 am    Post subject: Reply with quote

Comparing FreeBSD and Gentoo is walking on dangerous grounds FreeBSD is an OS whereas Gentoo is just a way of installing software and using said software mainly.
Back to top
View user's profile Send private message
PingEnt
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2003
Posts: 89
Location: Norway

PostPosted: Fri Oct 01, 2004 9:00 am    Post subject: Reply with quote

Last time I checked, it's also possible to set CFLAGS(and CXXFLAGS) when running make, such as:
Code:
make CFLAGS="-march=pentium3"

_________________
Thanks for reading. This has been a PingEnt presentation.
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Fri Oct 01, 2004 9:26 am    Post subject: Reply with quote

miqorz wrote:
Comparing FreeBSD and Gentoo is walking on dangerous grounds FreeBSD is an OS whereas Gentoo is just a way of installing software and using said software mainly.


Right. Gentoo Linux is the OS. Gentoo is just the stuff on top of Linux, but it all combines to make an OS. (Don't whine 'bout GNU, I'll ignore it.)
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Fri Oct 01, 2004 12:30 pm    Post subject: Reply with quote

Even FreeBSD has tools from external projects. That is unless the developers completely recoded the WMs and DEs along with the X implementation, Apache2, shells, and well... you get the idea. :P

EDIT: Sorry kids, but I was tired. :P


Last edited by placeholder on Fri Oct 01, 2004 8:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Fri Oct 01, 2004 1:47 pm    Post subject: Reply with quote

Pwnz3r wrote:
Even FreeBSD has tools from GNU projects. That is unless the developers completely recoded the WMs and DEs along with the X implementation, Apache2, shells, and well... you get the idea. :P

Uhm... X isn't GNU, apache isn't GNU, there are non-GNU shells, ...
Back to top
View user's profile Send private message
icantthinkofaname
n00b
n00b


Joined: 22 Apr 2004
Posts: 63
Location: Portland Oregon

PostPosted: Fri Oct 01, 2004 3:24 pm    Post subject: Reply with quote

ah, the classic (FreeBSD vs. Linux) argument, lovely ;-) Open source is open source, right? Ok, maybe not. I must admit, I do lean one way over the other.... Thanks for the replies everyone.
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Fri Oct 01, 2004 3:31 pm    Post subject: Reply with quote

icantthinkofaname wrote:
ah, the classic (FreeBSD vs. Linux) argument, lovely ;-) Open source is open source, right? Ok, maybe not. I must admit, I do lean one way over the other.... Thanks for the replies everyone.

I think you mean "free software", not "open source"

/ don't really care either way, just trolling :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum