Commit graph

106 commits

Author SHA1 Message Date
Niels Grewe
98a6b0135d
allow specifing the runtime abi to use 2019-12-03 22:49:26 +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
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
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
Sebastian Reitenbach
8149f13934 * config.make.in, GNUmakefile.in
Do not hardcode "make". It already gets detected via configure,
          so use the found name, especially on *BSD systems where its called
          gmake



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@37578 72102866-910b-0410-8b05-ffd578937521
2014-01-12 07:19:13 +00:00
Fred Kiefer
925f28d5c8 * config.make.in: Use the correct CXX compiler. Fixes bug #36722.
Patch by Johannes Lundberg <johannes@brilliantservice.co.jp>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@37516 72102866-910b-0410-8b05-ffd578937521
2013-12-25 13:40:48 +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
99026b64da Make it easier to swap C++/ObjC++ compilers on the fly when using gnustep-make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32622 72102866-910b-0410-8b05-ffd578937521
2011-03-16 18:45:32 +00:00
Nicola Pero
49e3f2a43e Fixed last change to deal with CC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31287 72102866-910b-0410-8b05-ffd578937521
2010-09-10 08:07:40 +00:00
Nicola Pero
8d78fcfdc7 Only set CC if not already set in the environment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@31264 72102866-910b-0410-8b05-ffd578937521
2010-09-09 14:33:53 +00:00
Richard Frith-MacDonald
a723322164 Add option to enable nonfragile abi for clang
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@29928 72102866-910b-0410-8b05-ffd578937521
2010-03-13 19:41:20 +00:00
Nicola Pero
12d2b6d9b8 Reorganized debug flags
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28717 72102866-910b-0410-8b05-ffd578937521
2009-09-20 10:34:39 +00:00
Riccardo Mottola
aa9a2dfcde Update and un-Win32-ify Cygwin rules.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28595 72102866-910b-0410-8b05-ffd578937521
2009-09-01 23:19:02 +00:00
Nicola Pero
a921a98987 Compile with -O2 even if debug=yes. Suggestion from Yavor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28461 72102866-910b-0410-8b05-ffd578937521
2009-08-15 21:32:38 +00:00
Nicola Pero
05b1752afa Fixed bug that was preventing anything from compiling. Apologies.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28156 72102866-910b-0410-8b05-ffd578937521
2009-03-30 23:05:16 +00:00
Nicola Pero
44e3a6e5cd Added --with-objc-lib-flag=xxx option to gnustep-make's configure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28152 72102866-910b-0410-8b05-ffd578937521
2009-03-30 07:52:37 +00:00
Richard Frith-MacDonald
1d2ac39fe3 Simplify an reorganise GC changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27574 72102866-910b-0410-8b05-ffd578937521
2009-01-11 08:41:17 +00:00
Richard Frith-MacDonald
2cb8c7c2ea move towards getting gc working once more.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27572 72102866-910b-0410-8b05-ffd578937521
2009-01-10 10:45:33 +00:00
Blake Nicholson
6c884cb4fa Added the --enable-absolute-install-paths option to configure on darwin. Pass
this option on to config.make and updated library.make and framework.make to
make the install_name absolute, if requested.

* configure.ac

  (--enable-absolute-install-paths): Added this option on darwin.  This is
  used to modify the dynamic library linking process so the install_name
  stored within the dynamic library is absolute.

  Also added a warning if a user specifies a filesystem other than 'apple' and
  does not enable absolute install paths to let the user know they need to set
  DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH.

* config.make.in

  (GNUSTEP_ABSOLUTE_INSTALL_PATHS): Added.

* Instance/library.make, Instance/framework.make

  (LIB_LINK_INSTALL_NAME): Change to an absolute path if on darwin and
  GNUSTEP_ABSOLUTE_INSTALL_PATHS is 'yes'.

* Documentation/releasenotes.texi

  Updated to reflect these changes.

* configure, RELEASENOTES

  Regenerated.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26552 72102866-910b-0410-8b05-ffd578937521
2008-05-22 13:16:43 +00:00
Nicola Pero
7f2a73decd Updated C++ and ObjC++ support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26186 72102866-910b-0410-8b05-ffd578937521
2008-03-03 23:24:48 +00:00
Nicola Pero
71f4581d16 Fixed symlinks on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@25903 72102866-910b-0410-8b05-ffd578937521
2008-01-09 15:55:08 +00:00
Adam Fedor
6ef7c3e512 Update license to GPL 3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@25539 72102866-910b-0410-8b05-ffd578937521
2007-10-30 14:18:41 +00:00
Nicola Pero
375f33aba3 Fixed copyright notices to tell the user they can read the GPL in the COPYING file, not COPYING.LIB
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@25329 72102866-910b-0410-8b05-ffd578937521
2007-07-13 10:11:48 +00:00
Adam Fedor
87fbddf426 Proper check for altex2html
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24762 72102866-910b-0410-8b05-ffd578937521
2007-03-05 15:10:38 +00:00
Nicola Pero
b9382fa220 Detect $(info ...) function of GNU Make, and use it to print the version number once per invocation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24513 72102866-910b-0410-8b05-ffd578937521
2007-02-12 22:31:33 +00:00
Nicola Pero
cafe74a41c Added new test for gcc precompiled headers, separated out and extended gcc version detection, and tidied up config tests depending on gcc version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24355 72102866-910b-0410-8b05-ffd578937521
2007-01-16 00:31:57 +00:00
Richard Frith-MacDonald
5a16a99800 Check compiler version to determine link command to use on slaris
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23968 72102866-910b-0410-8b05-ffd578937521
2006-10-26 11:22:00 +00:00
Nicola Pero
b8add68872 Fixed problems in the config system by separating platform-dependent and platform-independent information
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23549 72102866-910b-0410-8b05-ffd578937521
2006-09-18 20:29:28 +00:00
Nicola Pero
f1aa8c3319 Fixed typo in comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23245 72102866-910b-0410-8b05-ffd578937521
2006-08-10 10:09:47 +00:00
Adam Fedor
0c6fbb4a5c Better fix for filter in if statement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@22754 72102866-910b-0410-8b05-ffd578937521
2006-04-07 04:39:59 +00:00
Adam Fedor
ef4bf80cd1 * config.make.in: Set GNUSTEP_HOME to $(HOME). Fix if statements
with filter in them. Fixes bug #16010.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@22753 72102866-910b-0410-8b05-ffd578937521
2006-04-07 04:26:58 +00:00
Richard Frith-Macdonald
93826c2211 Get makefile to honor the GNUSTEP_CONFIG_FILE environment variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@22132 72102866-910b-0410-8b05-ffd578937521
2005-12-02 11:56:17 +00:00
Nicola Pero
3950f5d843 Removed duplicated code that was already in names.make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21867 72102866-910b-0410-8b05-ffd578937521
2005-10-23 16:51:06 +00:00
Nicola Pero
04de3be7af Read the config files in makefiles while building
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21866 72102866-910b-0410-8b05-ffd578937521
2005-10-23 16:44:28 +00:00
Adam Fedor
9fd7029585 * config.make.in (GNUSTEP_CONFIG_FILE): Correct capitaliztion
of substitution variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21848 72102866-910b-0410-8b05-ffd578937521
2005-10-20 23:09:07 +00:00
Nicola Pero
5204f11a1a Added --with-config-file option, and use it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21799 72102866-910b-0410-8b05-ffd578937521
2005-10-12 16:09:32 +00:00
Adam Fedor
4d0e99ab89 * Fixes for cygwin.
* Instance/rules.make: Add Windows resource files for cygwin
* config.make.in: Cygwin does not have ln-s
* rules.make: Add Windows resource rules for cygwin
* target.make (cygwin): Fix shared link cmd.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21781 72102866-910b-0410-8b05-ffd578937521
2005-10-07 02:39:08 +00:00
Nicola Pero
771db1a6e5 Fixed building frameworks with subprojects on Windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21504 72102866-910b-0410-8b05-ffd578937521
2005-07-20 16:00:07 +00:00
Adam Fedor
f7da0d90ea * Update FSF Address.
* Documentation/gnustep-howto.texi: Update required libs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@21244 72102866-910b-0410-8b05-ffd578937521
2005-05-22 03:20:14 +00:00
Nicola Pero
465b834068 Fixed using 'ln -s' on mingw32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@20293 72102866-910b-0410-8b05-ffd578937521
2004-11-04 08:45:18 +00:00
Adam Fedor
7954dc3422 Apple compiler checking, other fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@19806 72102866-910b-0410-8b05-ffd578937521
2004-08-01 02:33:45 +00:00
Alexander Malmberg
d86e67f506 Rename HAS_OBJC_EXCEPTIONS to USE_OBJC_EXCEPTIONS. Add configure argument for this feature, and make the test for it stricter.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@19603 72102866-910b-0410-8b05-ffd578937521
2004-06-22 23:56:41 +00:00
Nicola Pero
9ae06b0ad8 Detect native ObjC exception support in the compiler, and turn it on if there
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@19551 72102866-910b-0410-8b05-ffd578937521
2004-06-19 11:09:53 +00:00
Nicola Pero
d1b8fa9a76 Removed unused comment at the end of file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@18851 72102866-910b-0410-8b05-ffd578937521
2004-03-16 16:52:24 +00:00
Nicola Pero
59ce206d42 Removed --enable-import from configuration
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@18619 72102866-910b-0410-8b05-ffd578937521
2004-02-18 16:55:11 +00:00