Jonathan G Rennison
3a093c4b63
Use libbfd as a fallback for backtrace symbol lookup on MinGW.
...
This will try to demangle.
If bfd_find_nearest_line returns a file name but nothing else
(debugging info is turned off), scan the symbol table for the previous
symbol and use it if it looks OKish.
9 years ago
Jonathan G Rennison
99d8d1afa6
Enable existing MSVC stack backtrace code on MinGW where supported.
...
The existing code seems to work fine, though symbol lookup in
openttd.exe does not work.
9 years ago
Jonathan G Rennison
c5bc04c4b8
Compile with -g1 if using libbfd to get line numbers.
9 years ago
Jonathan G Rennison
5b755050b8
Use libbfd on Unix to get more symbols, line numbers, etc. for backtraces.
9 years ago
Jonathan G Rennison
387bf403da
GCC/Unix: Try to demangle C++ function names in crashlog stack trace.
...
Change format of stack trace lines to improve readability.
9 years ago
rubidium
eb4b6a08d0
(svn r27377) -Codechange: use the pkg-config files of ICU as well. Since they are split into separate libraries it becomes possible to split RTL support for natural sorting, although the effect will be minimal
9 years ago
rubidium
cc5b8ea6cb
(svn r27376) -Codechange: let libtimidity detection and configuration make use of pkg-config
9 years ago
rubidium
2011c24502
(svn r27375) -Fix-ish: update help parameter for png configuration (it has used pkg-config for a long time)
9 years ago
rubidium
36f77b1aa7
(svn r27374) -Codechange: make zlib detection and configuration make use of pkg-config
9 years ago
rubidium
c3715a025d
(svn r27373) -Codechange: make sdl detection and configuration use pkg-config
9 years ago
rubidium
f05d71a9a6
(svn r27372) -Codechange: make allegro detection and configuration use pkg-config
9 years ago
rubidium
f179a92007
(svn r27371) -Codechange: make freetype detection and configuration use pkg-config
9 years ago
rubidium
2aee2899e8
(svn r27370) -Codechange: move the "dedicated server" check into the pkg-config check routine
9 years ago
rubidium
a08d1a044f
(svn r27369) -Cleanup: there's no need to do dependency checking of libraries in OpenTTD; zlib should always be installed if libpng is because it links to zlib
9 years ago
rubidium
625bc2e0e7
(svn r27368) -Cleanup: undo the special case of OSX; it works fine without it
9 years ago
rubidium
ee700fd3b1
(svn r27367) -Codechange: make a distinction between the layouting part of ICU (lx) or the sorting/collation part of ICU (i18n)
9 years ago
rubidium
bc199a4fe1
(svn r27361) -Fix-ish: when attempting to find a host, try gcc/g++ but also CC/CXX appended to the host triple. This to make cross compilation with clang alone easier
9 years ago
rubidium
501ee2105a
(svn r27360) -Feature: allow configuring pkg-config in one go for all libraries
9 years ago
frosch
482714e1cf
(svn r27250) -Fix [FS#6286]: Broken error message in configure. (NG)
10 years ago
planetmaker
e54ba05393
(svn r27224) -Cleanup: Duplicate #ifdef for FreeBSD (AMDim3)
10 years ago
planetmaker
acef9bb811
(svn r27223) -Add [FS#6274]: Support for DragonflyBSD (AMDmi3)
10 years ago
planetmaker
2d3ad05aa7
(svn r27059) -Change: [Makefile] Make sure to use plain mercurial output unaltered by personal presets
10 years ago
rubidium
6592da4952
(svn r26869) -Add: support for an all black palette to prevent the need of having a black tile of all different slopes (ic111)
10 years ago
planetmaker
7836a487ae
(svn r26850) -Fix: [Makefile] Compilation of strgen requires also defining variable in for platforms like Solaris
10 years ago
rubidium
a290f4a6fb
(svn r26737) -Fix (r26735): one = too many... why can't all languages use the same basic definition for comparisons?
10 years ago
rubidium
bbe58ca737
(svn r26735) -Fix (rmakefilerewrite): for profiling CFLAGS got a -p (for prof) and LDFLAGS got -pg (for gprof), but in the end gprof would be used (via make run-prof). Furthermore -pg isn't compatible with -fomit-frame-pointer on certain architectures (most importantly x86(_64)), so simply don't enable that flag when profiling is enabled
10 years ago
planetmaker
c10662e4cc
(svn r26458) -Doc: Correct a few spelling mistakes (__ln__)
11 years ago
rubidium
3e4124695d
(svn r26435) -Fix (r26434): linking issue on OS X
11 years ago
rubidium
07a9086ced
(svn r26433) -Codechange: use pkg-config for libpng as well
11 years ago
rubidium
aa5f505b64
(svn r26432) -Codechange: deduplicate code for checking pkg-config dependencies
11 years ago
rubidium
aca4b5bf37
(svn r26198) -Fix (r26195): some platforms leave an .exe around...
11 years ago
rubidium
bfd72d7a89
(svn r26194) -Change: add SSE detection to the configure script with the possibility to disable it (based on patch by MJP)
11 years ago
rubidium
108b65c967
(svn r26019) -Fix: copy-paste error in configure help
11 years ago
rubidium
7de6238e25
(svn r26011) -Fix: --help text of ./configure for packages that require pkg-config
11 years ago
rubidium
a77aa68f16
(svn r25975) -Feature [FS#5385]: XDG base directory support
11 years ago
rubidium
7d5aaf95c4
(svn r25960) -Fix-ish: make it less likely to trigger clang's hang with -D_FORTIFY_SOURCE=2 -O1
11 years ago
fonsinchen
c8d4e83909
(svn r25706) -Fix: don't pass -mmacosx-version-min to compilers that don't support it
11 years ago
michi_cc
1880c36405
(svn r25679) -Codechange: [Win32] Get the result string of an IME input directly without a trip through the window messaging system.
11 years ago
planetmaker
b1e2922a23
(svn r25642) -Fix (r25638): Compilation with static ICU
11 years ago
planetmaker
0727c3c76d
(svn r25638) -Fix (r25470): Some icu_config are too stupid to separate two ldflags by spaces, thus only call it with one
11 years ago
michi_cc
ac583fc787
(svn r25480) -Codechange: [OSX] OS X SDK versions >= 10.5 always have a non-const iconv declaration.
11 years ago
rubidium
672ccbfde5
(svn r25470) -Feature-ish: use ICU's layout engine when that's available
11 years ago
glx
95552ba45b
(svn r25266) -Fix: gcc4.6 removed -mno-cygwin option
12 years ago
planetmaker
5ed3969ab9
(svn r25209) -Doc: Mention --without-grfcodec in the help for configure and explain its use in the readme
12 years ago
frosch
e4c87948c5
(svn r25205) -Feature: Translations of baseset descriptions via lang files.
12 years ago
rubidium
a9af895fbb
(svn r25107) -Change: be slightly more lenient with trying to detect a subversion repository in case someone has a sparse tags checkout. In that case the .svn folder misses from the $ROOT_DIR because it is in the $ROOT_DIR/.. (i.e. tags) folder
12 years ago
rubidium
c6ecb1f2f3
(svn r25054) -Document: the *FLAGS_BUILD in configure
12 years ago
rubidium
8b92707d7c
(svn r24889) -Fix-ish: extra GRF was built with "broken" grfcodec
12 years ago
smatz
bc44866c59
(svn r24701) -Fix [FS#5246]: Workaround an overoptimisation done by GCC 4.5
12 years ago
rubidium
db460bc4e0
(svn r24601) -Fix: _BUILD flags were not properly parsed when reconfiguring
12 years ago
rubidium
6b9c131fab
(svn r24598) -Fix: configure script failed to detect libfontconfig 2.10 as newer than 2.3
12 years ago
rubidium
cff01ec865
(svn r24573) -Fix: hopefully get packing right on Mingw's gcc 4.7
12 years ago
truebrain
863cd12c0f
(svn r24471) -Feature: unbreak multiparam configure settings (--setting value), which clearly nobody uses, as it has been broken .... for a while
12 years ago
truebrain
4b4c058669
(svn r24470) -Feature [FS#5270]: be a tiny bit GNU autotools compatible, for those who expect all software to follow GNU guidelines
12 years ago
rubidium
3fc0196951
(svn r24431) -Fix: some old compilers didn't like some flag that isn't really needed anyway
12 years ago
rubidium
a3f56875c1
(svn r24429) -Change: add some hardening flags to the compiler for release builds
12 years ago
rubidium
12279e0aae
(svn r24427) -Change: allow passing C(XX)- and LDFLAGS to the compilation of helper binaries such as depend, strgen and settingsgen
12 years ago
rubidium
762922e956
(svn r24365) -Fix-ish: add C(XX)FLAGS_BUILD to all the executables that are compiled for the build enviroment
12 years ago
planetmaker
f50de50aee
(svn r24220) -Change: Adopt ICU version detection to also deal with the new versioning scheme since ICU 49
13 years ago
rubidium
3fb929005b
(svn r23993) -Cleanup: remove some disable directives from the NFO as they aren't needed anymore with newer GRFCodec/NFORenum
13 years ago
rubidium
a28614d6d1
(svn r23981) -Codechange: reduce GRF size by a few percent by letting GRFCodec determine the best compression
13 years ago
michi_cc
a643719996
(svn r23954) -Fix (r23952): Update required grfcodec version.
13 years ago
smatz
bb9b240a86
(svn r23941) -Add: support for clang
13 years ago
rubidium
82a3783fdd
(svn r23817) -Fix [FS#4962]: desync due to different NewGRF version. So reduce the chance that it happens significantly with betas/RCs/nightlies by doing the same as is done for stable releases: check the NewGRF version of server vs client.
...
Previously this check was not done for nightlies/betas/RCs due to missing versioning information in the source tarballs, but they have that for a while now. So just force the NewGRF version check for all versions, and remove the broken --revision configure option
13 years ago
peter1138
ab969f3369
(svn r23661) -Fix (r23438): Remaining parts of configuration were skipped when grfcodec/nforenum were not usable.
13 years ago
truebrain
f9f4a120b2
(svn r23455) -Fix (r23438): send the stderr in the right part to /dev/null
13 years ago
rubidium
8ffe63764b
(svn r23438) -Fix [FS#4867]: perform checks for nforenum/grfcodec in configure, including a version check so a proper error can be given when a too old grfcodec or nforenum is used
13 years ago
truebrain
bf803e40cc
(svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too
13 years ago
smatz
24063de586
(svn r22832) -Codechange: add -Wno-free-nonheap-object to CFLAGS in order to prevent some invalid GCC warnings
13 years ago
smatz
ce83a32f9c
(svn r22728) -Codechange: add -Wno-narrowing to cxxflags in order to prevent many useless warnings with GCC 4.7
13 years ago
glx
ede7ddfce5
(svn r22180) -Fix: when using -static-libgcc, also use -static-libstdc++
14 years ago
alberth
8f73cf52ec
(svn r22174) -Add: Generate the settings as part of the unix build process without using it (Rubidium)
14 years ago
smatz
fb7a9be91d
(svn r22137) -Codechange: enable -Wnon-virtual-dtor for all GCC versions
14 years ago
rubidium
4f7ccbe708
(svn r22008) -Add [FS#4470]: log the command that invocated configure in config.log
14 years ago
rubidium
d8728b7c24
(svn r22003) -Document [FS#3447]: that SDL for Mac OS X might very well be unusable
14 years ago
smatz
23bb300721
(svn r21662) -Codechange: use -flto=jobserver for GCC 4.6, it makes linking with LTO use number of processes passed to make -j
14 years ago
smatz
450f80ef74
(svn r21661) -Codechange: use -fwhole-program when linking in LTO mode so compiler can do more optimisations
14 years ago
rubidium
676354040c
(svn r21634) -Codechange: apparantly the "broken" iconv interface is the new official interface, so update the variable/definition naming slightly as it's not broken just different from the earlier iconv interface
14 years ago
smatz
5421592c36
(svn r21436) -Fix: LTO was no longer detected for GCC 4.6
14 years ago
rubidium
232d7b190a
(svn r21352) -Codechange: remove some unneeded code from config.lib
14 years ago
rubidium
8b4d080817
(svn r21351) -Change: read some metadata from (official) source tarballs so you'll more likely get the right version/revision out-of-the-box
14 years ago
terkhen
5139fa9a23
(svn r21343) -Add: Function that compares strings using case insensitive natural sort.
14 years ago
smatz
c4848d0719
(svn r21286) -Codechange: enable more warnings for ICC
14 years ago
planetmaker
a1bd81fb00
(svn r21196) -Change: [OSX] Allow to select the build targets for universal builds
14 years ago
terkhen
fb033c5a28
(svn r21194) -Add: Configure option for compiling OpenTTD as a console application under MinGW.
14 years ago
planetmaker
0577104065
(svn r21149) -Fix [FS#4210]: [OSX] Unify compiler flags with other OS and work around a compiler bug in gcc-4.0.1 which breaks graphics display in x86_64 binaries (Rubidium)
14 years ago
smatz
a1a2335f41
(svn r21062) -Codechange: append -Winit-self to compiler flags
14 years ago
rubidium
a9fc9b2e9a
(svn r21044) -Feature: XZ/LZMA2 savegame support. New default reduces savegame size by 10 to 30% with slightly more CPU usage. With maximum settings it reduces savegame size by 20 to 30%, but that takes 7 to 14 times longer. Map saving + downloading takes, on average, 5% less.
14 years ago
smatz
6825c2b725
(svn r20725) -Codechange: simplify make_compiler_cflags
14 years ago
smatz
b4c4767bb6
(svn r20724) -Fix: debug builds with LTO enabled didn't have debug information and were not optimised at all, causing many compile-time warnings
14 years ago
smatz
474480799f
(svn r20723) -Fix: don't define _FORTIFY_SOURCE when not compiling with GCC, other compilers would likely barf on GLIBC code
14 years ago
rubidium
c370ab2f27
(svn r20603) -Codechange: silence some ICC warnings
14 years ago
rubidium
9090353137
(svn r20554) -Fix [FS#4057]: typo in configure --help
14 years ago
rubidium
36c1c1bdb5
(svn r20490) -Change: merge the extra GRF sources so updating them becomes a bit easier.
...
The (prebuilt) grf will still remain, so if you don't have NFORenum and GRFCodec it will still work.
14 years ago
rubidium
757f80c2b4
(svn r20219) -Fix: Haiku uses a "special" location for headers
14 years ago
smatz
a5ba605772
(svn r19805) -Codechange: disable warnings about unused but set variables when building with asserts disabled
15 years ago
rubidium
a06b3c0646
(svn r19781) -Fix [FS#3809]: compilation on NetBSD failed (Krille)
15 years ago
rubidium
87097a8fb2
(svn r19627) -Fix [OSX]: mark the macports default include directory as a system include directory so our -W flags don't cause warnings on headers in there (planetmaker)
...
As this is a OS X patch... I have not and cannot test it, so if it breaks your system: do not blame me!
15 years ago
rubidium
d6d0e90f13
(svn r19626) -Fix: mention libtimidity in ./configure --help (planetmaker)
15 years ago
smatz
258b128a56
(svn r19614) -Codechange: "it's" => "its" where appropriate
15 years ago