View previous topic :: View next topic |
Author |
Message |
icantthinkofaname n00b
Joined: 22 Apr 2004 Posts: 63 Location: Portland Oregon
|
Posted: Fri Oct 01, 2004 3:10 am Post subject: CFLAGS |
|
|
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 |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Fri Oct 01, 2004 3:30 am Post subject: |
|
|
Actually, they are used by GCC, so they should work with any distro when you compile something. |
|
Back to top |
|
|
icantthinkofaname n00b
Joined: 22 Apr 2004 Posts: 63 Location: Portland Oregon
|
Posted: Fri Oct 01, 2004 4:03 am Post subject: |
|
|
Do you know where you'd specify the CFLAG optins? |
|
Back to top |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Fri Oct 01, 2004 4:12 am Post subject: |
|
|
In /etc/make.conf more than likely. |
|
Back to top |
|
|
icantthinkofaname n00b
Joined: 22 Apr 2004 Posts: 63 Location: Portland Oregon
|
Posted: Fri Oct 01, 2004 4:17 am Post subject: |
|
|
Oh, ok. Thanks for yor replys |
|
Back to top |
|
|
sickboy2583 Tux's lil' helper
Joined: 30 Jan 2004 Posts: 83 Location: UK
|
Posted: Fri Oct 01, 2004 7:10 am Post subject: |
|
|
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 |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Fri Oct 01, 2004 7:18 am Post subject: |
|
|
Uhem, No.
FreeBSD has /etc/make.conf also. |
|
Back to top |
|
|
sickboy2583 Tux's lil' helper
Joined: 30 Jan 2004 Posts: 83 Location: UK
|
Posted: Fri Oct 01, 2004 7:32 am Post subject: |
|
|
miqorz wrote: | Uhem, No.
FreeBSD has /etc/make.conf also. |
Ahh well you live and learn
How are you finding FreeBSD compared to Gentoo ? |
|
Back to top |
|
|
miqorz Veteran
Joined: 04 Apr 2004 Posts: 1170 Location: Pissing into the wind.
|
Posted: Fri Oct 01, 2004 7:55 am Post subject: |
|
|
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 |
|
|
PingEnt Tux's lil' helper
Joined: 05 Apr 2003 Posts: 89 Location: Norway
|
Posted: Fri Oct 01, 2004 9:00 am Post subject: |
|
|
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 |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Fri Oct 01, 2004 9:26 am Post subject: |
|
|
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 |
|
|
placeholder Advocate
Joined: 07 Feb 2004 Posts: 2500
|
Posted: Fri Oct 01, 2004 12:30 pm Post subject: |
|
|
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.
EDIT: Sorry kids, but I was tired.
Last edited by placeholder on Fri Oct 01, 2004 8:42 pm; edited 1 time in total |
|
Back to top |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Fri Oct 01, 2004 1:47 pm Post subject: |
|
|
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. |
Uhm... X isn't GNU, apache isn't GNU, there are non-GNU shells, ... |
|
Back to top |
|
|
icantthinkofaname n00b
Joined: 22 Apr 2004 Posts: 63 Location: Portland Oregon
|
Posted: Fri Oct 01, 2004 3:24 pm Post subject: |
|
|
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 |
|
|
ciaranm Retired Dev
Joined: 19 Jul 2003 Posts: 1719 Location: In Hiding
|
Posted: Fri Oct 01, 2004 3:31 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
|