aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/INSTALL
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-09 04:00:53 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-10 02:54:59 -0500
commit22be3fbeaccf50e3c0f58d0f7e9f7ed77effeaab (patch)
treebb7933fd15e5c4c05fd24fa3c1e01197789f8a89 /sim/ppc/INSTALL
parent7124407794aaa3762a25c26cd3a00a637f7241c9 (diff)
downloadfsf-binutils-gdb-22be3fbeaccf50e3c0f58d0f7e9f7ed77effeaab.zip
fsf-binutils-gdb-22be3fbeaccf50e3c0f58d0f7e9f7ed77effeaab.tar.gz
fsf-binutils-gdb-22be3fbeaccf50e3c0f58d0f7e9f7ed77effeaab.tar.bz2
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.
Diffstat (limited to 'sim/ppc/INSTALL')
-rw-r--r--sim/ppc/INSTALL36
1 files changed, 2 insertions, 34 deletions
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=<opts>
-
-
-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=<flags>
@@ -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