Commit graph

219 commits

Author SHA1 Message Date
rfm
9eb9eba0d6 portability tweak 2025-03-09 15:21:17 +00:00
rfm
0cf679c1b6 More portable sed command 2025-03-09 15:18:13 +00:00
rfm
e3bbdd276b Improve test for working bash and allow path to be specified on command line 2025-03-09 15:09:05 +00:00
hmelder
c2a7753ffc Bump Objective-C runtime version and add installation instructions 2024-04-18 11:11:04 +02:00
Frederik Carlier
adbab30895
Allow users to override the /lib dir
The [File Hierarchy Standard][1] allows for an alternative format for essential shared libraries, using `lib<qual>` instead of `lib`.

Some Linux distributions, like Enterprise Linux, adopt this, and on 64-bit systems the shared libraries would go into `lib64` instead of `lib`.

Currently the Fedora/EPEL packages [manually patch the fhs and fhs-system files][2].

This commit updates the `./configure` script so that the user can manually specify a `lib` folder, e.g. `--with-libdir=lib64`.

[1]: https://www.pathname.com/fhs/pub/fhs-2.3.html#LIBLTQUALGTALTERNATEFORMATESSENTIAL
[2] https://src.fedoraproject.org/rpms/gnustep-make/blob/rawhide/f/gnustep-make.spec#_64
2024-03-29 10:12:14 +00:00
rfm
6d6548bef9
Merge pull request #19 from gaelicWizard/GNUstep-reset
Generate GNUstep-reset.sh from GNUstep-reset.sh.in
2024-02-14 13:55:41 +00:00
rfm
2e99da71ef allow configure without bash ... abort tests at runtime 2023-12-12 19:58:02 +00:00
rfm
a95eb8e724 Require bash for test framework 2023-12-11 17:29:38 +00:00
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
John D Pell
8c45f895ee Generate GNUstep-reset.sh just like GNUstep.sh
so that different file system layouts can be accounted for. This does not solve the problem of removing /usr/bin from PATH…
2021-07-04 18:11:50 -07: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