From 22be3fbeaccf50e3c0f58d0f7e9f7ed77effeaab Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 9 Jan 2016 04:00:53 -0500 Subject: sim: drop --enable-sim-cflags option No other sub directory provides such a configuration option, so drop it from the sim dir as well. This cleans up a good bit of code in the process. If people want to use custom flags for just the sim, they can still run configure+make by hand in the sim subdir and use the normal CFLAGS settings. --- sim/ppc/INSTALL | 36 ++---------------------------------- 1 file changed, 2 insertions(+), 34 deletions(-) (limited to 'sim/ppc/INSTALL') diff --git a/sim/ppc/INSTALL b/sim/ppc/INSTALL index 8240ac7..9feac7b 100644 --- a/sim/ppc/INSTALL +++ b/sim/ppc/INSTALL @@ -197,36 +197,6 @@ Each PSIM specific option is discussed in detail below. ---enable-sim-cflags= - - -Specify additional C compiler flags that are to be used when compiling -just PSIM. - -PSIM places heavy demands on both the host machine and its C compiler. So that -the builder has better control over the compiler the above option can be used -to pass additional options to the compiler while PSIM is being built. - -Ex: No debug information - -PSIM can be built with everything inline. Unfortunately, because of -all the debugging information generated the C compiler can grow very -very large as a result. For GCC, the debug information can be -restricted with the `-g0' option. To specify that this option should -be include in the CFLAGS when compiling the psim source code use: - - --enable-sim-cflags=-g0 - -Ex: Additional optimization flags - -A significant gain in performance can be achieved by tuning the -optimization flags passed to the C compiler. For instance on an x86 -you may consider: - - --enable-sim-cflags='-g0 -O2 -fno-strength-reduce -f...' - - - --enable-sim-warnings= @@ -757,8 +727,7 @@ TYPICAL CONFIGURATION OPTIONS: --enable-sim-env=user \ --disable-sim-reserved-bits \ --disable-sim-assert \ - --disable-sim-trace \ - --enable-sim-cflags='-g0,-O2,-fno-strength-reduce,-fomit-frame-pointer' + --disable-sim-trace OEA CODE ONLY: @@ -792,5 +761,4 @@ TYPICAL CONFIGURATION OPTIONS: --disable-sim-assert \ --disable-sim-trace \ --enable-sim-opcode=ppc-opcode-flat \ - --disable-sim-icache \ - --enable-sim-cflags='-g0,-O3,-fno-strength-reduce,-fomit-frame-pointer' + --disable-sim-icache -- cgit v1.1