diff options
author | Ilya Zakharevich <ilya@math.berkeley.edu> | 2002-02-11 01:56:41 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-11 14:32:12 +0000 |
commit | a64c954a1bae6e00706f368c6d1ae9d131a4361d (patch) | |
tree | c106c6ba370e9bb68f72fff73689ed5f483e9075 /os2 | |
parent | a77eafec20d39a9432a97557c1161fb77fdf7f3d (diff) | |
download | perl-a64c954a1bae6e00706f368c6d1ae9d131a4361d.tar.gz |
OS/2 build
Message-ID: <20020211065640.A14993@math.ohio-state.edu>
(sans the Configure, perlio.sym, and t/op/stat.t parts)
p4raw-id: //depot/perl@14641
Diffstat (limited to 'os2')
-rw-r--r-- | os2/Makefile.SHs | 7 | ||||
-rw-r--r-- | os2/os2.c | 6 | ||||
-rw-r--r-- | os2/os2ish.h | 1 |
3 files changed, 13 insertions, 1 deletions
diff --git a/os2/Makefile.SHs b/os2/Makefile.SHs index 9c44823a21..23f6eadf06 100644 --- a/os2/Makefile.SHs +++ b/os2/Makefile.SHs @@ -55,6 +55,7 @@ AOUT_EXTRA_LIBS = $aout_extra_libs !GROK!THIS! $spitshell >>Makefile <<'!NO!SUBS!' +PREPLIBRARY_LIBPERL = $(LIBPERL) $(LIBPERL): perl.imp $(PERL_DLL) perl5.def libperl_override.lib emximp -o $(LIBPERL) perl.imp cp $(LIBPERL) perl.lib @@ -126,7 +127,11 @@ perl.linkexp: perl.exports perl.map os2/os2.sym # We link miniperl statically, since .DLL depends on $(DYNALOADER) -miniperl.map miniperl: $(obj) perl$(OBJ_EXT) miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) +miniperl.map: miniperl + +miniperl.exe: miniperl + +miniperl: $(obj) perl$(OBJ_EXT) miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(CC) $(CLDFLAGS) -o miniperl miniperlmain$(OBJ_EXT) perl$(OBJ_EXT) `echo $(obj)|sed -e 's/\bop\./opmini./g'` $(libs) -Zmap -Zlinker /map/PM:VIO @./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest @@ -2939,3 +2939,9 @@ my_getpwnam (__const__ char *n) { return passw_wrap(getpwnam(n)); } + +char * +gcvt_os2 (double value, int digits, char *buffer) +{ + return gcvt (value, digits, buffer); +} diff --git a/os2/os2ish.h b/os2/os2ish.h index 68b4dd9820..034fe82836 100644 --- a/os2/os2ish.h +++ b/os2/os2ish.h @@ -310,6 +310,7 @@ int my_rmdir (__const__ char *); struct passwd *my_getpwent (void); void my_setpwent (void); void my_endpwent (void); +char *gcvt_os2(double value, int digits, char *buffer); struct group *getgrent (void); void setgrent (void); |