Jonathan G Rennison
ffa4f03128
Fix lib detection when using environment c/l flags
...
This was broken by f06061aa3b
2018-05-06 12:02:11 +01:00
Jonathan G Rennison
f42cc19aad
Merge branch 'cpp-11' into crashlog_improvements
...
# Conflicts:
# Makefile.src.in
# src/crashlog.cpp
# src/crashlog.h
2018-04-27 00:33:44 +01:00
Jonathan G Rennison
b90c5b9618
Merge branch 'master' into cpp-11
...
# Conflicts:
# src/stdafx.h
2018-04-26 23:59:13 +01:00
Charles Pigott
00c1603256
Fix e614357
: Ask the compiler who it is, instead of using symlinks ( #6727 )
...
This fixes #6723
2018-04-15 23:07:17 +02:00
Patric Stout
aaf7e98c77
Fix 6ac0790
: don't show the location to / failure of 'realpath' every time ( #6719 )
2018-04-14 22:05:39 +02:00
Patric Stout
ae5628e903
Change: [Build] prioritize cc-build over build (based on patch by woutershep2) ( #6716 )
...
This closes #6414
2018-04-14 20:12:05 +02:00
Patric Stout
f06061aa3b
Change: [Build] use flags set by env at the end, not at the start (based on patch by adf88) ( #6715 )
...
This closes #6433
2018-04-14 20:11:49 +02:00
Victor Sergienko
6ac079020b
Fix e614357
: MingW/MacOS/MacPorts don't have realpath, use reallink in those cases ( #6710 )
2018-04-12 23:46:09 +02:00
Charles Pigott
e47f646cb3
Fix e61435774b
: Some systems don't have realpath ( #6705 )
2018-04-11 22:50:23 +02:00
Charles Pigott
e61435774b
Fix: Resolve symlinks when working out which compiler is being used
2018-04-11 18:24:19 +02:00
Charles Pigott
4b1a42c703
Codechange: Remove outdated assumption about FreeBSD's C compiler
2018-04-11 18:24:19 +02:00
Jonathan G Rennison
4a6ddb2d50
Merge branch 'cpp-11' into crashlog_improvements
...
# Conflicts:
# config.lib
2017-09-04 01:22:54 +01:00
Jonathan G Rennison
509e20406f
Merge branch 'master' into cpp-11
2017-09-04 01:22:19 +01:00
adf88
b3d37c0032
(svn r27902) -Feature [FS#6614]: Preserve PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR environment variables in config.cache file (just like other variabes CFLAGS, LDFLAGS etc.) so they can be resused when OpenTTD re-configures itself
2017-08-27 16:07:24 +00:00
adf88
2aa806842f
(svn r27902) -Feature [FS#6614]: Preserve PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR environment variables in config.cache file (just like other variabes CFLAGS, LDFLAGS etc.) so they can be resused when OpenTTD re-configures itself
2017-08-27 16:07:24 +00:00
Jonathan G Rennison
f3a0aace0c
Merge branch 'master' into cpp-11
...
# Conflicts:
# src/stdafx.h
2017-08-15 18:44:17 +01:00
michi_cc
3e7bdb0c73
(svn r27727) -Fix(-or-not) [FS#6295]: [OSX] Out-of-the-box compilation on newer OSX versions (dunn).
2017-01-08 17:00:18 +00:00
michi_cc
8ad28478a3
(svn r27727) -Fix(-or-not) [FS#6295]: [OSX] Out-of-the-box compilation on newer OSX versions (dunn).
2017-01-08 17:00:18 +00:00
frosch
d8a316d7c5
(svn r27709) -Fix-ish: Silence some warnings. (adf88)
2016-12-25 13:26:15 +00:00
frosch
4342798ff5
(svn r27709) -Fix-ish: Silence some warnings. (adf88)
2016-12-25 13:26:15 +00:00
frosch
ab3d5305a5
(svn r27703) -Change [FS#6532]: [gcc] Wnarrowing and Wfree-nonheap-object do no longer trigger in gcc 4.9.2, so reenable them.
2016-12-22 12:59:46 +00:00
frosch
41e5e7626e
(svn r27703) -Change [FS#6532]: [gcc] Wnarrowing and Wfree-nonheap-object do no longer trigger in gcc 4.9.2, so reenable them.
2016-12-22 12:59:46 +00:00
Jonathan G Rennison
06f9c01986
Fix CPU pointer width detection in configure script.
2016-09-27 01:05:42 +01:00
Jonathan G Rennison
c59509c2aa
Use -gline-tables-only instead of -g1 on clang.
2016-09-08 19:38:13 +01:00
Jonathan G Rennison
f7774415f2
Merge branch 'cpp-11' into crashlog_improvements
...
# Conflicts:
# src/stdafx.h
2016-09-08 19:36:00 +01:00
Jonathan G Rennison
8a2f9311a9
Include -01 in CFLAGS_BUILD when using clang.
2016-09-08 19:31:40 +01:00
Jonathan G Rennison
2fe7571034
Require C++11 support.
...
Set minimum compiler versions to:
GCC 4.7
clang 3.3
ICC 14.0
2016-09-05 22:45:57 +01:00
frosch
533cb7c156
(svn r27654) -Change: Enable C++11 for clang 3.3 (LordAro)
2016-09-05 19:11:01 +00:00
frosch
ac6793dace
(svn r27654) -Change: Enable C++11 for clang 3.3 (LordAro)
2016-09-05 19:11:01 +00:00
frosch
a2a69c1480
(svn r27623) -Fix (r27616) [FS#6492]: Missed two version checks, and messed one up.
2016-07-24 09:13:51 +00:00
frosch
b2fb19cc19
(svn r27623) -Fix (r27616) [FS#6492]: Missed two version checks, and messed one up.
2016-07-24 09:13:51 +00:00
frosch
f7a7f141d3
(svn r27616) -Codechange [FS#6487]: [Build] Change the GCC version detection so that it works with two-digit and truncated versions.
2016-07-17 11:10:21 +00:00
frosch
1f4489c266
(svn r27616) -Codechange [FS#6487]: [Build] Change the GCC version detection so that it works with two-digit and truncated versions.
2016-07-17 11:10:21 +00:00
rubidium
fe0d3761f7
(svn r27606) -Change/fix: GCC6 defaults to C++14, but our configure limits it to C++0x just because we want to use features from C++0x (which are also in C++14), so use the C++ standard that's the GCC6 default
2016-06-27 17:54:05 +00:00
rubidium
e956422f48
(svn r27606) -Change/fix: GCC6 defaults to C++14, but our configure limits it to C++0x just because we want to use features from C++0x (which are also in C++14), so use the C++ standard that's the GCC6 default
2016-06-27 17:54:05 +00:00
Jonathan G Rennison
8d078acb4e
Log registers and fault instruction in Unix crashlog.
2016-06-12 19:34:06 +01:00
Jonathan G Rennison
0951cb320c
Show ./configure invocation in crash log.
2016-06-10 23:39:26 +01:00
Jonathan G Rennison
411f91731d
Config: Fix --with-self-gdb-debug config re-exec
2016-06-10 23:39:26 +01:00
Jonathan G Rennison
abbc960e96
Linux crashlog: Use sigaction to get more info on fatal signals.
2016-06-10 23:39:26 +01:00
smatz
5ac736ec00
(svn r27595) -Fix: prevent GCC 6 over-optimization
2016-05-31 19:33:33 +00:00
smatz
4bd149d05a
(svn r27595) -Fix: prevent GCC 6 over-optimization
2016-05-31 19:33:33 +00:00
rubidium
b892103747
(svn r27557) -Fix: bashism that caused different CFLAGS with bash vs dash
2016-05-11 18:38:44 +00:00
rubidium
9ea3e42768
(svn r27557) -Fix: bashism that caused different CFLAGS with bash vs dash
2016-05-11 18:38:44 +00:00
Jonathan G Rennison
a609439d98
Add support for enhanced crash log stacktraces using gdb on Linux.
...
This attempts to use gdb to attach to the current process and print
a full backtrace.
2016-03-10 00:14:26 +00:00
Jonathan G Rennison
f86b5c58cb
Merge branch 'master' into crashlog_improvements
2016-02-17 22:40:40 +00:00
planetmaker
96aa437f85
(svn r27472) -Change [FS#6401] (r20219): On Haiku use the appropriate system variable to obtain the include dir (aarroyoc)
2015-12-15 20:43:39 +00:00
planetmaker
e78ce08287
(svn r27472) -Change [FS#6401] (r20219): On Haiku use the appropriate system variable to obtain the include dir (aarroyoc)
2015-12-15 20:43:39 +00:00
Jonathan G Rennison
ede4bd3662
Change to config libbfd detection.
...
Include all used functions in test script, this is to catch
unsatisfied dependency link errors.
Try to compile with libiberty and then also with libintl if the
initial test fails.
Log the executed commands at level 2, for consistency with other
config test compiles.
2015-09-14 23:00:45 +01:00
Jonathan G Rennison
d7853db2fd
Add configure switches for libbfd and bfd extra debug info.
2015-09-09 20:19:26 +01:00
Jonathan G Rennison
b9f5765415
Use rm -f
instead of rm
for removing configure build temporaries.
2015-09-09 02:29:19 +01:00