Op 16 feb 2009, om 22:21 heeft Marcus Calhoun-Lopez het volgende
geschreven:
WARNING:
All of the things I am about to mention could very easily break
a MacPorts installation and should not be implemented lightly.
You can say that again.
I was trying to build postgresql83 with this command:
$
Ceriel Jacobs wrote:
Op 16 feb 2009, om 22:21 heeft Marcus Calhoun-Lopez het volgende
geschreven:
WARNING:
All of the things I am about to mention could very easily break
a MacPorts installation and should not be implemented lightly.
You can say that again.
I was trying to build
My goal is to build speed optimised binaries for 10.5 Core2Duo: -fast -
march=nocona (-m64).
The -march=nocona requires gcc 4.2 or higher.
The default on MacOS is still gcc 4.0.
I know I can use ./port ... configure.compiler=gcc-4.2
Questions:
- how to specify gcc 4.2 *by default* within
Ceriel Jacobs cerieljacobs at gmail.com writes:
My goal is to build speed optimised binaries for 10.5 Core2Duo: -fast -
march=nocona (-m64).
The -march=nocona requires gcc 4.2 or higher.
The default on MacOS is still gcc 4.0.
I know I can use ./port ... configure.compiler=gcc-4.2
Marcus Calhoun-Lopez wrote:
You could write a shell script which overrides the default values
port install $1
configure.compiler=gcc-4.2
configure.optflags=-fast
configure.m64=yes
configure.march=nocona
You can also edit the file
${prefix}/share/macports/Tcl/port1.0/portconfigure.tcl