Commit graph

210 commits

Author SHA1 Message Date
Riccardo
58d9d3a9e5
since newer autoconf detects linux-musl as separate, try to support it (#32)
* since newer autoconf detects linux-musl as separate, try to support it
2022-12-04 23:14:34 +01:00
Hugo Melder
c4eb5b1192 Remove verbose messages and regenerate configure 2022-08-02 19:01:46 +02:00
Hugo Melder
d46255b681 Find a compatible debugger 2022-08-02 18:35:28 +02:00
Fred Kiefer
1e69012101 Use newer version of config.guess and config.sub.
Update configure.ac with autoupdate and regenerate configure with autoconf.
2022-05-10 22:56:55 +02:00
Frederik Seiffert
f4ec7e8609 Fix CFLAGS for Windows MSVC. 2021-03-13 09:51:02 +01:00
Richard Frith-Macdonald
2270671e94 It turns out that, in gnustep-make the mingw64 support was incomplete,
so when we correctly detect mingw64 rather than mingw32 we actually
broke building of Gorm on mingw64.  Additionally, examination of the
cases where we do differentiate between mingw32 and mingw64, in all but
one of them we do the same thing for both.  That being the case, it
makes more sense to scrap the code to differentiate between the two
systems (except in the one case in target.make where we need to be aware
that the two systems prefix class names differently in the object
files), and adopt the triplet used by the mingw-w64 project (where os is
always mingw32 and we differentaiate 64bit windows using the vendor part
of the triplet) rather than the one returned by autoconf (config.guess).
2021-03-06 12:50:53 +00:00
Richard Frith-Macdonald
04ce555693 Fix incorrect setting of a couple of variables in last change 2021-02-26 08:49:07 +00:00
Richard Frith-Macdonald
9115af78c6 The autoconf system (eg the output from config.guess) expects the triplet (cpu-vendor-os) to have mingw32 or mingw64 as the os part, but the mingw-w64 project chose a different triplet (cpu-w64-mingw32) which looks like mingw32. To handle that we convert the triplet back to the standard form. All our tests can therefore continue to check the os part of the triplet to determine whether we are working with mingw32 or mingw64. 2021-02-25 21:34:51 +00:00
Frederik Seiffert
19c86e397c Enable checking for native Objective-C exception support on Windows if non-gnu runtime is used (i.e. ng runtime). 2020-11-26 14:28:56 +01:00
fredkiefer
eb7c5d8df3 * configure.ac: Increase AC version number and use OBJCXX directly.
* configure: Regenerate.
2020-08-30 20:42:33 +02:00
Niels Grewe
9b27e65659
simplify runtime type detection
also add some documentation about why this is so complicated
2019-12-23 07:13:23 +01:00
Niels Grewe
02f47ebb01
honour the library combo of an existing installation 2019-12-22 23:59:07 +01:00
Niels Grewe
29dbe2bc76
seamlessly upgrade library combo to ng-gnu-gnu if supported 2019-12-22 23:01:57 +01:00
Niels Grewe
94b77396ce
If the gnustep-2.0 ABI is used, emit a warning if a suspicious linker is found. 2019-12-06 22:29:31 +01:00
Niels Grewe
02e014a5f1
move runtime lib check into m4 module 2019-12-04 07:18:35 +01:00
Niels Grewe
4536e16cc7
wip: start improving runtime detection for gnustep-2.0 2019-12-04 02:17:39 +01:00
Niels Grewe
98a6b0135d
allow specifing the runtime abi to use 2019-12-03 22:49:26 +01:00
Niels Grewe
21c5b37cc9
move library combo into m4/ 2019-12-03 22:09:00 +01:00
Niels Grewe
114faf5cd8
move some autoconf macros into separate m4 dir 2019-12-03 20:15:42 +01:00
Richard Frith-Macdonald
14a1d33b46 Use -fobjec-runtime=gcc for targetting the gnu/gcc runtime ABI 2018-07-10 10:46:40 +01:00
Richard Frith-Macdonald
4e4a202511 Changes to make sure that nonfragile ABI settings are implied by gnu/ng runtime 2018-07-09 15:17:49 +01:00
Paul Landers
16b7c94490 revert change to use objc exceptions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@40160 72102866-910b-0410-8b05-ffd578937521
2016-10-18 22:35:33 +00:00
Paul Landers
b678fa706b do use clangs exceptions on windows, since we have them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@40144 72102866-910b-0410-8b05-ffd578937521
2016-10-12 16:23:10 +00:00
Niels Grewe
b3c4eb94ca Preliminary support for installing and resolving pkg-config files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39968 72102866-910b-0410-8b05-ffd578937521
2016-07-08 13:09:17 +00:00
Richard Frith-MacDonald
4f1263e9be Fixups for mingw64
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39940 72102866-910b-0410-8b05-ffd578937521
2016-06-28 11:17:49 +00:00
Richard Frith-MacDonald
c5a8a00a7a Minor tweaks and define USE_ARC if the compiler supports it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39751 72102866-910b-0410-8b05-ffd578937521
2016-05-13 09:53:44 +00:00
Richard Frith-MacDonald
1a4df24526 remove garbage collection support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39605 72102866-910b-0410-8b05-ffd578937521
2016-03-25 10:02:54 +00:00
Richard Frith-MacDonald
e7378fcb12 Fix order of checks to know we are on darwin before setting library combo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39497 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:52:32 +00:00
Richard Frith-MacDonald
733b21e237 Changes for next release
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39451 72102866-910b-0410-8b05-ffd578937521
2016-03-04 13:44:13 +00:00
Richard Frith-MacDonald
6aff5f9ab9 mprove compiler selection and add mechanism for turning on ARC for a build
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39442 72102866-910b-0410-8b05-ffd578937521
2016-03-02 13:16:22 +00:00
Richard Frith-MacDonald
9f66a4dab1 If ng runtime is selected, we need clang
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39439 72102866-910b-0410-8b05-ffd578937521
2016-03-02 12:05:34 +00:00
Wolfgang Lux
9a7d1681d0 Fix previous change, which had broken the autoconf tests for Objective
C++, the fragile API and native exception support, by using the
correct autoconf macros.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@38898 72102866-910b-0410-8b05-ffd578937521
2015-08-17 12:48:41 +00:00
Richard Frith-MacDonald
4a420f7278 autoconf updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@38887 72102866-910b-0410-8b05-ffd578937521
2015-08-16 10:07:45 +00:00
Riccardo Mottola
b31da7bdb6 Check for nm and gnm as gnu nm, use a $(NM) variable instead of hard-coding the binary name of nm
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@38605 72102866-910b-0410-8b05-ffd578937521
2015-06-09 08:39:35 +00:00
Ivan Vučica
8ef9b0927d Debian packaging support, which should now correctly support building source packages.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@37834 72102866-910b-0410-8b05-ffd578937521
2014-05-05 00:47:20 +00:00
Richard Frith-MacDonald
e955aa422a ttmept fix for bug #34838 plus hard coded make invocations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@37609 72102866-910b-0410-8b05-ffd578937521
2014-01-16 07:30:10 +00:00
Wolfgang Lux
cb7c6b74d5 Really fix the test whether the compiler uses the non-fragile ABI by
default. It should now work on all platforms with either gcc or clang.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36938 72102866-910b-0410-8b05-ffd578937521
2013-07-27 13:39:26 +00:00
Richard Frith-MacDonald
fdf53a9743 revert to working configure script
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36937 72102866-910b-0410-8b05-ffd578937521
2013-07-27 08:55:09 +00:00
Wolfgang Lux
3500c55b55 Rewrite test whether the compiler supports the non-fragile ABI once
more, so that it now reports the correct result.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36936 72102866-910b-0410-8b05-ffd578937521
2013-07-26 18:52:25 +00:00
Wolfgang Lux
e5b37b9aa1 Rewrite test whether the compiler supports the non-fragile ABI with
portable code that does not rely on a BSD compatible echo command.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36884 72102866-910b-0410-8b05-ffd578937521
2013-07-14 14:59:55 +00:00
Richard Frith-MacDonald
1dcaad221f updates based on contribution by Jean-Charles Bertin
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36258 72102866-910b-0410-8b05-ffd578937521
2013-03-04 11:21:55 +00:00
Niels Grewe
3511ce32d0 Improve last change based on suggestions by David Chisnall.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@35602 72102866-910b-0410-8b05-ffd578937521
2012-09-24 10:35:19 +00:00
Niels Grewe
3221812e13 Also try to detect whether the nonfragile ABI is enabled by default by the
compiler.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@35599 72102866-910b-0410-8b05-ffd578937521
2012-09-24 09:12:38 +00:00
Quentin Mathe
695f80a68f Fixed native exception detection when using --enable-objc-nonfragile-abi.
Based on a patch by Christopher Armstrong, see bug report #36186


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@35259 72102866-910b-0410-8b05-ffd578937521
2012-07-05 14:31:35 +00:00
Nicola Pero
a621b2aabc Attempt at fixing problem detecting clang when configuring gnustep-make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32973 72102866-910b-0410-8b05-ffd578937521
2011-05-03 15:28:07 +00:00
Wolfgang Lux
3795c60175 Use configure time check for Objective-C runtime header directory
workaround on Darwin/OS X.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32956 72102866-910b-0410-8b05-ffd578937521
2011-04-30 07:43:56 +00:00
Nicola Pero
a70a23a808 Use -Wl,-r to do partial linking with clang, and -r to do partial linking with GCC. Hopefully this fixes building with GCC 4.6.0 while still working with GCC on sparc, and with clang on all platforms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32835 72102866-910b-0410-8b05-ffd578937521
2011-04-11 20:23:50 +00:00
Nicola Pero
2a8870194a Reverted checking for -fblocks. Apparently no longer needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32828 72102866-910b-0410-8b05-ffd578937521
2011-04-10 14:49:04 +00:00
Nicola Pero
2063f0887a Detect -fblocks in the compiler when running configure, and if available, use it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32827 72102866-910b-0410-8b05-ffd578937521
2011-04-10 14:24:08 +00:00
Nicola Pero
d431fc8780 Updated comments and configure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32822 72102866-910b-0410-8b05-ffd578937521
2011-04-09 14:09:30 +00:00