Commit graph

1921 commits

Author SHA1 Message Date
mccallum
aa14c110d3 Remove --enable-shared from first example of installation commands;
many people were using ignorant of whether or not their system
supported dynamically-linked shared libraries.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@721 72102866-910b-0410-8b05-ffd578937521
1996-01-15 22:15:16 +00:00
mccallum
5eac6bd474 Remove test09; it doesn't work, but it doesn't matter.
(SRCS): Remove test09.m.
(test09): Remove target.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@720 72102866-910b-0410-8b05-ffd578937521
1996-01-15 22:09:17 +00:00
mccallum
9dad290c82 Test whether loading of contructor functions works by actually
compiling and running a program, not by looking for /usr/include/elf.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@719 72102866-910b-0410-8b05-ffd578937521
1996-01-15 22:07:36 +00:00
mccallum
e5b08a44d3 (LIBS): Added -lm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@718 72102866-910b-0410-8b05-ffd578937521
1996-01-12 22:55:17 +00:00
mccallum
b4be898aef ([NSProcessInfo -globallyUniqueString]): Don't use the %@ printf
format directive, since it isn't implemented yet; use %s and -cString
instead.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@717 72102866-910b-0410-8b05-ffd578937521
1996-01-12 22:28:41 +00:00
mccallum
b9e4acc0ec Don't test !(sgi), since SYS_AUTOLOAD is fixed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@716 72102866-910b-0410-8b05-ffd578937521
1996-01-12 22:17:53 +00:00
mccallum
81e950dfba (objc_find_executable): #ifdef NeXT, use getwd() instead of getcwd().
(Reported by Gregor Hoffleit <flight@mathi.uni-heidelberg.DE>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@715 72102866-910b-0410-8b05-ffd578937521
1996-01-12 21:24:07 +00:00
mccallum
569719b8b0 ([NSDate -description]): Don't use strftime #ifdef NeXT. (Reported by
Gregor Hoffleit <flight@mathi.uni-heidelberg.DE>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@714 72102866-910b-0410-8b05-ffd578937521
1996-01-12 21:09:48 +00:00
mccallum
79fa53e8d4 (objects/stdobjects.h): prepend objects/stdobjects.h.in with
$(srcdir).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@713 72102866-910b-0410-8b05-ffd578937521
1996-01-12 20:55:35 +00:00
mccallum
d7f4f8f37c ($(DYNAMIC_OFILES)): Use $(srcdir).
($(BUNDLE_NAMEJ)): Likewise.
(Reported by Matthias Klose <doko@cs.tu-berlin.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@712 72102866-910b-0410-8b05-ffd578937521
1996-01-12 20:42:18 +00:00
mccallum
7a42c503ab (NXStringTable_scan.o): Removed target; let pattern rule take care of
it.
($(NSVALUE_MFILES)): Use $@ instead of $* in expr argument.
($(NSNUMBER_MFILES)): Likewise.
(Reported by <pfuchs@tag01.acnet.net>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@711 72102866-910b-0410-8b05-ffd578937521
1996-01-12 20:20:57 +00:00
mccallum
07d5a24cbf ([NSMethodSignature +signatureWithObjCTypes:]): Use gcc's builtin
memcpy instead of bcopy.  (Reported by Matthias Klose
<doko@cs.tu-berlin.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@710 72102866-910b-0410-8b05-ffd578937521
1996-01-12 16:56:38 +00:00
mccallum
8f5a50eff9 ([NSMethodSignature +signatureWithObjCTypes:]): Fix typo: change
objc_size_of_type to objc_sizeof_type.  (Reported by
Gregor Hoffleit <flight@mathi.uni-heidelberg.DE>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@709 72102866-910b-0410-8b05-ffd578937521
1996-01-12 16:54:39 +00:00
mccallum
d3fda08ef8 (libobjects.so.$(OBJECTS_VERSION)): Removed
"-Wl,-soname,libobjects.so.$(OBJECTS_VERSION)"; gcc does this
automatically.  (Reported by Matthias Klose <doko@cs.tu-berlin.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@708 72102866-910b-0410-8b05-ffd578937521
1996-01-12 16:45:56 +00:00
mccallum
cae481e0de Include <netdb.h> for MAXHOSTNAMELEN. (Reported by Matthias Klose
<doko@cs.tu-berlin.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@707 72102866-910b-0410-8b05-ffd578937521
1996-01-12 16:42:12 +00:00
mccallum
dfc6da3d1e (ALL_CPPFLAGS): Add -I. for objects/config.h. (Reported by
Matthias Klose <doko@cs.tu-berlin.de>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@706 72102866-910b-0410-8b05-ffd578937521
1996-01-12 16:40:17 +00:00
mccallum
7b8352eec2 (ALL_INCLUDE_FLAGS): Add -I. for objects/config.h. (Reported by
Matthias Klose <doko@cs.tu-berlin.de>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@705 72102866-910b-0410-8b05-ffd578937521
1996-01-12 16:38:56 +00:00
mccallum
7ceeb55425 Remove #if NeXT and alternate #include's.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@704 72102866-910b-0410-8b05-ffd578937521
1996-01-11 00:20:48 +00:00
mccallum
36b433a642 ([MethodInvocation -initWithSelector:arguments:]): New method, not
implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@703 72102866-910b-0410-8b05-ffd578937521
1996-01-10 19:55:42 +00:00
mccallum
7925a68d6e Remove #if NeXT and alternate #include's.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@702 72102866-910b-0410-8b05-ffd578937521
1996-01-10 15:51:25 +00:00
mccallum
33e45f4f7c ([Storage -insertElement:at:]): Increment numElements. (Reported by
Revuz Dominique <dr@univ-mlv.fr>).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@701 72102866-910b-0410-8b05-ffd578937521
1996-01-09 20:24:52 +00:00
mccallum
b6bfb84e69 (RCS_FILES): Remove out-of-date MACHINES and CREDITS files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@700 72102866-910b-0410-8b05-ffd578937521
1996-01-09 19:07:32 +00:00
mccallum
f3c70def67 Use @samp around --enabled-shared.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@699 72102866-910b-0410-8b05-ffd578937521
1996-01-09 19:05:00 +00:00
mccallum
3cb4a46d7c (OBJECTS_SUBMINOR_VERSION): Version 0.1.15.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@698 72102866-910b-0410-8b05-ffd578937521
1996-01-08 18:56:00 +00:00
mccallum
4291610d73 No longer include machines.texi. Mention www homepage.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@697 72102866-910b-0410-8b05-ffd578937521
1996-01-08 17:27:28 +00:00
mccallum
267c1db55b Include quick-and-dirty example. Describe --enable-shared.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@696 72102866-910b-0410-8b05-ffd578937521
1996-01-08 17:26:41 +00:00
mccallum
85bca61698 Remove mention of DISCUSSION file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@695 72102866-910b-0410-8b05-ffd578937521
1996-01-08 17:16:13 +00:00
mccallum
08d4b5954a Fixes for post-0.1.14.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@694 72102866-910b-0410-8b05-ffd578937521
1996-01-08 17:14:38 +00:00
mccallum
89044d7fe4 Mention GNUStep foundation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@693 72102866-910b-0410-8b05-ffd578937521
1996-01-08 17:08:10 +00:00
mccallum
da91b29ed2 (_GNU_MAX_HOST_NAMELEN): Macro removed; using MAXHOSTNAMELEN from
<sys/param.h> instead.  All users changed.
(_gnu_process_args): Malloc and fill NSArgv; assignment of char** from
*char[] isn't right.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@692 72102866-910b-0410-8b05-ffd578937521
1996-01-08 17:05:45 +00:00
mccallum
cc256506a8 ([NSGCString -emptyCopy]): Use [super emptyCopy], not [super allocCopy].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@691 72102866-910b-0410-8b05-ffd578937521
1996-01-08 16:25:10 +00:00
mccallum
291b264f28 ([String -emptyCopy]): Method removed; super class implementation is
fine.
([String -initWithCString:range:]): Use -subclassResponsibility:, not
-notImplemented:.
([String -empty]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@690 72102866-910b-0410-8b05-ffd578937521
1996-01-08 16:24:14 +00:00
mccallum
1bbdb0f778 Remove double-quotes in help string of --enable-shared handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@689 72102866-910b-0410-8b05-ffd578937521
1996-01-08 16:05:50 +00:00
mccallum
53ea27d1e9 Changed rules for compiling concrete NSValue and NSNumber classes; the
old version no longer worked with PIC compilation, and didn't use the
common pattern rule for making the object file.
(NSNUMBER_CLUSTER, NSVALUE_CLUSTER): Variables removed.
(NSVALUE_MFILES): New variable, replacing NSVALUE_OFILES.
(NSNUMBER_MFILES): New variable, replacing NSNUMBER_OFILES.
(GNUSTEP_OBJS): Use new vars.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@688 72102866-910b-0410-8b05-ffd578937521
1996-01-07 21:05:01 +00:00
mccallum
91d3a68c6c (_gnu_process_args): Use "char **argv" instead of "char *argv[]".
Remove cast in assignment of NSArgv.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@687 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:40:36 +00:00
mccallum
3e24d51811 Add $srcdir where necessary.
(LIBOBJECTS_A_OR_SO): Variable removed.
(LIBOBJECTS_SO): Defined according to --enabled-shared flag.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@686 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:35:03 +00:00
mccallum
a19fea5315 Put back in the directions for compiling in a directory different than
the source directory.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@685 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:33:30 +00:00
mccallum
eada3d9f52 Note that building in a different directory now works.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@684 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:30:34 +00:00
mccallum
aadde88d1d Executables now depend on libobjects.a, not @LIBOBJECTS_A_OR_SO@.
(LIBS): Don't look in $(srcdir) for library.
(copy-dist): Don't use $(srcdir).
(Makefile): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@683 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:09:52 +00:00
mccallum
766d12960c (TEXT_FILES): New variable.
(info): Use it.
(MAKEINFO_FLAGS): New variable.  Use it in TEXT_FILES targets.
(DIST_FILES): Remove version.texi.
(clean): rm version.texi and $(TEXT_FILES).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@682 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:08:54 +00:00
mccallum
c83aea25f6 Executables now depend on libobjects.a, not @LIBOBJECTS_A_OR_SO@.
(LIBS): Don't look in $(srcdir) for library.
(OBJECTS_NEXT_INCLUDES): Don't look in non-existant next-includes dir.
(copy-dist): Don't use $(srcdir).
(Makefile): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@681 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:07:03 +00:00
mccallum
a55d5aa13b Clean up shared library building. Make building from another
directory work.
(Makeconf): Include it after system configuration section, and from
$(srcdir).
(SHAREDLIB_CFLAGS, SHAREDLIB_ARFLAGS, USING_SHAREDLIB_CFLAGS,
USING_SHAREDLIB_ARFLAGS): Variables removed.
(ALL_CFLAGS, ALL_OBJCFLAGS): Don't use removed vars.
(%_pic.o: %.m): New pattern rule.
(%_pic.o: %.c): New pattern rule.
(all): Always build libobjects.a, optionally build .so version.
(libobjects.so): Use -shared.  Link to ..$(OBJECTS_MAJOR_VERSION).
(install): Always install libobjects, optionally install .so version.
Install the headers from the $(srcdir).
(NSVALUE_OFILES, NSNUMBER_OFILES, NXStringTable_scan.c,
dynamic-load.h): Use $(srcdir) properly for these targets.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@680 72102866-910b-0410-8b05-ffd578937521
1996-01-05 22:01:31 +00:00
mccallum
572a7a1c45 ([Set -removeElement:ifAbsentCall:]): Fix typo; method renamed from
-removeElement:ifAbsent:.  (Reported by Albert Mietus
<albert@gamp.hacom.nl>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@679 72102866-910b-0410-8b05-ffd578937521
1996-01-05 04:12:08 +00:00
mccallum
49ab05a3a4 Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@678 72102866-910b-0410-8b05-ffd578937521
1995-12-20 18:42:38 +00:00
mccallum
e4ecbb522e ([NSMutableArray -addObject:]): Use -subclassResponsibility:, not
-notImplemented:.
([NSMutableArray -replaceObjectAtIndex:withObject:]): Likewise.
([NSMutableArray -insertObject:atIndex:]): Likewise.
([NSMutableArray -removeObjectAtIndex:]): Likewise.
([NSMutableArray -removeAllObjects]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@677 72102866-910b-0410-8b05-ffd578937521
1995-11-24 20:09:18 +00:00
mccallum
b25748e37a ([NSString +allocWithZone:]): New method.
([NSString +stringWithCString:byteString]): Use it.
([NSString +stringWithCString:length:]): Likewise.
([NSString +stringWithFormat:]): Likewise.
([NSString +stringWithFormat:arguments:]): Likewise.
([NSMutableString +allocWithZone:]): New method.
([NSMutableString +stringWithCapacity:]): Use it.
([NSMutableString +stringWithCString:length:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@676 72102866-910b-0410-8b05-ffd578937521
1995-11-19 20:29:39 +00:00
mccallum
f42380d816 Update shared library variable names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@675 72102866-910b-0410-8b05-ffd578937521
1995-11-14 17:18:17 +00:00
mccallum
b47bfa69fd (CFLAGS): Added -O.
(SHAREDLIB_CFLAGS,SHAREDLIB_ARFLAGS): Set values here, not in
configure.in.
(USING_SHAREDLIB_CFLAGS,USING_SHAREDLIB_ARFLAGS): New vars, set by
configure.
(ALL_CFLAGS, ALL_OBJCFLAGS): Use them.
(libobjects.so.$(OBJECTS_VERSION): New target, replacing
libobjects.so.  Use version numbers.
(install): Try to do the right thing with shared/non-shared libs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@674 72102866-910b-0410-8b05-ffd578937521
1995-11-14 17:02:56 +00:00
mccallum
9475e06e7f Update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@673 72102866-910b-0410-8b05-ffd578937521
1995-11-14 16:41:12 +00:00
mccallum
dd5fb778b6 Use configure var, not libobjects.a. Include ../Version.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@672 72102866-910b-0410-8b05-ffd578937521
1995-11-14 16:40:58 +00:00