[slackintosh-users] Re: Question on building programs

  • From: Mike S <michael_six@xxxxxxxxxxxxxxxxxxxxx>
  • To: slackintosh-users@xxxxxxxxxxxxx, janwge@xxxxxxxxx
  • Date: Mon, 14 May 2007 17:46:11 -0700

FreeLists Mailing List Manager wrote:
slackintosh-users Digest        Sun, 06 May 2007        Volume: 03  Issue: 031

In This Issue:
                [slackintosh-users] Question on building programs

----------------------------------------------------------------------

Date: Sun, 6 May 2007 14:50:45 +0200
From: Jan <janwge@xxxxxxxxx>
Subject: [slackintosh-users] Question on building programs

Hello all,

I'm a new Slackintosh user and I have a question about building software for my
Mac mini G4:
When building programs from source using autotools, does it make sense to pass
option like -mtune, -mabi and mcpu to the compiler? Or are these options
automatically detected by the configure-script?

I know, this is not Slackintosh specific, but maybe someone could give me
hint...

Thanks in advance,
br jan

------------------------------

End of slackintosh-users Digest V3 #31
**************************************


I don't know about others, but I have had more luck just setting CFLAGS to -O2 and CXXFLAGS=$CFLAGS rather than using the mcpu mtune and whatnot options. Once in a while I have noticed an actual performance decrease on a program compiled with mtune=7400 mcpu=7400 ( my G4 Chip) then when I just use -O2 by itself.

Other related posts: