Changeset 626
- Timestamp:
- Aug 17, 2003, 3:49:56 AM (22 years ago)
- Location:
- trunk/src/binutils/libiberty
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/libiberty/Makefile.in
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.2
r625 r626 78 78 # A configuration can specify extra .o files that should be included, 79 79 # even if they are in libc. (Perhaps the libc version is buggy.) 80 EXTRA_OFILES = 80 EXTRA_OFILES = 81 81 82 82 # Flags to pass to a recursive make. … … 108 108 # FIXME: add @BUILD_INFO@ once we're sure it works for everyone. 109 109 all: stamp-picdir $(TARGETLIB) needed-list required-list all-subdir 110 ifeq "$(BUILD_PLATFORM)" "OS2" 111 $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all 112 else 110 113 @: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all 114 endif 111 115 112 116 .PHONY: check installcheck -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/libiberty/config.table
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.2
r625 r626 13 13 i370-*-opened*) frag=mh-openedition ;; 14 14 i[345]86-*-windows*) frag=mh-windows ;; 15 *-*-*emx) frag=mh-emx ;; 15 16 esac 16 17 … … 32 33 case "${host}" in 33 34 *-*-cygwin*) ;; 35 *-*-*emx) ;; 34 36 alpha*-*-linux*) frag=mh-elfalphapic ;; 35 37 arm*-*-*) frag=mh-armpic ;; -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/libiberty/config/mh-emx
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r625 r626 1 CFLAGS = 1 # r=bird: why this here? Should be sufficient to do -s when linking. 2 #CFLAGS = -s -O2 2 3 INSTALL = cp 3 4 4 # Instead of ranlib run dllar which will make a shared library (dll) 5 RANLIB = dllar -d 'The GNU -liberty library' -o iberty 5 # Add the "s" flag to AR_FLAGS to add an archive index instead of RANLIB 6 AR_FLAGS = rcs 7 8 # hack: Instead of ranlib run dllar which will make a shared library (dll) 9 # TODO: Don't use RANLIB because it f**ks up install. 10 # TODO: Pass the correct -g/-s flag without using non-standard stuff. 11 # bird: Forget this it breaks the install. We'll need a better hack. 12 # override RANLIB = kRx.exe dllar.cmd -cc '$(CC)' -d 'The GNU -liberty library' -o iberty -lgcc 13 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/libiberty/getpwd.c
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.2
r625 r626 57 57 #endif 58 58 59 #if !(defined (VMS) || (defined(_WIN32) && !defined(__CYGWIN__)) )59 #if !(defined (VMS) || (defined(_WIN32) && !defined(__CYGWIN__)) || defined(__EMX__)) 60 60 61 61 /* Get the working directory. Use the PWD environment variable if it's … … 105 105 } 106 106 107 #else /* VMS || _WIN32 && !__CYGWIN__ */107 #else /* VMS || _WIN32 && !__CYGWIN__ || __EMX__ */ 108 108 109 109 #ifndef MAXPATHLEN … … 125 125 } 126 126 127 #endif /* VMS || _WIN32 && !__CYGWIN__ */127 #endif /* VMS || _WIN32 && !__CYGWIN__ || __EMX__ */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/libiberty/lbasename.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r625 r626 47 47 48 48 #if defined (_WIN32) || defined (__MSDOS__) \ 49 || defined (__DJGPP__) || defined (__OS2__) 49 || defined (__DJGPP__) || defined (__OS2__) || defined (__EMX__) 50 50 # define HAVE_DOS_BASED_FILE_SYSTEM 51 # ifndef DIR_SEPARATOR_2 51 # ifndef DIR_SEPARATOR_2 52 52 # define DIR_SEPARATOR_2 '\\' 53 53 # endif … … 69 69 #if defined (HAVE_DOS_BASED_FILE_SYSTEM) 70 70 /* Skip over a possible disk name. */ 71 if (ISALPHA (name[0]) && name[1] == ':') 71 if (ISALPHA (name[0]) && name[1] == ':') 72 72 name += 2; 73 73 #endif -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/libiberty/pex-os2.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r625 r626 31 31 #include <sys/wait.h> 32 32 #endif 33 34 /* ??? Does OS2 have process.h? */ 35 extern int spawnv (); 36 extern int spawnvp (); 33 #include <process.h> 37 34 38 35 int … … 49 46 if ((flags & PEXECUTE_ONE) != PEXECUTE_ONE) 50 47 abort (); 51 /* ??? Presumably 1 == _P_NOWAIT. */ 52 pid = (flags & PEXECUTE_SEARCH ? spawnvp : spawnv) (1, program, argv); 48 pid = (flags & PEXECUTE_SEARCH ? spawnvp : spawnv) (P_WAIT, program, argv); 53 49 if (pid == -1) 54 50 { … … 71 67 return pid; 72 68 } 69 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/libiberty/strerror.c
-
Property cvs2svn:cvs-rev
changed from
1.1.1.2
to1.2
r625 r626 20 20 #include <stdio.h> 21 21 #include <errno.h> 22 #ifdef __EMX__ /* EM put these two in the wrong header, they should be in stdio.h. */ 23 #include <stdlib.h> 24 #endif 22 25 23 26 #ifdef HAVE_SYS_ERRLIST … … 659 662 msg = (char *) sys_errlist[errnoval]; 660 663 } 661 664 662 665 return (msg); 663 666 } -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.