diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2005-08-19 17:10:17 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2005-08-19 17:10:17 -0400 |
commit | 03e256b0f004bfe1dbe4006878b4479f25484b74 (patch) | |
tree | 0cf6d39f9ea35230f9fe905ef315a5a2b8a28d62 /build | |
parent | 40696ccda209cc97e796bf0d4e30e212a294d185 (diff) | |
download | gem5-03e256b0f004bfe1dbe4006878b4479f25484b74.tar.xz |
A few minor fixes to get things to build on Cygwin.
README:
Clarify cygwin EIO error explanation.
build/SConstruct:
Cygwin header files cause uninitialized var warnings.
dev/ide_ctrl.cc:
Get rid of unnecessary byte-swap calls, some of which were
too ambiguous for cygwin (or gcc 3.4.4).
dev/pcidev.cc:
Disambiguate arg for overloaded byte swap operation
(and fix it to be the correct one).
--HG--
extra : convert_revision : be37c6315aacbec6332b1d09e726b39b4aa18dce
Diffstat (limited to 'build')
-rw-r--r-- | build/SConstruct | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/SConstruct b/build/SConstruct index 87c215d41..8819e3649 100644 --- a/build/SConstruct +++ b/build/SConstruct @@ -254,6 +254,9 @@ default_env.Append(ENV = { 'M5_EXT' : EXT_SRCDIR }) default_env.Append(CCFLAGS='-pipe') default_env.Append(CCFLAGS='-fno-strict-aliasing') default_env.Append(CCFLAGS=Split('-Wall -Wno-sign-compare -Werror -Wundef')) +if sys.platform == 'cygwin': + # cygwin has some header file issues... + default_env.Append(CCFLAGS=Split("-Wno-uninitialized")) default_env.Append(CPPPATH=[os.path.join(EXT_SRCDIR + '/dnet')]) # libelf build is described in its own SConscript file. Using a |