mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1aadee2d9d |
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# $Id: GNUmakefile.68k,v 1.80 2006-01-29 09:16:59 obarthel Exp $
|
# $Id: GNUmakefile.68k,v 1.59 2005-06-04 10:46:21 obarthel Exp $
|
||||||
#
|
#
|
||||||
# :ts=8
|
# :ts=8
|
||||||
#
|
#
|
||||||
@@ -21,6 +21,7 @@ LIBC_OBJS = libc_objs
|
|||||||
LIBUNIX_OBJS = libunix_objs
|
LIBUNIX_OBJS = libunix_objs
|
||||||
LIBM_OBJS = libm_objs
|
LIBM_OBJS = libm_objs
|
||||||
LIBM881_OBJS = libm881_objs
|
LIBM881_OBJS = libm881_objs
|
||||||
|
LIBSTACK_OBJS = libstack_objs
|
||||||
LIBNET_OBJS = libnet_objs
|
LIBNET_OBJS = libnet_objs
|
||||||
LIBDEBUG_OBJS = libdebug_objs
|
LIBDEBUG_OBJS = libdebug_objs
|
||||||
LIBAMIGA_OBJS = libamiga_objs
|
LIBAMIGA_OBJS = libamiga_objs
|
||||||
@@ -29,6 +30,7 @@ LIBC_OBJS = $(TYPE)/libc_objs
|
|||||||
LIBUNIX_OBJS = $(TYPE)/libunix_objs
|
LIBUNIX_OBJS = $(TYPE)/libunix_objs
|
||||||
LIBM_OBJS = $(TYPE)/libm_objs
|
LIBM_OBJS = $(TYPE)/libm_objs
|
||||||
LIBM881_OBJS = $(TYPE)/libm881_objs
|
LIBM881_OBJS = $(TYPE)/libm881_objs
|
||||||
|
LIBSTACK_OBJS = $(TYPE)/libstack_objs
|
||||||
LIBNET_OBJS = $(TYPE)/libnet_objs
|
LIBNET_OBJS = $(TYPE)/libnet_objs
|
||||||
LIBDEBUG_OBJS = $(TYPE)/libdebug_objs
|
LIBDEBUG_OBJS = $(TYPE)/libdebug_objs
|
||||||
LIBAMIGA_OBJS = $(TYPE)/libamiga_objs
|
LIBAMIGA_OBJS = $(TYPE)/libamiga_objs
|
||||||
@@ -56,6 +58,10 @@ $(LIBM881_OBJS)/%.o : %.c
|
|||||||
@echo "Compiling $< [$(TYPE):m881]"
|
@echo "Compiling $< [$(TYPE):m881]"
|
||||||
@$(CC) -o $(LIBM881_OBJS)/$*.o -c $(CFLAGS) -DM68881_FLOATING_POINT_SUPPORT -m68881 $<
|
@$(CC) -o $(LIBM881_OBJS)/$*.o -c $(CFLAGS) -DM68881_FLOATING_POINT_SUPPORT -m68881 $<
|
||||||
|
|
||||||
|
$(LIBSTACK_OBJS)/%.o : %.c
|
||||||
|
@echo "Compiling $< [$(TYPE):stack]"
|
||||||
|
@$(CC) -o $(LIBSTACK_OBJS)/$*.o -c $(CFLAGS) -DSTACK_EXTENSION $<
|
||||||
|
|
||||||
$(LIBNET_OBJS)/%.o : %.c
|
$(LIBNET_OBJS)/%.o : %.c
|
||||||
@echo "Compiling $< [$(TYPE):net]"
|
@echo "Compiling $< [$(TYPE):net]"
|
||||||
@$(CC) -o $(LIBNET_OBJS)/$*.o -c $(CFLAGS) -DSOCKET_SUPPORT -DUSERGROUP_SUPPORT $<
|
@$(CC) -o $(LIBNET_OBJS)/$*.o -c $(CFLAGS) -DSOCKET_SUPPORT -DUSERGROUP_SUPPORT $<
|
||||||
@@ -72,7 +78,7 @@ $(LIBAMIGA_OBJS)/%.o : %.c
|
|||||||
|
|
||||||
ifeq (small_data_020,$(TYPE))
|
ifeq (small_data_020,$(TYPE))
|
||||||
CODE_TYPE := -m68020-60
|
CODE_TYPE := -m68020-60
|
||||||
CODE_FLAGS := -fbaserel -DSMALL_DATA -DM68020 -DUSE_64_BIT_INTS
|
CODE_FLAGS := -fbaserel -DSMALL_DATA -DM68020
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (small_data,$(TYPE))
|
ifeq (small_data,$(TYPE))
|
||||||
@@ -82,12 +88,12 @@ endif
|
|||||||
|
|
||||||
ifeq (small_data32,$(TYPE))
|
ifeq (small_data32,$(TYPE))
|
||||||
CODE_TYPE := -m68020-60
|
CODE_TYPE := -m68020-60
|
||||||
CODE_FLAGS := -fbaserel32 -DSMALL_DATA32 -DM68020 -DUSE_64_BIT_INTS
|
CODE_FLAGS := -fbaserel32 -DSMALL_DATA32 -DM68020
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (large_data_020,$(TYPE))
|
ifeq (large_data_020,$(TYPE))
|
||||||
CODE_TYPE := -m68020-60
|
CODE_TYPE := -m68020-60
|
||||||
CODE_FLAGS := -DM68020 -DUSE_64_BIT_INTS
|
CODE_FLAGS := -DM68020
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (large_data,$(TYPE))
|
ifeq (large_data,$(TYPE))
|
||||||
@@ -112,9 +118,7 @@ INCLUDES = -Iinclude -I. -Inetinclude
|
|||||||
#OPTIMIZE = -O2 -fomit-frame-pointer
|
#OPTIMIZE = -O2 -fomit-frame-pointer
|
||||||
#DEBUG = -g
|
#DEBUG = -g
|
||||||
|
|
||||||
CFLAGS = \
|
CFLAGS = $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(OPTIONS) $(CODE_FLAGS) $(CODE_TYPE) $(INCLUDES)
|
||||||
$(WARNINGS) $(OPTIMIZE) $(DEBUG) $(OPTIONS) \
|
|
||||||
$(CODE_FLAGS) $(CODE_TYPE) $(INCLUDES)
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
@@ -213,10 +217,8 @@ C_LIB = \
|
|||||||
stdio_freopen.o \
|
stdio_freopen.o \
|
||||||
stdio_fscanf.o \
|
stdio_fscanf.o \
|
||||||
stdio_fseek.o \
|
stdio_fseek.o \
|
||||||
stdio_fseeko.o \
|
|
||||||
stdio_fsetpos.o \
|
stdio_fsetpos.o \
|
||||||
stdio_ftell.o \
|
stdio_ftell.o \
|
||||||
stdio_ftello.o \
|
|
||||||
stdio_ftrylockfile.o \
|
stdio_ftrylockfile.o \
|
||||||
stdio_funlockfile.o \
|
stdio_funlockfile.o \
|
||||||
stdio_fwrite.o \
|
stdio_fwrite.o \
|
||||||
@@ -277,8 +279,6 @@ C_LIB = \
|
|||||||
stdlib_abort.o \
|
stdlib_abort.o \
|
||||||
stdlib_abs.o \
|
stdlib_abs.o \
|
||||||
stdlib_alloca.o \
|
stdlib_alloca.o \
|
||||||
stdlib_alloca_cleanup.o \
|
|
||||||
stdlib_alloca_trap.o \
|
|
||||||
stdlib_assertion_failure.o \
|
stdlib_assertion_failure.o \
|
||||||
stdlib_atexit.o \
|
stdlib_atexit.o \
|
||||||
stdlib_atoi.o \
|
stdlib_atoi.o \
|
||||||
@@ -302,19 +302,16 @@ C_LIB = \
|
|||||||
stdlib_free.o \
|
stdlib_free.o \
|
||||||
stdlib_getdefstacksize.o \
|
stdlib_getdefstacksize.o \
|
||||||
stdlib_getenv.o \
|
stdlib_getenv.o \
|
||||||
stdlib_getmemstats.o \
|
|
||||||
stdlib_getsp.o \
|
stdlib_getsp.o \
|
||||||
stdlib_get_errno.o \
|
stdlib_get_errno.o \
|
||||||
|
stdlib_init_exit.o \
|
||||||
stdlib_isresident.o \
|
stdlib_isresident.o \
|
||||||
stdlib_labs.o \
|
stdlib_labs.o \
|
||||||
stdlib_llabs.o \
|
stdlib_llabs.o \
|
||||||
stdlib_ldiv.o \
|
stdlib_ldiv.o \
|
||||||
stdlib_lldiv.o \
|
stdlib_lldiv.o \
|
||||||
stdlib_lib_main.o \
|
|
||||||
stdlib_lib_startup.o \
|
|
||||||
stdlib_machine_test.o \
|
stdlib_machine_test.o \
|
||||||
stdlib_main.o \
|
stdlib_main.o \
|
||||||
stdlib_main_stub.o \
|
|
||||||
stdlib_malloc.o \
|
stdlib_malloc.o \
|
||||||
stdlib_math.o \
|
stdlib_math.o \
|
||||||
stdlib_mkdtemp.o \
|
stdlib_mkdtemp.o \
|
||||||
@@ -327,14 +324,12 @@ C_LIB = \
|
|||||||
stdlib_oslibversion.o \
|
stdlib_oslibversion.o \
|
||||||
stdlib_priority.o \
|
stdlib_priority.o \
|
||||||
stdlib_process_name.o \
|
stdlib_process_name.o \
|
||||||
stdlib_program_name.o \
|
|
||||||
stdlib_putenv.o \
|
stdlib_putenv.o \
|
||||||
stdlib_qsort.o \
|
stdlib_qsort.o \
|
||||||
stdlib_rand.o \
|
stdlib_rand.o \
|
||||||
stdlib_rand_r.o \
|
stdlib_rand_r.o \
|
||||||
stdlib_realloc.o \
|
stdlib_realloc.o \
|
||||||
stdlib_red_black.o \
|
stdlib_red_black.o \
|
||||||
stdlib_resetmemstats.o \
|
|
||||||
stdlib_semaphore.o \
|
stdlib_semaphore.o \
|
||||||
stdlib_setenv.o \
|
stdlib_setenv.o \
|
||||||
stdlib_setjmp.o \
|
stdlib_setjmp.o \
|
||||||
@@ -365,6 +360,7 @@ C_LIB = \
|
|||||||
stdlib_udivsi4.o \
|
stdlib_udivsi4.o \
|
||||||
stdlib_umodsi3.o \
|
stdlib_umodsi3.o \
|
||||||
stdlib_unsetenv.o \
|
stdlib_unsetenv.o \
|
||||||
|
stdlib_wildcard_expand.o \
|
||||||
strings_ffs.o \
|
strings_ffs.o \
|
||||||
strings_strcasecmp.o \
|
strings_strcasecmp.o \
|
||||||
strings_strncasecmp.o \
|
strings_strncasecmp.o \
|
||||||
@@ -441,7 +437,6 @@ C_LIB = \
|
|||||||
unistd_isatty.o \
|
unistd_isatty.o \
|
||||||
unistd_lchown.o \
|
unistd_lchown.o \
|
||||||
unistd_link.o \
|
unistd_link.o \
|
||||||
unistd_lockf.o \
|
|
||||||
unistd_readlink.o \
|
unistd_readlink.o \
|
||||||
unistd_realpath.o \
|
unistd_realpath.o \
|
||||||
unistd_sleep.o \
|
unistd_sleep.o \
|
||||||
@@ -465,7 +460,6 @@ UNIX_LIB = \
|
|||||||
fcntl_fcntl.o \
|
fcntl_fcntl.o \
|
||||||
fcntl_open.o \
|
fcntl_open.o \
|
||||||
fcntl_get_default_file.o \
|
fcntl_get_default_file.o \
|
||||||
getopt_getopt_long.o \
|
|
||||||
mount_convertinfo.o \
|
mount_convertinfo.o \
|
||||||
mount_statfs.o \
|
mount_statfs.o \
|
||||||
stat_chmod.o \
|
stat_chmod.o \
|
||||||
@@ -486,19 +480,9 @@ UNIX_LIB = \
|
|||||||
stdio_record_locking.o \
|
stdio_record_locking.o \
|
||||||
stdio_remove.o \
|
stdio_remove.o \
|
||||||
stdio_rename.o \
|
stdio_rename.o \
|
||||||
stdlib_alloca.o \
|
|
||||||
stdlib_alloca_cleanup.o \
|
|
||||||
stdlib_alloca_trap.o \
|
|
||||||
stdlib_arg.o \
|
|
||||||
stdlib_getmemstats.o \
|
|
||||||
stdlib_main.o \
|
|
||||||
stdlib_main_stub.o \
|
|
||||||
stdlib_mkdtemp.o \
|
stdlib_mkdtemp.o \
|
||||||
stdlib_mkstemp.o \
|
stdlib_mkstemp.o \
|
||||||
stdlib_mktemp.o \
|
stdlib_mktemp.o \
|
||||||
stdlib_malloc.o \
|
|
||||||
stdlib_realloc.o \
|
|
||||||
stdlib_resetmemstats.o \
|
|
||||||
stdlib_system.o \
|
stdlib_system.o \
|
||||||
termios_cfgetispeed.o \
|
termios_cfgetispeed.o \
|
||||||
termios_cfgetospeed.o \
|
termios_cfgetospeed.o \
|
||||||
@@ -521,13 +505,11 @@ UNIX_LIB = \
|
|||||||
unistd_getcwd.o \
|
unistd_getcwd.o \
|
||||||
unistd_lchown.o \
|
unistd_lchown.o \
|
||||||
unistd_link.o \
|
unistd_link.o \
|
||||||
unistd_lockf.o \
|
|
||||||
unistd_readlink.o \
|
unistd_readlink.o \
|
||||||
unistd_realpath.o \
|
unistd_realpath.o \
|
||||||
unistd_restorepathname.o \
|
unistd_restorepathname.o \
|
||||||
unistd_setcurrentpath.o \
|
unistd_setcurrentpath.o \
|
||||||
unistd_strip_double_slash.o \
|
unistd_strip_double_slash.o \
|
||||||
unistd_symlink.o \
|
|
||||||
unistd_translatea2u.o \
|
unistd_translatea2u.o \
|
||||||
unistd_translaterel.o \
|
unistd_translaterel.o \
|
||||||
unistd_translateu2a.o \
|
unistd_translateu2a.o \
|
||||||
@@ -552,17 +534,6 @@ MATH_LIB = \
|
|||||||
complex_creal.o \
|
complex_creal.o \
|
||||||
complex_crealf.o \
|
complex_crealf.o \
|
||||||
complex_creall.o \
|
complex_creall.o \
|
||||||
fenv_feclearexcept.o \
|
|
||||||
fenv_fegetenv.o \
|
|
||||||
fenv_fegetexceptflag.o \
|
|
||||||
fenv_fegetround.o \
|
|
||||||
fenv_feholdexcept.o \
|
|
||||||
fenv_feraiseexcept.o \
|
|
||||||
fenv_fesetenv.o \
|
|
||||||
fenv_fesetexceptflag.o \
|
|
||||||
fenv_fetestexcept.o \
|
|
||||||
fenv_fetestround.o \
|
|
||||||
fenv_feupdateenv.o \
|
|
||||||
math_acos.o \
|
math_acos.o \
|
||||||
math_acosf.o \
|
math_acosf.o \
|
||||||
math_acosh.o \
|
math_acosh.o \
|
||||||
@@ -575,8 +546,6 @@ MATH_LIB = \
|
|||||||
math_atan2.o \
|
math_atan2.o \
|
||||||
math_atan2f.o \
|
math_atan2f.o \
|
||||||
math_atanf.o \
|
math_atanf.o \
|
||||||
math_atanh.o \
|
|
||||||
math_atanhf.o \
|
|
||||||
math_cbrt.o \
|
math_cbrt.o \
|
||||||
math_cbrtf.o \
|
math_cbrtf.o \
|
||||||
math_ceil.o \
|
math_ceil.o \
|
||||||
@@ -592,8 +561,6 @@ MATH_LIB = \
|
|||||||
math_erfcf.o \
|
math_erfcf.o \
|
||||||
math_erff.o \
|
math_erff.o \
|
||||||
math_exp.o \
|
math_exp.o \
|
||||||
math_exp2.o \
|
|
||||||
math_exp2f.o \
|
|
||||||
math_expf.o \
|
math_expf.o \
|
||||||
math_expm1.o \
|
math_expm1.o \
|
||||||
math_expm1f.o \
|
math_expm1f.o \
|
||||||
@@ -601,8 +568,6 @@ MATH_LIB = \
|
|||||||
math_fabsf.o \
|
math_fabsf.o \
|
||||||
math_floor.o \
|
math_floor.o \
|
||||||
math_floorf.o \
|
math_floorf.o \
|
||||||
math_fma.o \
|
|
||||||
math_fmaf.o \
|
|
||||||
math_fmod.o \
|
math_fmod.o \
|
||||||
math_fmodf.o \
|
math_fmodf.o \
|
||||||
math_fpclassify.o \
|
math_fpclassify.o \
|
||||||
@@ -631,34 +596,22 @@ MATH_LIB = \
|
|||||||
math_log10f.o \
|
math_log10f.o \
|
||||||
math_log1p.o \
|
math_log1p.o \
|
||||||
math_log1pf.o \
|
math_log1pf.o \
|
||||||
math_log2.o \
|
|
||||||
math_log2f.o \
|
|
||||||
math_logb.o \
|
math_logb.o \
|
||||||
math_logbf.o \
|
math_logbf.o \
|
||||||
math_logf.o \
|
math_logf.o \
|
||||||
math_lrint.o \
|
|
||||||
math_lrintf.o \
|
|
||||||
math_lround.o \
|
|
||||||
math_lroundf.o \
|
|
||||||
math_modf.o \
|
math_modf.o \
|
||||||
math_modff.o \
|
math_modff.o \
|
||||||
math_nan.o \
|
math_nan.o \
|
||||||
math_nanf.o \
|
math_nanf.o \
|
||||||
math_nearbyint.o \
|
|
||||||
math_nearbyintf.o \
|
|
||||||
math_nextafter.o \
|
math_nextafter.o \
|
||||||
math_nextafterf.o \
|
math_nextafterf.o \
|
||||||
math_pow.o \
|
math_pow.o \
|
||||||
math_powf.o \
|
math_powf.o \
|
||||||
math_remainder.o \
|
math_remainder.o \
|
||||||
math_remainderf.o \
|
math_remainderf.o \
|
||||||
math_remquo.o \
|
|
||||||
math_remquof.o \
|
|
||||||
math_rem_pio2f.o \
|
math_rem_pio2f.o \
|
||||||
math_rint.o \
|
math_rint.o \
|
||||||
math_rintf.o \
|
math_rintf.o \
|
||||||
math_round.o \
|
|
||||||
math_roundf.o \
|
|
||||||
math_scalbn.o \
|
math_scalbn.o \
|
||||||
math_scalbnf.o \
|
math_scalbnf.o \
|
||||||
math_signbit.o \
|
math_signbit.o \
|
||||||
@@ -672,10 +625,6 @@ MATH_LIB = \
|
|||||||
math_tanf.o \
|
math_tanf.o \
|
||||||
math_tanh.o \
|
math_tanh.o \
|
||||||
math_tanhf.o \
|
math_tanhf.o \
|
||||||
math_tgamma.o \
|
|
||||||
math_tgammaf.o \
|
|
||||||
math_trunc.o \
|
|
||||||
math_truncf.o \
|
|
||||||
stdio_asprintf.o \
|
stdio_asprintf.o \
|
||||||
stdio_flush.o \
|
stdio_flush.o \
|
||||||
stdio_flush_all_files.o \
|
stdio_flush_all_files.o \
|
||||||
@@ -737,11 +686,18 @@ MATH_LIB_IEEE = \
|
|||||||
math_subsf3.o \
|
math_subsf3.o \
|
||||||
math_truncdfsf2.o
|
math_truncdfsf2.o
|
||||||
|
|
||||||
|
STACK_LIB = \
|
||||||
|
stack.lib_rev.o \
|
||||||
|
stdlib_setjmp.o \
|
||||||
|
stdlib_stackextension.o \
|
||||||
|
stdlib_stackminframe.o \
|
||||||
|
stdlib_stackoverflow.o \
|
||||||
|
stdlib_stacksafezone.o
|
||||||
|
|
||||||
NET_LIB = \
|
NET_LIB = \
|
||||||
net.lib_rev.o \
|
net.lib_rev.o \
|
||||||
socket_accept.o \
|
socket_accept.o \
|
||||||
socket_bind.o \
|
socket_bind.o \
|
||||||
socket_check_daemon.o \
|
|
||||||
socket_connect.o \
|
socket_connect.o \
|
||||||
socket_gethostbyaddr.o \
|
socket_gethostbyaddr.o \
|
||||||
socket_gethostbyname.o \
|
socket_gethostbyname.o \
|
||||||
@@ -768,7 +724,6 @@ NET_LIB = \
|
|||||||
socket_ioctl.o \
|
socket_ioctl.o \
|
||||||
socket_isdaemon.o \
|
socket_isdaemon.o \
|
||||||
socket_listen.o \
|
socket_listen.o \
|
||||||
socket_obtain_daemon.o \
|
|
||||||
socket_recv.o \
|
socket_recv.o \
|
||||||
socket_recvfrom.o \
|
socket_recvfrom.o \
|
||||||
socket_recvmsg.o \
|
socket_recvmsg.o \
|
||||||
@@ -781,8 +736,6 @@ NET_LIB = \
|
|||||||
socket_socket.o \
|
socket_socket.o \
|
||||||
socket_hook_entry.o \
|
socket_hook_entry.o \
|
||||||
socket_hstrerror.o \
|
socket_hstrerror.o \
|
||||||
socket_get_h_errno.o \
|
|
||||||
socket_set_h_errno.o \
|
|
||||||
stat_umask.o \
|
stat_umask.o \
|
||||||
usergroup_crypt.o \
|
usergroup_crypt.o \
|
||||||
usergroup_data.o \
|
usergroup_data.o \
|
||||||
@@ -895,7 +848,7 @@ MEMDEBUG_LIB = \
|
|||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
LIBS_68K := $(LIBC_OBJS)/libc.a $(LIBUNIX_OBJS)/libunix.a \
|
LIBS_68K := $(LIBC_OBJS)/libc.a $(LIBSTACK_OBJS)/libstack.a $(LIBUNIX_OBJS)/libunix.a \
|
||||||
$(LIBNET_OBJS)/libnet.a $(LIBDEBUG_OBJS)/libdebug.a $(LIBAMIGA_OBJS)/libamiga.a \
|
$(LIBNET_OBJS)/libnet.a $(LIBDEBUG_OBJS)/libdebug.a $(LIBAMIGA_OBJS)/libamiga.a \
|
||||||
$(LIBM_OBJS)/libm.a
|
$(LIBM_OBJS)/libm.a
|
||||||
LIBS_020 := $(LIBM881_OBJS)/libm881.a $(LIBS_68K)
|
LIBS_020 := $(LIBM881_OBJS)/libm881.a $(LIBS_68K)
|
||||||
@@ -932,7 +885,7 @@ all: \
|
|||||||
clean:
|
clean:
|
||||||
-$(DELETE) $(TYPE) $(LIBS_020) $(STARTUPS) \
|
-$(DELETE) $(TYPE) $(LIBS_020) $(STARTUPS) \
|
||||||
$(LIBC_OBJS) $(LIBUNIX_OBJS) $(LIBM_OBJS) \
|
$(LIBC_OBJS) $(LIBUNIX_OBJS) $(LIBM_OBJS) \
|
||||||
$(LIBM881_OBJS) $(LIBNET_OBJS) $(LIBDEBUG_OBJS) \
|
$(LIBM881_OBJS) $(LIBSTACK_OBJS) $(LIBNET_OBJS) $(LIBDEBUG_OBJS) \
|
||||||
$(LIBAMIGA_OBJS)
|
$(LIBAMIGA_OBJS)
|
||||||
|
|
||||||
realclean:
|
realclean:
|
||||||
@@ -948,6 +901,7 @@ version:
|
|||||||
copy clone c.lib_rev.rev m.lib_rev.rev
|
copy clone c.lib_rev.rev m.lib_rev.rev
|
||||||
copy clone c.lib_rev.rev m881.lib_rev.rev
|
copy clone c.lib_rev.rev m881.lib_rev.rev
|
||||||
copy clone c.lib_rev.rev net.lib_rev.rev
|
copy clone c.lib_rev.rev net.lib_rev.rev
|
||||||
|
copy clone c.lib_rev.rev stack.lib_rev.rev
|
||||||
copy clone c.lib_rev.rev unix.lib_rev.rev
|
copy clone c.lib_rev.rev unix.lib_rev.rev
|
||||||
bumprev 1 amiga.lib
|
bumprev 1 amiga.lib
|
||||||
bumprev 1 c.lib
|
bumprev 1 c.lib
|
||||||
@@ -955,6 +909,7 @@ version:
|
|||||||
bumprev 1 m.lib
|
bumprev 1 m.lib
|
||||||
bumprev 1 m881.lib
|
bumprev 1 m881.lib
|
||||||
bumprev 1 net.lib
|
bumprev 1 net.lib
|
||||||
|
bumprev 1 stack.lib
|
||||||
bumprev 1 unix.lib
|
bumprev 1 unix.lib
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
@@ -1038,6 +993,8 @@ $(LIBC_OBJS)/stdlib_swapstack.o : stdlib_swapstack.c
|
|||||||
|
|
||||||
$(LIBC_OBJS)/stdlib_setjmp.o : stdlib_setjmp.c
|
$(LIBC_OBJS)/stdlib_setjmp.o : stdlib_setjmp.c
|
||||||
|
|
||||||
|
$(LIBSTACK_OBJS)/stdlib_setjmp.o : stdlib_setjmp.c
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
$(LIBC_OBJS)/c.lib_rev.o : c.lib_rev.c c.lib_rev.h
|
$(LIBC_OBJS)/c.lib_rev.o : c.lib_rev.c c.lib_rev.h
|
||||||
@@ -1048,6 +1005,8 @@ $(LIBM_OBJS)/m.lib_rev.o : m.lib_rev.c m.lib_rev.h
|
|||||||
|
|
||||||
$(LIBM881_OBJS)/m881.lib_rev.o : m881.lib_rev.c m881.lib_rev.h
|
$(LIBM881_OBJS)/m881.lib_rev.o : m881.lib_rev.c m881.lib_rev.h
|
||||||
|
|
||||||
|
$(LIBSTACK_OBJS)/stack.lib_rev.o : stack.lib_rev.c stack.lib_rev.h
|
||||||
|
|
||||||
$(LIBNET_OBJS)/net.lib_rev.o : net.lib_rev.c net.lib_rev.h
|
$(LIBNET_OBJS)/net.lib_rev.o : net.lib_rev.c net.lib_rev.h
|
||||||
|
|
||||||
$(LIBDEBUG_OBJS)/debug.lib_rev.o : debug.lib_rev.c debug.lib_rev.h
|
$(LIBDEBUG_OBJS)/debug.lib_rev.o : debug.lib_rev.c debug.lib_rev.h
|
||||||
@@ -1068,6 +1027,8 @@ $(LIBC_OBJS)/stdlib_calloc.o : stdlib_calloc.c stdlib_memory.h
|
|||||||
|
|
||||||
$(LIBC_OBJS)/stdlib_free.o : stdlib_free.c stdlib_memory.h
|
$(LIBC_OBJS)/stdlib_free.o : stdlib_free.c stdlib_memory.h
|
||||||
|
|
||||||
|
$(LIBC_OBJS)/stdlib_init_exit.o : stdlib_init_exit.c stdlib_memory.h
|
||||||
|
|
||||||
$(LIBC_OBJS)/stdlib_malloc.o : stdlib_malloc.c stdlib_memory.h
|
$(LIBC_OBJS)/stdlib_malloc.o : stdlib_malloc.c stdlib_memory.h
|
||||||
|
|
||||||
$(LIBC_OBJS)/stdlib_realloc.o : stdlib_realloc.c stdlib_memory.h
|
$(LIBC_OBJS)/stdlib_realloc.o : stdlib_realloc.c stdlib_memory.h
|
||||||
@@ -1187,6 +1148,16 @@ $(LIBM881_OBJS)/libm881.a : $(LIBM881_OBJS) $(foreach file,$(MATH_LIB_881),$(LIB
|
|||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
|
$(LIBSTACK_OBJS) :
|
||||||
|
$(MAKEDIR) $@
|
||||||
|
|
||||||
|
$(LIBSTACK_OBJS)/libstack.a : $(LIBSTACK_OBJS) $(foreach file,$(STACK_LIB),$(LIBSTACK_OBJS)/$(file))
|
||||||
|
-$(DELETE) $@
|
||||||
|
@$(AR) $@ $(foreach file,$(STACK_LIB),$(LIBSTACK_OBJS)/$(file))
|
||||||
|
$(RANLIB) $@
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
$(LIBNET_OBJS) :
|
$(LIBNET_OBJS) :
|
||||||
$(MAKEDIR) $@
|
$(MAKEDIR) $@
|
||||||
|
|
||||||
@@ -1250,8 +1221,7 @@ CONSTRUCTOR_FILES = \
|
|||||||
stdio_init_exit.c \
|
stdio_init_exit.c \
|
||||||
stdlib_alloca.c \
|
stdlib_alloca.c \
|
||||||
stdlib_arg.c \
|
stdlib_arg.c \
|
||||||
stdlib_malloc.c \
|
stdlib_init_exit.c \
|
||||||
stdlib_program_name.c \
|
|
||||||
stdlib_setenv.c \
|
stdlib_setenv.c \
|
||||||
stdlib_stackcheck.c \
|
stdlib_stackcheck.c \
|
||||||
stdlib_stackextension.c \
|
stdlib_stackextension.c \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# $Id: GNUmakefile.os4,v 1.93 2006-02-27 11:18:51 obarthel Exp $
|
# $Id: GNUmakefile.os4,v 1.64 2005-06-04 14:16:58 obarthel Exp $
|
||||||
#
|
#
|
||||||
# :ts=8
|
# :ts=8
|
||||||
#
|
#
|
||||||
@@ -7,50 +7,27 @@
|
|||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
.PHONY : all clean version cvs-tag all_libraries directories
|
# You may have to tweak this for the native OS4 compiler
|
||||||
.PHONY : large_data_libs
|
SDK_INCLUDE = $(V)/include
|
||||||
.PHONY : large_data_softfloat_libs
|
|
||||||
.PHONY : small_data_libs
|
|
||||||
.PHONY : baserel_libs
|
|
||||||
|
|
||||||
# You may have to change the following sets of macro definitions which will
|
|
||||||
# be used throughout the build makefile. These definitions cover the paths
|
|
||||||
# to look into for the operating system and networking header files, and
|
|
||||||
# the names and parameters passed to the program which actually do the
|
|
||||||
# compilation, library building and cleanup work.
|
|
||||||
#
|
|
||||||
# Note that for either set you still need the GNU make utility to build the
|
|
||||||
# library!
|
|
||||||
|
|
||||||
# These are for the cross compiler, with the operating system header files
|
|
||||||
# stored in "/V/include" and the network header files in a local directory
|
|
||||||
# called "netinclude".
|
|
||||||
SDK_INCLUDE = /V/include
|
|
||||||
NET_INCLUDE = netinclude
|
NET_INCLUDE = netinclude
|
||||||
|
|
||||||
|
# These are for the cross compiler
|
||||||
CC = ppc-amigaos-gcc
|
CC = ppc-amigaos-gcc
|
||||||
AR = ppc-amigaos-ar -q
|
AR = ppc-amigaos-ar -q
|
||||||
RANLIB = ppc-amigaos-ranlib
|
RANLIB = ppc-amigaos-ranlib
|
||||||
COPY = cp -a
|
COPY = cp -a
|
||||||
DELETE = rm -rf
|
DELETE = rm -rf
|
||||||
MAKEDIR = mkdir -p
|
MAKEDIR = mkdir
|
||||||
MAKE_OPTS =
|
|
||||||
LOG_COMMAND = 2>&1 | tee -a compiler.log
|
|
||||||
|
|
||||||
# The following are for the native OS4 compiler; note that the
|
# The following are for the native OS4 compiler
|
||||||
# LOG_COMMAND should not be enabled unless you have a shell
|
# CC = gcc
|
||||||
# installed which supports it.
|
# AR = ar -q
|
||||||
#SDK_INCLUDE = /SDK/Include/include_h
|
# RANLIB = ranlib
|
||||||
#NET_INCLUDE = /SDK/Include/netinclude
|
# COPY = copy
|
||||||
#CC = gcc
|
# DELETE = delete all quiet
|
||||||
#AR = ar -q
|
# MAKEDIR = makedir
|
||||||
#RANLIB = ranlib
|
|
||||||
#COPY = copy
|
|
||||||
#DELETE = delete all quiet
|
|
||||||
#MAKEDIR = makedir all force
|
|
||||||
#MAKE_OPTS = --jobs=1
|
|
||||||
#LOG_COMMAND = *>< | tee >>compiler.log
|
|
||||||
|
|
||||||
BUILD = $(MAKE_COMMAND) -f GNUmakefile.os4 $(MAKE_OPTS)
|
MAKE = $(MAKE_COMMAND) -f GNUmakefile.os4
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
@@ -61,7 +38,6 @@ LIBM_OBJS = libm_objs
|
|||||||
LIBNET_OBJS = libnet_objs
|
LIBNET_OBJS = libnet_objs
|
||||||
LIBDEBUG_OBJS = libdebug_objs
|
LIBDEBUG_OBJS = libdebug_objs
|
||||||
LIBAMIGA_OBJS = libamiga_objs
|
LIBAMIGA_OBJS = libamiga_objs
|
||||||
LIBPROFILE_OBJS = libprofile_objs
|
|
||||||
else
|
else
|
||||||
LIBC_OBJS = $(TYPE)/libc_objs
|
LIBC_OBJS = $(TYPE)/libc_objs
|
||||||
LIBUNIX_OBJS = $(TYPE)/libunix_objs
|
LIBUNIX_OBJS = $(TYPE)/libunix_objs
|
||||||
@@ -69,7 +45,6 @@ LIBM_OBJS = $(TYPE)/libm_objs
|
|||||||
LIBNET_OBJS = $(TYPE)/libnet_objs
|
LIBNET_OBJS = $(TYPE)/libnet_objs
|
||||||
LIBDEBUG_OBJS = $(TYPE)/libdebug_objs
|
LIBDEBUG_OBJS = $(TYPE)/libdebug_objs
|
||||||
LIBAMIGA_OBJS = $(TYPE)/libamiga_objs
|
LIBAMIGA_OBJS = $(TYPE)/libamiga_objs
|
||||||
LIBPROFILE_OBJS = $(TYPE)/libprofile_objs
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
@@ -77,65 +52,53 @@ endif
|
|||||||
# General build rules for all object files and the individual libraries
|
# General build rules for all object files and the individual libraries
|
||||||
%.o : %.c
|
%.o : %.c
|
||||||
@echo "Compiling $<"
|
@echo "Compiling $<"
|
||||||
@$(CC) -c $(CFLAGS) $< $(LOG_COMMAND)
|
@$(CC) -c $(CFLAGS) $<
|
||||||
|
|
||||||
$(LIBC_OBJS)/%.o : %.c
|
$(LIBC_OBJS)/%.o : %.c
|
||||||
@echo "Compiling $< [$(TYPE):c]"
|
@echo "Compiling $< [$(TYPE):c]"
|
||||||
@$(CC) -o $(LIBC_OBJS)/$*.o -c $(CFLAGS) $< $(LOG_COMMAND)
|
@$(CC) -o $(LIBC_OBJS)/$*.o -c $(CFLAGS) $<
|
||||||
|
|
||||||
$(LIBUNIX_OBJS)/%.o : %.c
|
$(LIBUNIX_OBJS)/%.o : %.c
|
||||||
@echo "Compiling $< [$(TYPE):unix]"
|
@echo "Compiling $< [$(TYPE):unix]"
|
||||||
@$(CC) -o $(LIBUNIX_OBJS)/$*.o -c $(CFLAGS) -DUNIX_PATH_SEMANTICS $< $(LOG_COMMAND)
|
@$(CC) -o $(LIBUNIX_OBJS)/$*.o -c $(CFLAGS) -DUNIX_PATH_SEMANTICS $<
|
||||||
|
|
||||||
$(LIBM_OBJS)/%.o : %.c
|
$(LIBM_OBJS)/%.o : %.c
|
||||||
@echo "Compiling $< [$(TYPE):m]"
|
@echo "Compiling $< [$(TYPE):m]"
|
||||||
@$(CC) -o $(LIBM_OBJS)/$*.o -c $(CFLAGS) $(FLOAT_TYPE) $< $(LOG_COMMAND)
|
@$(CC) -o $(LIBM_OBJS)/$*.o -c $(CFLAGS) $(FLOAT_TYPE) $<
|
||||||
|
|
||||||
$(LIBNET_OBJS)/%.o : %.c
|
$(LIBNET_OBJS)/%.o : %.c
|
||||||
@echo "Compiling $< [$(TYPE):net]"
|
@echo "Compiling $< [$(TYPE):net]"
|
||||||
@$(CC) -o $(LIBNET_OBJS)/$*.o -c $(CFLAGS) -I$(NET_INCLUDE) -DSOCKET_SUPPORT -DUSERGROUP_SUPPORT $< $(LOG_COMMAND)
|
@$(CC) -o $(LIBNET_OBJS)/$*.o -c $(CFLAGS) -I$(NET_INCLUDE) -DSOCKET_SUPPORT -DUSERGROUP_SUPPORT $<
|
||||||
|
|
||||||
$(LIBDEBUG_OBJS)/%.o : %.c
|
$(LIBDEBUG_OBJS)/%.o : %.c
|
||||||
@echo "Compiling $< [$(TYPE):debug]"
|
@echo "Compiling $< [$(TYPE):debug]"
|
||||||
@$(CC) -o $(LIBDEBUG_OBJS)/$*.o -c $(CFLAGS) $< $(LOG_COMMAND)
|
@$(CC) -o $(LIBDEBUG_OBJS)/$*.o -c $(CFLAGS) $<
|
||||||
|
|
||||||
$(LIBAMIGA_OBJS)/%.o : %.c
|
$(LIBAMIGA_OBJS)/%.o : %.c
|
||||||
@echo "Compiling $< [$(TYPE):amiga]"
|
@echo "Compiling $< [$(TYPE):amiga]"
|
||||||
@$(CC) -o $(LIBAMIGA_OBJS)/$*.o -c $(CFLAGS) $< $(LOG_COMMAND)
|
@$(CC) -o $(LIBAMIGA_OBJS)/$*.o -c $(CFLAGS) $<
|
||||||
|
|
||||||
$(LIBPROFILE_OBJS)/%.o : %.c
|
|
||||||
@echo "Compiling $< [$(TYPE):profile]"
|
|
||||||
@$(CC) -o $(LIBPROFILE_OBJS)/$*.o -c $(CFLAGS) $< $(LOG_COMMAND)
|
|
||||||
|
|
||||||
$(LIBPROFILE_OBJS)/%.o : %.S
|
|
||||||
@echo "Assembling $< [$(TYPE):profile]"
|
|
||||||
@$(CC) -o $(LIBPROFILE_OBJS)/$*.o -Wa,-mregnames -c $(CFLAGS) $< $(LOG_COMMAND)
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Build options and destination directory for the individual libraries
|
# Build options for the individual libraries
|
||||||
ifeq (small_data,$(TYPE))
|
ifeq (small_data,$(TYPE))
|
||||||
CODE_TYPE := -msdata=sysv -DSMALL_DATA
|
CODE_TYPE := -msdata=sysv -DSMALL_DATA
|
||||||
FLOAT_TYPE := -DPPC_FLOATING_POINT_SUPPORT
|
FLOAT_TYPE := -DPPC_FLOATING_POINT_SUPPORT
|
||||||
DEST_DIR := lib/small-data
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (large_data,$(TYPE))
|
ifeq (large_data,$(TYPE))
|
||||||
CODE_TYPE := -msdata=data
|
CODE_TYPE := -msdata=data
|
||||||
FLOAT_TYPE := -DPPC_FLOATING_POINT_SUPPORT
|
FLOAT_TYPE := -DPPC_FLOATING_POINT_SUPPORT
|
||||||
DEST_DIR := lib
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (large_data_softfloat,$(TYPE))
|
ifeq (large_data_softfloat,$(TYPE))
|
||||||
CODE_TYPE := -msdata=data -msoft-float
|
CODE_TYPE := -msdata=data -msoft-float
|
||||||
FLOAT_TYPE :=
|
FLOAT_TYPE :=
|
||||||
DEST_DIR := lib/soft-float
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (baserel,$(TYPE))
|
ifeq (baserel,$(TYPE))
|
||||||
CODE_TYPE := -mbaserel -DBASEREL_DATA
|
CODE_TYPE := -mbaserel -DBASEREL_DATA
|
||||||
FLOAT_TYPE := -DPPC_FLOATING_POINT_SUPPORT
|
FLOAT_TYPE := -DPPC_FLOATING_POINT_SUPPORT
|
||||||
DEST_DIR := lib/baserel
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
@@ -150,7 +113,7 @@ INCLUDES = -Iinclude -I. -I$(SDK_INCLUDE)
|
|||||||
#OPTIONS = -D__THREAD_SAFE -DNDEBUG -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames -fno-common -std=gnu99
|
#OPTIONS = -D__THREAD_SAFE -DNDEBUG -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames -fno-common -std=gnu99
|
||||||
OPTIONS = -DNDEBUG -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames -fno-common -std=gnu99
|
OPTIONS = -DNDEBUG -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames -fno-common -std=gnu99
|
||||||
OPTIMIZE = -O3
|
OPTIMIZE = -O3
|
||||||
DEBUG = -ggdb
|
#DEBUG = -ggdb
|
||||||
|
|
||||||
CFLAGS = $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(OPTIONS) $(CODE_TYPE) $(INCLUDES)
|
CFLAGS = $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(OPTIONS) $(CODE_TYPE) $(INCLUDES)
|
||||||
|
|
||||||
@@ -204,7 +167,6 @@ C_LIB = \
|
|||||||
mount_convertinfo.o \
|
mount_convertinfo.o \
|
||||||
mount_fstatfs.o \
|
mount_fstatfs.o \
|
||||||
mount_statfs.o \
|
mount_statfs.o \
|
||||||
profile_profil.o \
|
|
||||||
signal_checkabort.o \
|
signal_checkabort.o \
|
||||||
signal_data.o \
|
signal_data.o \
|
||||||
signal_kill.o \
|
signal_kill.o \
|
||||||
@@ -253,10 +215,8 @@ C_LIB = \
|
|||||||
stdio_freopen.o \
|
stdio_freopen.o \
|
||||||
stdio_fscanf.o \
|
stdio_fscanf.o \
|
||||||
stdio_fseek.o \
|
stdio_fseek.o \
|
||||||
stdio_fseeko.o \
|
|
||||||
stdio_fsetpos.o \
|
stdio_fsetpos.o \
|
||||||
stdio_ftell.o \
|
stdio_ftell.o \
|
||||||
stdio_ftello.o \
|
|
||||||
stdio_ftrylockfile.o \
|
stdio_ftrylockfile.o \
|
||||||
stdio_funlockfile.o \
|
stdio_funlockfile.o \
|
||||||
stdio_fwrite.o \
|
stdio_fwrite.o \
|
||||||
@@ -317,8 +277,6 @@ C_LIB = \
|
|||||||
stdlib_abort.o \
|
stdlib_abort.o \
|
||||||
stdlib_abs.o \
|
stdlib_abs.o \
|
||||||
stdlib_alloca.o \
|
stdlib_alloca.o \
|
||||||
stdlib_alloca_cleanup.o \
|
|
||||||
stdlib_alloca_trap.o \
|
|
||||||
stdlib_assertion_failure.o \
|
stdlib_assertion_failure.o \
|
||||||
stdlib_atexit.o \
|
stdlib_atexit.o \
|
||||||
stdlib_atoi.o \
|
stdlib_atoi.o \
|
||||||
@@ -342,19 +300,16 @@ C_LIB = \
|
|||||||
stdlib_free.o \
|
stdlib_free.o \
|
||||||
stdlib_getdefstacksize.o \
|
stdlib_getdefstacksize.o \
|
||||||
stdlib_getenv.o \
|
stdlib_getenv.o \
|
||||||
stdlib_getmemstats.o \
|
|
||||||
stdlib_getsp.o \
|
stdlib_getsp.o \
|
||||||
stdlib_get_errno.o \
|
stdlib_get_errno.o \
|
||||||
|
stdlib_init_exit.o \
|
||||||
stdlib_isresident.o \
|
stdlib_isresident.o \
|
||||||
stdlib_labs.o \
|
stdlib_labs.o \
|
||||||
stdlib_llabs.o \
|
stdlib_llabs.o \
|
||||||
stdlib_ldiv.o \
|
stdlib_ldiv.o \
|
||||||
stdlib_lldiv.o \
|
stdlib_lldiv.o \
|
||||||
stdlib_lib_main.o \
|
|
||||||
stdlib_lib_startup.o \
|
|
||||||
stdlib_machine_test.o \
|
stdlib_machine_test.o \
|
||||||
stdlib_main.o \
|
stdlib_main.o \
|
||||||
stdlib_main_stub.o \
|
|
||||||
stdlib_malloc.o \
|
stdlib_malloc.o \
|
||||||
stdlib_math.o \
|
stdlib_math.o \
|
||||||
stdlib_mkdtemp.o \
|
stdlib_mkdtemp.o \
|
||||||
@@ -367,14 +322,12 @@ C_LIB = \
|
|||||||
stdlib_oslibversion.o \
|
stdlib_oslibversion.o \
|
||||||
stdlib_priority.o \
|
stdlib_priority.o \
|
||||||
stdlib_process_name.o \
|
stdlib_process_name.o \
|
||||||
stdlib_program_name.o \
|
|
||||||
stdlib_putenv.o \
|
stdlib_putenv.o \
|
||||||
stdlib_qsort.o \
|
stdlib_qsort.o \
|
||||||
stdlib_rand.o \
|
stdlib_rand.o \
|
||||||
stdlib_rand_r.o \
|
stdlib_rand_r.o \
|
||||||
stdlib_realloc.o \
|
stdlib_realloc.o \
|
||||||
stdlib_red_black.o \
|
stdlib_red_black.o \
|
||||||
stdlib_resetmemstats.o \
|
|
||||||
stdlib_semaphore.o \
|
stdlib_semaphore.o \
|
||||||
stdlib_setenv.o \
|
stdlib_setenv.o \
|
||||||
stdlib_setjmp.o \
|
stdlib_setjmp.o \
|
||||||
@@ -405,6 +358,7 @@ C_LIB = \
|
|||||||
stdlib_udivsi4.o \
|
stdlib_udivsi4.o \
|
||||||
stdlib_umodsi3.o \
|
stdlib_umodsi3.o \
|
||||||
stdlib_unsetenv.o \
|
stdlib_unsetenv.o \
|
||||||
|
stdlib_wildcard_expand.o \
|
||||||
strings_ffs.o \
|
strings_ffs.o \
|
||||||
strings_strcasecmp.o \
|
strings_strcasecmp.o \
|
||||||
strings_strncasecmp.o \
|
strings_strncasecmp.o \
|
||||||
@@ -481,7 +435,6 @@ C_LIB = \
|
|||||||
unistd_isatty.o \
|
unistd_isatty.o \
|
||||||
unistd_lchown.o \
|
unistd_lchown.o \
|
||||||
unistd_link.o \
|
unistd_link.o \
|
||||||
unistd_lockf.o \
|
|
||||||
unistd_readlink.o \
|
unistd_readlink.o \
|
||||||
unistd_realpath.o \
|
unistd_realpath.o \
|
||||||
unistd_sleep.o \
|
unistd_sleep.o \
|
||||||
@@ -506,7 +459,6 @@ UNIX_LIB = \
|
|||||||
fcntl_fcntl.o \
|
fcntl_fcntl.o \
|
||||||
fcntl_open.o \
|
fcntl_open.o \
|
||||||
fcntl_get_default_file.o \
|
fcntl_get_default_file.o \
|
||||||
getopt_getopt_long.o \
|
|
||||||
mount_convertinfo.o \
|
mount_convertinfo.o \
|
||||||
mount_statfs.o \
|
mount_statfs.o \
|
||||||
stat_chmod.o \
|
stat_chmod.o \
|
||||||
@@ -527,19 +479,9 @@ UNIX_LIB = \
|
|||||||
stdio_record_locking.o \
|
stdio_record_locking.o \
|
||||||
stdio_remove.o \
|
stdio_remove.o \
|
||||||
stdio_rename.o \
|
stdio_rename.o \
|
||||||
stdlib_alloca.o \
|
|
||||||
stdlib_alloca_cleanup.o \
|
|
||||||
stdlib_alloca_trap.o \
|
|
||||||
stdlib_arg.o \
|
|
||||||
stdlib_getmemstats.o \
|
|
||||||
stdlib_main.o \
|
|
||||||
stdlib_main_stub.o \
|
|
||||||
stdlib_mkdtemp.o \
|
stdlib_mkdtemp.o \
|
||||||
stdlib_mkstemp.o \
|
stdlib_mkstemp.o \
|
||||||
stdlib_mktemp.o \
|
stdlib_mktemp.o \
|
||||||
stdlib_malloc.o \
|
|
||||||
stdlib_realloc.o \
|
|
||||||
stdlib_resetmemstats.o \
|
|
||||||
stdlib_system.o \
|
stdlib_system.o \
|
||||||
termios_cfgetispeed.o \
|
termios_cfgetispeed.o \
|
||||||
termios_cfgetospeed.o \
|
termios_cfgetospeed.o \
|
||||||
@@ -563,13 +505,11 @@ UNIX_LIB = \
|
|||||||
unistd_getcwd.o \
|
unistd_getcwd.o \
|
||||||
unistd_lchown.o \
|
unistd_lchown.o \
|
||||||
unistd_link.o \
|
unistd_link.o \
|
||||||
unistd_lockf.o \
|
|
||||||
unistd_readlink.o \
|
unistd_readlink.o \
|
||||||
unistd_realpath.o \
|
unistd_realpath.o \
|
||||||
unistd_restorepathname.o \
|
unistd_restorepathname.o \
|
||||||
unistd_setcurrentpath.o \
|
unistd_setcurrentpath.o \
|
||||||
unistd_strip_double_slash.o \
|
unistd_strip_double_slash.o \
|
||||||
unistd_symlink.o \
|
|
||||||
unistd_translatea2u.o \
|
unistd_translatea2u.o \
|
||||||
unistd_translaterel.o \
|
unistd_translaterel.o \
|
||||||
unistd_translateu2a.o \
|
unistd_translateu2a.o \
|
||||||
@@ -595,17 +535,6 @@ MATH_LIB = \
|
|||||||
complex_creal.o \
|
complex_creal.o \
|
||||||
complex_crealf.o \
|
complex_crealf.o \
|
||||||
complex_creall.o \
|
complex_creall.o \
|
||||||
fenv_feclearexcept.o \
|
|
||||||
fenv_fegetenv.o \
|
|
||||||
fenv_fegetexceptflag.o \
|
|
||||||
fenv_fegetround.o \
|
|
||||||
fenv_feholdexcept.o \
|
|
||||||
fenv_feraiseexcept.o \
|
|
||||||
fenv_fesetenv.o \
|
|
||||||
fenv_fesetexceptflag.o \
|
|
||||||
fenv_fetestexcept.o \
|
|
||||||
fenv_fetestround.o \
|
|
||||||
fenv_feupdateenv.o \
|
|
||||||
math_acos.o \
|
math_acos.o \
|
||||||
math_acosf.o \
|
math_acosf.o \
|
||||||
math_acosh.o \
|
math_acosh.o \
|
||||||
@@ -618,8 +547,6 @@ MATH_LIB = \
|
|||||||
math_atan2.o \
|
math_atan2.o \
|
||||||
math_atan2f.o \
|
math_atan2f.o \
|
||||||
math_atanf.o \
|
math_atanf.o \
|
||||||
math_atanh.o \
|
|
||||||
math_atanhf.o \
|
|
||||||
math_cbrt.o \
|
math_cbrt.o \
|
||||||
math_cbrtf.o \
|
math_cbrtf.o \
|
||||||
math_ceil.o \
|
math_ceil.o \
|
||||||
@@ -635,8 +562,6 @@ MATH_LIB = \
|
|||||||
math_erfcf.o \
|
math_erfcf.o \
|
||||||
math_erff.o \
|
math_erff.o \
|
||||||
math_exp.o \
|
math_exp.o \
|
||||||
math_exp2.o \
|
|
||||||
math_exp2f.o \
|
|
||||||
math_expf.o \
|
math_expf.o \
|
||||||
math_expm1.o \
|
math_expm1.o \
|
||||||
math_expm1f.o \
|
math_expm1f.o \
|
||||||
@@ -644,8 +569,6 @@ MATH_LIB = \
|
|||||||
math_fabsf.o \
|
math_fabsf.o \
|
||||||
math_floor.o \
|
math_floor.o \
|
||||||
math_floorf.o \
|
math_floorf.o \
|
||||||
math_fma.o \
|
|
||||||
math_fmaf.o \
|
|
||||||
math_fmod.o \
|
math_fmod.o \
|
||||||
math_fmodf.o \
|
math_fmodf.o \
|
||||||
math_fpclassify.o \
|
math_fpclassify.o \
|
||||||
@@ -680,32 +603,22 @@ MATH_LIB = \
|
|||||||
math_log10f.o \
|
math_log10f.o \
|
||||||
math_log1p.o \
|
math_log1p.o \
|
||||||
math_log1pf.o \
|
math_log1pf.o \
|
||||||
math_log2.o \
|
|
||||||
math_log2f.o \
|
|
||||||
math_logb.o \
|
math_logb.o \
|
||||||
math_logbf.o \
|
math_logbf.o \
|
||||||
math_logf.o \
|
math_logf.o \
|
||||||
math_lround.o \
|
|
||||||
math_lroundf.o \
|
|
||||||
math_modf.o \
|
math_modf.o \
|
||||||
math_modff.o \
|
math_modff.o \
|
||||||
math_nan.o \
|
math_nan.o \
|
||||||
math_nanf.o \
|
math_nanf.o \
|
||||||
math_nearbyint.o \
|
|
||||||
math_nearbyintf.o \
|
|
||||||
math_nextafter.o \
|
math_nextafter.o \
|
||||||
math_nextafterf.o \
|
math_nextafterf.o \
|
||||||
math_pow.o \
|
math_pow.o \
|
||||||
math_powf.o \
|
math_powf.o \
|
||||||
math_remainder.o \
|
math_remainder.o \
|
||||||
math_remainderf.o \
|
math_remainderf.o \
|
||||||
math_remquo.o \
|
|
||||||
math_remquof.o \
|
|
||||||
math_rem_pio2f.o \
|
math_rem_pio2f.o \
|
||||||
math_rint.o \
|
math_rint.o \
|
||||||
math_rintf.o \
|
math_rintf.o \
|
||||||
math_round.o \
|
|
||||||
math_roundf.o \
|
|
||||||
math_scalbn.o \
|
math_scalbn.o \
|
||||||
math_scalbnf.o \
|
math_scalbnf.o \
|
||||||
math_signbit.o \
|
math_signbit.o \
|
||||||
@@ -719,10 +632,6 @@ MATH_LIB = \
|
|||||||
math_tanf.o \
|
math_tanf.o \
|
||||||
math_tanh.o \
|
math_tanh.o \
|
||||||
math_tanhf.o \
|
math_tanhf.o \
|
||||||
math_tgamma.o \
|
|
||||||
math_tgammaf.o \
|
|
||||||
math_trunc.o \
|
|
||||||
math_truncf.o \
|
|
||||||
stdio_asprintf.o \
|
stdio_asprintf.o \
|
||||||
stdio_flush.o \
|
stdio_flush.o \
|
||||||
stdio_flush_all_files.o \
|
stdio_flush_all_files.o \
|
||||||
@@ -751,7 +660,6 @@ NET_LIB = \
|
|||||||
net.lib_rev.o \
|
net.lib_rev.o \
|
||||||
socket_accept.o \
|
socket_accept.o \
|
||||||
socket_bind.o \
|
socket_bind.o \
|
||||||
socket_check_daemon.o \
|
|
||||||
socket_connect.o \
|
socket_connect.o \
|
||||||
socket_gethostbyaddr.o \
|
socket_gethostbyaddr.o \
|
||||||
socket_gethostbyname.o \
|
socket_gethostbyname.o \
|
||||||
@@ -778,7 +686,6 @@ NET_LIB = \
|
|||||||
socket_ioctl.o \
|
socket_ioctl.o \
|
||||||
socket_isdaemon.o \
|
socket_isdaemon.o \
|
||||||
socket_listen.o \
|
socket_listen.o \
|
||||||
socket_obtain_daemon.o \
|
|
||||||
socket_recv.o \
|
socket_recv.o \
|
||||||
socket_recvfrom.o \
|
socket_recvfrom.o \
|
||||||
socket_recvmsg.o \
|
socket_recvmsg.o \
|
||||||
@@ -791,8 +698,6 @@ NET_LIB = \
|
|||||||
socket_socket.o \
|
socket_socket.o \
|
||||||
socket_hook_entry.o \
|
socket_hook_entry.o \
|
||||||
socket_hstrerror.o \
|
socket_hstrerror.o \
|
||||||
socket_get_h_errno.o \
|
|
||||||
socket_set_h_errno.o \
|
|
||||||
stat_umask.o \
|
stat_umask.o \
|
||||||
usergroup_crypt.o \
|
usergroup_crypt.o \
|
||||||
usergroup_data.o \
|
usergroup_data.o \
|
||||||
@@ -902,11 +807,6 @@ MEMDEBUG_LIB = \
|
|||||||
string_strdup_debug.o \
|
string_strdup_debug.o \
|
||||||
unistd_getcwd_debug.o
|
unistd_getcwd_debug.o
|
||||||
|
|
||||||
PROFILE_LIB = \
|
|
||||||
profile__mcount.o \
|
|
||||||
profile_gmon.o \
|
|
||||||
profile_mcount.o
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# The libraries to be built, prefixed by the respective path names
|
# The libraries to be built, prefixed by the respective path names
|
||||||
@@ -916,8 +816,7 @@ LIBS := \
|
|||||||
$(LIBDEBUG_OBJS)/libdebug.a \
|
$(LIBDEBUG_OBJS)/libdebug.a \
|
||||||
$(LIBAMIGA_OBJS)/libamiga.a \
|
$(LIBAMIGA_OBJS)/libamiga.a \
|
||||||
$(LIBM_OBJS)/libm.a \
|
$(LIBM_OBJS)/libm.a \
|
||||||
$(LIBNET_OBJS)/libnet.a \
|
$(LIBNET_OBJS)/libnet.a
|
||||||
$(LIBPROFILE_OBJS)/libprofile.a
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
@@ -927,47 +826,47 @@ STARTUPS := crt0.o crtbegin.o crtend.o
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# This is the first target: it creates the necessary directories, then proceeds
|
# This is the first target: it creates the necessary directories, then proceeds
|
||||||
# to build the startup object files and libraries
|
# to build the startup object files and finally the libraries
|
||||||
all: \
|
all: \
|
||||||
directories \
|
lib \
|
||||||
large_data_libs \
|
lib/soft-float \
|
||||||
large_data_softfloat_libs \
|
lib/small-data \
|
||||||
small_data_libs \
|
lib/baserel \
|
||||||
baserel_libs
|
small_data \
|
||||||
|
large_data \
|
||||||
##############################################################################
|
large_data_softfloat \
|
||||||
|
baserel \
|
||||||
# Create all the directories
|
lib/crt0.o \
|
||||||
directories:
|
lib/crtbegin.o \
|
||||||
@-$(MAKEDIR) lib
|
lib/crtend.o \
|
||||||
@-$(MAKEDIR) lib/small-data
|
lib/libm.a \
|
||||||
@-$(MAKEDIR) lib/soft-float
|
lib/small-data/crt0.o \
|
||||||
@-$(MAKEDIR) lib/baserel
|
lib/small-data/crtbegin.o \
|
||||||
@-$(MAKEDIR) small_data
|
lib/small-data/crtend.o \
|
||||||
@-$(MAKEDIR) large_data
|
lib/small-data/libm.a \
|
||||||
@-$(MAKEDIR) large_data_softfloat
|
lib/soft-float/libm.a \
|
||||||
@-$(MAKEDIR) baserel
|
lib/baserel/crt0.o \
|
||||||
|
lib/baserel/crtbegin.o \
|
||||||
|
lib/baserel/crtend.o \
|
||||||
|
lib/baserel/libm.a
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Delete all object files and libraries
|
# Delete all object files and libraries
|
||||||
clean:
|
clean:
|
||||||
-$(DELETE) $(STARTUPS) lib \
|
-$(DELETE) $(STARTUPS) lib small_data large_data large_data_softfloat baserel
|
||||||
small_data large_data large_data_softfloat baserel \
|
|
||||||
compiler.log
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Update the version numbers bound to the individual libraries
|
# Update the version numbers bound to the individual libraries
|
||||||
version:
|
version:
|
||||||
$(COPY) c.lib_rev.rev amiga.lib_rev.rev
|
cp c.lib_rev.rev amiga.lib_rev.rev
|
||||||
$(COPY) c.lib_rev.rev debug.lib_rev.rev
|
cp c.lib_rev.rev debug.lib_rev.rev
|
||||||
$(COPY) c.lib_rev.rev m.lib_rev.rev
|
cp c.lib_rev.rev m.lib_rev.rev
|
||||||
$(COPY) c.lib_rev.rev m881.lib_rev.rev
|
cp c.lib_rev.rev m881.lib_rev.rev
|
||||||
$(COPY) c.lib_rev.rev net.lib_rev.rev
|
cp c.lib_rev.rev net.lib_rev.rev
|
||||||
$(COPY) c.lib_rev.rev stack.lib_rev.rev
|
cp c.lib_rev.rev stack.lib_rev.rev
|
||||||
$(COPY) c.lib_rev.rev unix.lib_rev.rev
|
cp c.lib_rev.rev unix.lib_rev.rev
|
||||||
$(COPY) c.lib_rev.rev profile.lib_rev.rev
|
|
||||||
bumprev 1 amiga.lib
|
bumprev 1 amiga.lib
|
||||||
bumprev 1 c.lib
|
bumprev 1 c.lib
|
||||||
bumprev 1 debug.lib
|
bumprev 1 debug.lib
|
||||||
@@ -976,7 +875,6 @@ version:
|
|||||||
bumprev 1 net.lib
|
bumprev 1 net.lib
|
||||||
bumprev 1 stack.lib
|
bumprev 1 stack.lib
|
||||||
bumprev 1 unix.lib
|
bumprev 1 unix.lib
|
||||||
bumprev 1 profile.lib
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
@@ -989,67 +887,107 @@ cvs-tag:
|
|||||||
# This target first creates a directory to store the object files in, then
|
# This target first creates a directory to store the object files in, then
|
||||||
# proceeds to build the libraries from the code. It is invoked by the
|
# proceeds to build the libraries from the code. It is invoked by the
|
||||||
# individual library build targets below.
|
# individual library build targets below.
|
||||||
all_libraries: $(LIBS)
|
all_libraries: $(TYPE) $(LIBS)
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Dependencies for large data variant with hardware floating point code
|
# These create the required subdirectories to store object files and
|
||||||
# support.
|
# libraries in
|
||||||
large_data_libs: $(addprefix lib/,$(STARTUPS))
|
lib:
|
||||||
@-$(MAKEDIR) $(addprefix large_data/,$(dir $(LIBS)))
|
-$(MAKEDIR) $@
|
||||||
$(BUILD) TYPE=large_data all_libraries
|
|
||||||
|
lib/small-data: lib
|
||||||
|
-$(MAKEDIR) $@
|
||||||
|
|
||||||
|
lib/soft-float: lib
|
||||||
|
-$(MAKEDIR) $@
|
||||||
|
|
||||||
|
lib/baserel: lib
|
||||||
|
-$(MAKEDIR) $@
|
||||||
|
|
||||||
|
small_data:
|
||||||
|
-$(MAKEDIR) $@
|
||||||
|
|
||||||
|
large_data:
|
||||||
|
-$(MAKEDIR) $@
|
||||||
|
|
||||||
|
large_data_softfloat:
|
||||||
|
-$(MAKEDIR) $@
|
||||||
|
|
||||||
|
baserel:
|
||||||
|
-$(MAKEDIR) $@
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Dependencies for large data variant with software floating point code
|
# Dependencies for libm.a (large data variant with hardware floating point code
|
||||||
# support.
|
# support): this actually ends up building all the libraries rather than just
|
||||||
large_data_softfloat_libs: $(addprefix lib/,$(STARTUPS))
|
# libm.a
|
||||||
@-$(MAKEDIR) $(addprefix large_data_softfloat/,$(dir $(LIBS)))
|
lib/libm.a: large_data large_data/libm.a
|
||||||
$(BUILD) TYPE=large_data_softfloat all_libraries
|
|
||||||
|
large_data/libm.a:
|
||||||
|
$(MAKE) TYPE=large_data all_libraries
|
||||||
|
$(COPY) $(foreach file,$(LIBS),large_data/$(file)) lib
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Dependencies for small data variant.
|
# Dependencies for libm.a (large data variant with software floating point code
|
||||||
small_data_libs: $(addprefix lib/small-data/,$(STARTUPS))
|
# support): this actually ends up building all the libraries rather than just
|
||||||
@-$(MAKEDIR) $(addprefix small_data/,$(dir $(LIBS)))
|
# libm.a
|
||||||
$(BUILD) TYPE=small_data all_libraries
|
lib/soft-float/libm.a: large_data_softfloat large_data_softfloat/libm.a
|
||||||
|
|
||||||
|
large_data_softfloat/libm.a:
|
||||||
|
$(MAKE) TYPE=large_data_softfloat all_libraries
|
||||||
|
$(COPY) $(foreach file,$(LIBS),large_data_softfloat/$(file)) lib/soft-float
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Dependencies for baserel variant.
|
# Dependencies for libm.a (small data variant): this actually ends up building all
|
||||||
baserel_libs: $(addprefix lib/baserel/,$(STARTUPS))
|
# the libraries rather than just libm.a
|
||||||
@-$(MAKEDIR) $(addprefix baserel/,$(dir $(LIBS)))
|
lib/small-data/libm.a: small_data small_data/libm.a
|
||||||
$(BUILD) TYPE=baserel all_libraries
|
|
||||||
|
small_data/libm.a:
|
||||||
|
$(MAKE) TYPE=small_data all_libraries
|
||||||
|
$(COPY) $(foreach file,$(LIBS),small_data/$(file)) lib/small-data
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
# Dependencies for libm.a (baserel variant)
|
||||||
|
|
||||||
|
lib/baserel/libm.a: baserel baserel/libm.a
|
||||||
|
|
||||||
|
baserel/libm.a:
|
||||||
|
$(MAKE) TYPE=baserel all_libraries
|
||||||
|
$(COPY) $(foreach file,$(LIBS),baserel/$(file)) lib/baserel
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Rules to build and move the startup code
|
# Rules to build and move the startup code
|
||||||
lib/crt0.o : crt0.o
|
lib/crt0.o : lib crt0.o
|
||||||
$(COPY) $< $(dir $@)
|
$(COPY) crt0.o lib
|
||||||
|
|
||||||
lib/crtbegin.o : crtbegin.o
|
lib/crtbegin.o : lib crtbegin.o
|
||||||
$(COPY) $< $(dir $@)
|
$(COPY) crtbegin.o lib
|
||||||
|
|
||||||
lib/crtend.o : crtend.o
|
lib/crtend.o : lib crtend.o
|
||||||
$(COPY) $< $(dir $@)
|
$(COPY) crtend.o lib
|
||||||
|
|
||||||
lib/small-data/crt0.o : small_data/crt0.o
|
lib/small-data/crt0.o : lib small_data/crt0.o
|
||||||
$(COPY) $< $(dir $@)
|
$(COPY) small_data/crt0.o lib/small-data
|
||||||
|
|
||||||
lib/small-data/crtbegin.o : small_data/crtbegin.o
|
lib/small-data/crtbegin.o : lib small_data/crtbegin.o
|
||||||
$(COPY) $< $(dir $@)
|
$(COPY) small_data/crtbegin.o lib/small-data
|
||||||
|
|
||||||
lib/small-data/crtend.o : small_data/crtend.o
|
lib/small-data/crtend.o : lib small_data/crtend.o
|
||||||
$(COPY) $< $(dir $@)
|
$(COPY) small_data/crtend.o lib/small-data
|
||||||
|
|
||||||
lib/baserel/crt0.o : baserel/crt0.o
|
lib/baserel/crt0.o : lib baserel/crt0.o
|
||||||
$(COPY) $< $(dir $@)
|
$(COPY) baserel/crt0.o lib/baserel
|
||||||
|
|
||||||
lib/baserel/crtbegin.o : baserel/crtbegin.o
|
lib/baserel/crtbegin.o : lib baserel/crtbegin.o
|
||||||
$(COPY) $< $(dir $@)
|
$(COPY) baserel/crtbegin.o lib/baserel
|
||||||
|
|
||||||
lib/baserel/crtend.o : baserel/crtend.o
|
lib/baserel/crtend.o : lib baserel/crtend.o
|
||||||
$(COPY) $< $(dir $@)
|
$(COPY) baserel/crtend.o lib/baserel
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
@@ -1077,8 +1015,6 @@ $(LIBDEBUG_OBJS)/debug.lib_rev.o : debug.lib_rev.c debug.lib_rev.h
|
|||||||
|
|
||||||
$(LIBAMIGA_OBJS)/amiga.lib_rev.o : amiga.lib_rev.c amiga.lib_rev.h
|
$(LIBAMIGA_OBJS)/amiga.lib_rev.o : amiga.lib_rev.c amiga.lib_rev.h
|
||||||
|
|
||||||
$(LIBPROFILE_OBJS)/profile.lib_rev.o : profile.lib_rev.c profile.lib_rev.h
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Build rules for the debug version of the library which has special
|
# Build rules for the debug version of the library which has special
|
||||||
@@ -1090,6 +1026,8 @@ $(LIBC_OBJS)/stdlib_calloc.o : stdlib_calloc.c stdlib_memory.h
|
|||||||
|
|
||||||
$(LIBC_OBJS)/stdlib_free.o : stdlib_free.c stdlib_memory.h
|
$(LIBC_OBJS)/stdlib_free.o : stdlib_free.c stdlib_memory.h
|
||||||
|
|
||||||
|
$(LIBC_OBJS)/stdlib_init_exit.o : stdlib_init_exit.c stdlib_memory.h
|
||||||
|
|
||||||
$(LIBC_OBJS)/stdlib_malloc.o : stdlib_malloc.c stdlib_memory.h
|
$(LIBC_OBJS)/stdlib_malloc.o : stdlib_malloc.c stdlib_memory.h
|
||||||
|
|
||||||
$(LIBC_OBJS)/stdlib_realloc.o : stdlib_realloc.c stdlib_memory.h
|
$(LIBC_OBJS)/stdlib_realloc.o : stdlib_realloc.c stdlib_memory.h
|
||||||
@@ -1102,138 +1040,142 @@ $(LIBC_OBJS)/stdlib_red_black.o : stdlib_red_black.c stdlib_memory.h
|
|||||||
# or at least those which use memory allocation functionality.
|
# or at least those which use memory allocation functionality.
|
||||||
$(LIBC_OBJS)/stdlib_alloca_debug.o : stdlib_alloca.c
|
$(LIBC_OBJS)/stdlib_alloca_debug.o : stdlib_alloca.c
|
||||||
@echo "Compiling $< [$(TYPE):c debug]"
|
@echo "Compiling $< [$(TYPE):c debug]"
|
||||||
@$(CC) -o $(LIBC_OBJS)/stdlib_alloca_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdlib_alloca.c $(LOG_COMMAND)
|
@$(CC) -o $(LIBC_OBJS)/stdlib_alloca_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdlib_alloca.c
|
||||||
|
|
||||||
$(LIBC_OBJS)/stdlib_calloc_debug.o : stdlib_calloc.c
|
$(LIBC_OBJS)/stdlib_calloc_debug.o : stdlib_calloc.c
|
||||||
@echo "Compiling $< [$(TYPE):c debug]"
|
@echo "Compiling $< [$(TYPE):c debug]"
|
||||||
@$(CC) -o $(LIBC_OBJS)/stdlib_calloc_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdlib_calloc.c $(LOG_COMMAND)
|
@$(CC) -o $(LIBC_OBJS)/stdlib_calloc_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdlib_calloc.c
|
||||||
|
|
||||||
$(LIBC_OBJS)/stdlib_free_debug.o : stdlib_free.c
|
$(LIBC_OBJS)/stdlib_free_debug.o : stdlib_free.c
|
||||||
@echo "Compiling $< [$(TYPE):c debug]"
|
@echo "Compiling $< [$(TYPE):c debug]"
|
||||||
@$(CC) -o $(LIBC_OBJS)/stdlib_free_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdlib_free.c $(LOG_COMMAND)
|
@$(CC) -o $(LIBC_OBJS)/stdlib_free_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdlib_free.c
|
||||||
|
|
||||||
$(LIBC_OBJS)/stdlib_malloc_debug.o : stdlib_malloc.c
|
$(LIBC_OBJS)/stdlib_malloc_debug.o : stdlib_malloc.c
|
||||||
@echo "Compiling $< [$(TYPE):c debug]"
|
@echo "Compiling $< [$(TYPE):c debug]"
|
||||||
@$(CC) -o $(LIBC_OBJS)/stdlib_malloc_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdlib_malloc.c $(LOG_COMMAND)
|
@$(CC) -o $(LIBC_OBJS)/stdlib_malloc_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdlib_malloc.c
|
||||||
|
|
||||||
$(LIBC_OBJS)/stdlib_realloc_debug.o : stdlib_realloc.c
|
$(LIBC_OBJS)/stdlib_realloc_debug.o : stdlib_realloc.c
|
||||||
@echo "Compiling $< [$(TYPE):c debug]"
|
@echo "Compiling $< [$(TYPE):c debug]"
|
||||||
@$(CC) -o $(LIBC_OBJS)/stdlib_realloc_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdlib_realloc.c $(LOG_COMMAND)
|
@$(CC) -o $(LIBC_OBJS)/stdlib_realloc_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdlib_realloc.c
|
||||||
|
|
||||||
$(LIBC_OBJS)/stdio_vasprintf_hook_entry_debug.o : stdio_vasprintf_hook_entry.c
|
$(LIBC_OBJS)/stdio_vasprintf_hook_entry_debug.o : stdio_vasprintf_hook_entry.c
|
||||||
@echo "Compiling $< [$(TYPE):c debug]"
|
@echo "Compiling $< [$(TYPE):c debug]"
|
||||||
@$(CC) -o $(LIBC_OBJS)/stdio_vasprintf_hook_entry_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdio_vasprintf_hook_entry.c $(LOG_COMMAND)
|
@$(CC) -o $(LIBC_OBJS)/stdio_vasprintf_hook_entry_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdio_vasprintf_hook_entry.c
|
||||||
|
|
||||||
$(LIBC_OBJS)/stdio_vasprintf_debug.o : stdio_vasprintf.c
|
$(LIBC_OBJS)/stdio_vasprintf_debug.o : stdio_vasprintf.c
|
||||||
@echo "Compiling $< [$(TYPE):c debug]"
|
@echo "Compiling $< [$(TYPE):c debug]"
|
||||||
@$(CC) -o $(LIBC_OBJS)/stdio_vasprintf_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdio_vasprintf.c $(LOG_COMMAND)
|
@$(CC) -o $(LIBC_OBJS)/stdio_vasprintf_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG stdio_vasprintf.c
|
||||||
|
|
||||||
$(LIBM_OBJS)/stdio_vasprintf_debug.o : stdio_vasprintf.c
|
$(LIBM_OBJS)/stdio_vasprintf_debug.o : stdio_vasprintf.c
|
||||||
@echo "Compiling $< [$(TYPE):m debug]"
|
@echo "Compiling $< [$(TYPE):m debug]"
|
||||||
@$(CC) -o $(LIBM_OBJS)/stdio_vasprintf_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG $(FLOAT_TYPE) stdio_vasprintf.c $(LOG_COMMAND)
|
@$(CC) -o $(LIBM_OBJS)/stdio_vasprintf_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG $(FLOAT_TYPE) stdio_vasprintf.c
|
||||||
|
|
||||||
$(LIBC_OBJS)/string_strdup_debug.o : string_strdup.c
|
$(LIBC_OBJS)/string_strdup_debug.o : string_strdup.c
|
||||||
@echo "Compiling $< [$(TYPE):c debug]"
|
@echo "Compiling $< [$(TYPE):c debug]"
|
||||||
@$(CC) -o $(LIBC_OBJS)/string_strdup_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG string_strdup.c $(LOG_COMMAND)
|
@$(CC) -o $(LIBC_OBJS)/string_strdup_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG string_strdup.c
|
||||||
|
|
||||||
$(LIBC_OBJS)/unistd_getcwd_debug.o : unistd_getcwd.c
|
$(LIBC_OBJS)/unistd_getcwd_debug.o : unistd_getcwd.c
|
||||||
@echo "Compiling $< [$(TYPE):c debug]"
|
@echo "Compiling $< [$(TYPE):c debug]"
|
||||||
@$(CC) -o $(LIBC_OBJS)/unistd_getcwd_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG unistd_getcwd.c $(LOG_COMMAND)
|
@$(CC) -o $(LIBC_OBJS)/unistd_getcwd_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG unistd_getcwd.c
|
||||||
|
|
||||||
$(LIBUNIX_OBJS)/unistd_getcwd_debug.o : unistd_getcwd.c
|
$(LIBUNIX_OBJS)/unistd_getcwd_debug.o : unistd_getcwd.c
|
||||||
@echo "Compiling $< [$(TYPE):unix debug]"
|
@echo "Compiling $< [$(TYPE):unix debug]"
|
||||||
@$(CC) -o $(LIBUNIX_OBJS)/unistd_getcwd_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG -DUNIX_PATH_SEMANTICS unistd_getcwd.c $(LOG_COMMAND)
|
@$(CC) -o $(LIBUNIX_OBJS)/unistd_getcwd_debug.o -c $(CFLAGS) -D__USE_MEM_TREES -D__MEM_DEBUG -DUNIX_PATH_SEMANTICS unistd_getcwd.c
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Individual build rules for libc.a
|
# Individual build rules for libc.a
|
||||||
$(LIBC_OBJS)/libc.a : $(foreach file,$(C_LIB),$(LIBC_OBJS)/$(file))
|
$(LIBC_OBJS) :
|
||||||
|
$(MAKEDIR) $@
|
||||||
|
|
||||||
|
$(LIBC_OBJS)/libc.a : $(LIBC_OBJS) $(foreach file,$(C_LIB),$(LIBC_OBJS)/$(file))
|
||||||
-$(DELETE) $@
|
-$(DELETE) $@
|
||||||
@$(AR) $@ $(foreach file,$(C_LIB),$(LIBC_OBJS)/$(file))
|
@$(AR) $@ $(foreach file,$(C_LIB),$(LIBC_OBJS)/$(file))
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
$(COPY) $@ $(DEST_DIR)
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Individual build rules for libunix.a
|
# Individual build rules for libunix.a
|
||||||
$(LIBUNIX_OBJS)/libunix.a : $(foreach file,$(UNIX_LIB),$(LIBUNIX_OBJS)/$(file))
|
$(LIBUNIX_OBJS) :
|
||||||
|
$(MAKEDIR) $@
|
||||||
|
|
||||||
|
$(LIBUNIX_OBJS)/libunix.a : $(LIBUNIX_OBJS) $(foreach file,$(UNIX_LIB),$(LIBUNIX_OBJS)/$(file))
|
||||||
-$(DELETE) $@
|
-$(DELETE) $@
|
||||||
@$(AR) $@ $(foreach file,$(UNIX_LIB),$(LIBUNIX_OBJS)/$(file))
|
@$(AR) $@ $(foreach file,$(UNIX_LIB),$(LIBUNIX_OBJS)/$(file))
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
$(COPY) $@ $(DEST_DIR)
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Individual build rules for libm.a
|
# Individual build rules for libm.a
|
||||||
$(LIBM_OBJS)/libm.a : $(foreach file,$(MATH_LIB),$(LIBM_OBJS)/$(file))
|
$(LIBM_OBJS) :
|
||||||
|
$(MAKEDIR) $@
|
||||||
|
|
||||||
|
$(LIBM_OBJS)/libm.a : $(LIBM_OBJS) $(foreach file,$(MATH_LIB),$(LIBM_OBJS)/$(file))
|
||||||
-$(DELETE) $@
|
-$(DELETE) $@
|
||||||
@$(AR) $@ $(foreach file,$(MATH_LIB),$(LIBM_OBJS)/$(file))
|
@$(AR) $@ $(foreach file,$(MATH_LIB),$(LIBM_OBJS)/$(file))
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
$(COPY) $@ $(DEST_DIR)
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Individual build rules for libnet.a
|
# Individual build rules for libnet.a
|
||||||
$(LIBNET_OBJS)/libnet.a : $(foreach file,$(NET_LIB),$(LIBNET_OBJS)/$(file))
|
$(LIBNET_OBJS) :
|
||||||
|
$(MAKEDIR) $@
|
||||||
|
|
||||||
|
$(LIBNET_OBJS)/libnet.a : $(LIBNET_OBJS) $(foreach file,$(NET_LIB),$(LIBNET_OBJS)/$(file))
|
||||||
-$(DELETE) $@
|
-$(DELETE) $@
|
||||||
@$(AR) $@ $(foreach file,$(NET_LIB),$(LIBNET_OBJS)/$(file))
|
@$(AR) $@ $(foreach file,$(NET_LIB),$(LIBNET_OBJS)/$(file))
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
$(COPY) $@ $(DEST_DIR)
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Individual build rules for libdebug.a
|
# Individual build rules for libdebug.a
|
||||||
$(LIBDEBUG_OBJS)/libdebug.a : $(foreach file,$(DEBUG_LIB),$(LIBDEBUG_OBJS)/$(file))
|
$(LIBDEBUG_OBJS) :
|
||||||
|
$(MAKEDIR) $@
|
||||||
|
|
||||||
|
$(LIBDEBUG_OBJS)/libdebug.a : $(LIBDEBUG_OBJS) $(foreach file,$(DEBUG_LIB),$(LIBDEBUG_OBJS)/$(file))
|
||||||
-$(DELETE) $@
|
-$(DELETE) $@
|
||||||
@$(AR) $@ $(foreach file,$(DEBUG_LIB),$(LIBDEBUG_OBJS)/$(file))
|
@$(AR) $@ $(foreach file,$(DEBUG_LIB),$(LIBDEBUG_OBJS)/$(file))
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
$(COPY) $@ $(DEST_DIR)
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Individual build rules for libamiga.a
|
# Individual build rules for libamiga.a
|
||||||
$(LIBAMIGA_OBJS)/libamiga.a : $(foreach file,$(AMIGA_LIB),$(LIBAMIGA_OBJS)/$(file))
|
$(LIBAMIGA_OBJS) :
|
||||||
|
$(MAKEDIR) $@
|
||||||
|
|
||||||
|
$(LIBAMIGA_OBJS)/libamiga.a : $(LIBAMIGA_OBJS) $(foreach file,$(AMIGA_LIB),$(LIBAMIGA_OBJS)/$(file))
|
||||||
-$(DELETE) $@
|
-$(DELETE) $@
|
||||||
@$(AR) $@ $(foreach file,$(AMIGA_LIB),$(LIBAMIGA_OBJS)/$(file))
|
@$(AR) $@ $(foreach file,$(AMIGA_LIB),$(LIBAMIGA_OBJS)/$(file))
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
$(COPY) $@ $(DEST_DIR)
|
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
# Individual build rules for libprofile.a
|
|
||||||
$(LIBPROFILE_OBJS)/libprofile.a : $(foreach file,$(PROFILE_LIB),$(LIBPROFILE_OBJS)/$(file))
|
|
||||||
-$(DELETE) $@
|
|
||||||
@$(AR) $@ $(foreach file,$(PROFILE_LIB),$(LIBPROFILE_OBJS)/$(file))
|
|
||||||
$(RANLIB) $@
|
|
||||||
$(COPY) $@ $(DEST_DIR)
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
# Individual build rules for the startup code.
|
# Individual build rules for the startup code.
|
||||||
crt0.o : crt0.S
|
crt0.o : crt0.S
|
||||||
@echo "Assembling $<"
|
@echo "Assembling $<"
|
||||||
@$(CC) -Wa,-mregnames -o crt0.o -c crt0.S $(LOG_COMMAND)
|
@$(CC) -Wa,-mregnames -o crt0.o -c crt0.S
|
||||||
|
|
||||||
small_data/crt0.o : crt0.S
|
small_data/crt0.o : crt0.S
|
||||||
@echo "Assembling $<"
|
@echo "Assembling $<"
|
||||||
@$(CC) -DSMALL_DATA -Wa,-mregnames -o small_data/crt0.o -c crt0.S $(LOG_COMMAND)
|
@$(CC) -DSMALL_DATA -Wa,-mregnames -o small_data/crt0.o -c crt0.S
|
||||||
|
|
||||||
small_data/crtbegin.o : crtbegin.c
|
small_data/crtbegin.o : crtbegin.c
|
||||||
@echo "Assembling $<"
|
@echo "Assembling $<"
|
||||||
@$(CC) -o small_data/crtbegin.o -c $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(OPTIONS) $(INCLUDES) -msdata=sysv -DSMALL_DATA crtbegin.c $(LOG_COMMAND)
|
@$(CC) -o small_data/crtbegin.o -c $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(OPTIONS) $(INCLUDES) -msdata=sysv -DSMALL_DATA crtbegin.c
|
||||||
|
|
||||||
small_data/crtend.o : crtend.c
|
small_data/crtend.o : crtend.c
|
||||||
@echo "Assembling $<"
|
@echo "Assembling $<"
|
||||||
@$(CC) -o small_data/crtend.o -c $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(OPTIONS) $(INCLUDES) -msdata=sysv -DSMALL_DATA crtend.c $(LOG_COMMAND)
|
@$(CC) -o small_data/crtend.o -c $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(OPTIONS) $(INCLUDES) -msdata=sysv -DSMALL_DATA crtend.c
|
||||||
|
|
||||||
baserel/crt0.o : crt0.S
|
baserel/crt0.o : crt0.S
|
||||||
@echo "Assembling $<"
|
@echo "Assembling $<"
|
||||||
@$(CC) -Wa,-mregnames -o baserel/crt0.o -mbaserel -DBASEREL_DATA -c crt0.S $(LOG_COMMAND)
|
@$(CC) -Wa,-mregnames -o baserel/crt0.o -mbaserel -DBASEREL_DATA -c crt0.S
|
||||||
|
|
||||||
baserel/crtbegin.o : crtbegin.c
|
baserel/crtbegin.o : crtbegin.c
|
||||||
@echo "Assembling $<"
|
@echo "Assembling $<"
|
||||||
@$(CC) -o baserel/crtbegin.o -c $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(OPTIONS) $(INCLUDES) -mbaserel -DBASEREL_DATA crtbegin.c $(LOG_COMMAND)
|
@$(CC) -o baserel/crtbegin.o -c $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(OPTIONS) $(INCLUDES) -mbaserel -DBASEREL_DATA crtbegin.c
|
||||||
|
|
||||||
baserel/crtend.o : crtend.c
|
baserel/crtend.o : crtend.c
|
||||||
@echo "Assembling $<"
|
@echo "Assembling $<"
|
||||||
@$(CC) -o baserel/crtend.o -c $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(OPTIONS) $(INCLUDES) -mbaserel -DBASEREL_DATA crtend.c $(LOG_COMMAND)
|
@$(CC) -o baserel/crtend.o -c $(WARNINGS) $(OPTIMIZE) $(DEBUG) $(OPTIONS) $(INCLUDES) -mbaserel -DBASEREL_DATA crtend.c
|
||||||
|
|
||||||
|
|||||||
24
library/TODO
24
library/TODO
@@ -1,5 +1,23 @@
|
|||||||
C99 math functions:
|
C99 math functions:
|
||||||
|
|
||||||
fma() and fmaf() should be implemented as a true "fused" multiply
|
(functions generally missing, including their "float" counterparts)
|
||||||
and add function rather than the sequential operation implied in the
|
exp2
|
||||||
current implementation.
|
exp2f
|
||||||
|
fma
|
||||||
|
fmaf
|
||||||
|
log2
|
||||||
|
log2f
|
||||||
|
lrint
|
||||||
|
lrintf
|
||||||
|
lround
|
||||||
|
lroundf
|
||||||
|
nearbyint
|
||||||
|
nearbyintf
|
||||||
|
remquo
|
||||||
|
remquof
|
||||||
|
round
|
||||||
|
roundf
|
||||||
|
tgamma
|
||||||
|
tgammaf
|
||||||
|
trunc
|
||||||
|
truncf
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga.lib_rev.c,v 1.3 2006-01-08 12:04:21 obarthel Exp $
|
* $Id: amiga.lib_rev.c,v 1.2 2005-01-02 09:07:06 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#define VERSION 1
|
#define VERSION 1
|
||||||
#define REVISION 199
|
#define REVISION 193
|
||||||
#define DATE "6.3.2006"
|
#define DATE "4.6.2005"
|
||||||
#define VERS "amiga.lib 1.199"
|
#define VERS "amiga.lib 1.193"
|
||||||
#define VSTRING "amiga.lib 1.199 (6.3.2006)\r\n"
|
#define VSTRING "amiga.lib 1.193 (4.6.2005)\r\n"
|
||||||
#define VERSTAG "\0$VER: amiga.lib 1.199 (6.3.2006)"
|
#define VERSTAG "\0$VER: amiga.lib 1.193 (4.6.2005)"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
199
|
193
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_acrypt.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_acrypt.c,v 1.3 2005-05-30 14:01:20 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_addtof.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_addtof.c,v 1.3 2005-02-25 10:14:20 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_argarraydone.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_argarraydone.c,v 1.2 2005-01-02 09:07:06 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_argarrayinit.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_argarrayinit.c,v 1.2 2005-01-02 09:07:06 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -61,11 +61,11 @@ struct DiskObject * CXLIB_disko;
|
|||||||
STRPTR *
|
STRPTR *
|
||||||
ArgArrayInit(LONG argc, CONST_STRPTR * argv)
|
ArgArrayInit(LONG argc, CONST_STRPTR * argv)
|
||||||
{
|
{
|
||||||
STRPTR * result = NULL;
|
unsigned char ** result = NULL;
|
||||||
|
|
||||||
if(argc != 0) /* run from CLI */
|
if(argc != 0) /* run from CLI */
|
||||||
{
|
{
|
||||||
LONG i;
|
int i;
|
||||||
|
|
||||||
if(argc == 1)
|
if(argc == 1)
|
||||||
goto out; /* skip command name */
|
goto out; /* skip command name */
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_argint.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_argint.c,v 1.2 2005-01-02 09:07:06 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_argstring.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_argstring.c,v 1.2 2005-01-02 09:07:06 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_beginio.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_beginio.c,v 1.3 2005-01-02 09:07:06 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_callhook.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_callhook.c,v 1.2 2005-01-02 09:07:06 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
*
|
*
|
||||||
* $Id: amiga_callhooka.asm,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_callhooka.asm,v 1.2 2005-01-02 09:07:06 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=8
|
* :ts=8
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_callhooka.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_callhooka.c,v 1.2 2005-01-02 09:07:06 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_coercemethod.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_coercemethod.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_createextio.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_createextio.c,v 1.3 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_createport.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_createport.c,v 1.3 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_createstdio.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_createstdio.c,v 1.3 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_createtask.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_createtask.c,v 1.4 2005-03-18 12:38:21 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_deleteextio.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_deleteextio.c,v 1.3 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_deleteport.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_deleteport.c,v 1.3 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_deletestdio.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_deletestdio.c,v 1.3 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_deletetask.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_deletetask.c,v 1.3 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_domethod.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_domethod.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_dosupermethod.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_dosupermethod.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_dotimer.c,v 1.7 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_dotimer.c,v 1.4 2005-03-18 12:38:21 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -67,10 +67,9 @@ DoTimer(struct timeval *tv,LONG unit,LONG command)
|
|||||||
#if defined(__amigaos4__)
|
#if defined(__amigaos4__)
|
||||||
{
|
{
|
||||||
mp = AllocSysObjectTags(ASOT_PORT,
|
mp = AllocSysObjectTags(ASOT_PORT,
|
||||||
ASOPORT_Action, PA_SIGNAL,
|
ASOPORT_Action, PA_SIGNAL,
|
||||||
ASOPORT_AllocSig, FALSE,
|
ASOPORT_Signal, SIGB_SINGLE,
|
||||||
ASOPORT_Signal, SIGB_SINGLE,
|
ASOPORT_Target, FindTask(NULL),
|
||||||
ASOPORT_Target, FindTask(NULL),
|
|
||||||
TAG_DONE);
|
TAG_DONE);
|
||||||
|
|
||||||
if(mp == NULL)
|
if(mp == NULL)
|
||||||
@@ -114,7 +113,7 @@ DoTimer(struct timeval *tv,LONG unit,LONG command)
|
|||||||
|
|
||||||
PROFILE_OFF();
|
PROFILE_OFF();
|
||||||
|
|
||||||
SetSignal(0,(1UL << mp->mp_SigBit));
|
SetSignal(0,SIGF_SINGLE);
|
||||||
|
|
||||||
error = DoIO((struct IORequest *)tr);
|
error = DoIO((struct IORequest *)tr);
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_fastrand.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_fastrand.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_freeievents.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_freeievents.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
*
|
*
|
||||||
* $Id: amiga_hookentry.asm,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_hookentry.asm,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=8
|
* :ts=8
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_hookentry.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_hookentry.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_hotkey.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_hotkey.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_invertstring.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_invertstring.c,v 1.3 2005-02-25 10:14:20 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_newlist.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_newlist.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_rangerand.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_rangerand.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_remtof.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_remtof.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_rexxvars.c,v 1.7 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_rexxvars.c,v 1.6 2005-03-18 12:38:21 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_setsuperattrs.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_setsuperattrs.c,v 1.4 2005-02-25 10:14:20 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_timedelay.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_timedelay.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: amiga_waitbeam.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: amiga_waitbeam.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ copy include ram:${dir_name}/include all clone quiet
|
|||||||
copy changes ram:$dir_name clone
|
copy changes ram:$dir_name clone
|
||||||
|
|
||||||
; Delete the CVS data from the include directory
|
; Delete the CVS data from the include directory
|
||||||
delete ram:${dir_name}/include/CVS ram:${dir_name}/include/sys/CVS ram:${dir_name}/include/arpa/CVS ram:${dir_name}/include/netinet/CVS all quiet
|
delete ram:${dir_name}/include/CVS ram:${dir_name}/include/sys/CVS all quiet
|
||||||
|
|
||||||
; Finally, create an lha archive in RAM:
|
; Finally, create an lha archive in RAM:
|
||||||
pushcd ram:
|
pushcd ram:
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ cp -a include $dir_name
|
|||||||
cp changes $dir_name
|
cp changes $dir_name
|
||||||
|
|
||||||
# Delete the CVS data from the include directory
|
# Delete the CVS data from the include directory
|
||||||
rm -rf ${dir_name}/include/CVS ${dir_name}/include/sys/CVS ${dir_name}/include/arpa/CVS ${dir_name}/include/netinet/CVS
|
rm -rf ${dir_name}/include/CVS ${dir_name}/include/sys/CVS
|
||||||
|
|
||||||
# Finally, create an lha type 5 archive; the Amiga LhA port
|
# Finally, create an lha type 5 archive; the Amiga LhA port
|
||||||
# can unpack it.
|
# can unpack it.
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: c.lib_rev.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: c.lib_rev.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#define VERSION 1
|
#define VERSION 1
|
||||||
#define REVISION 199
|
#define REVISION 193
|
||||||
#define DATE "6.3.2006"
|
#define DATE "4.6.2005"
|
||||||
#define VERS "c.lib 1.199"
|
#define VERS "c.lib 1.193"
|
||||||
#define VSTRING "c.lib 1.199 (6.3.2006)\r\n"
|
#define VSTRING "c.lib 1.193 (4.6.2005)\r\n"
|
||||||
#define VERSTAG "\0$VER: c.lib 1.199 (6.3.2006)"
|
#define VERSTAG "\0$VER: c.lib 1.193 (4.6.2005)"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
199
|
193
|
||||||
|
|||||||
307
library/changes
307
library/changes
@@ -1,300 +1,3 @@
|
|||||||
c.lib 1.199 (6.3.2006)
|
|
||||||
|
|
||||||
- In <stdio.h> MAXPATHLEN is now equivalent to PATH_MAX (from <limits.h>),
|
|
||||||
as suggested by Henning Nielsen Lund.
|
|
||||||
|
|
||||||
- Added lockf() support, as supplied by Henning Nielsen Lund.
|
|
||||||
Thank you very much!
|
|
||||||
|
|
||||||
- symlink() now also works for absolute and relative links, and is
|
|
||||||
part of "libunix.a". This patch was supplied by Henning Nielsen Lund.
|
|
||||||
Thank you very much!
|
|
||||||
|
|
||||||
- The __main() stub function expected by the 68k GCC build is no
|
|
||||||
longer part of "stdlib_main.c". This helps the C++ support, since the
|
|
||||||
__main symbol definition no longer clashes with the definition in
|
|
||||||
"libgcc.a".
|
|
||||||
|
|
||||||
- The printf() family stripped trailing zeroes from the integer part
|
|
||||||
of %g output. Fixed.
|
|
||||||
|
|
||||||
- Moved an allocation size roundup operation in realloc().
|
|
||||||
|
|
||||||
|
|
||||||
c.lib 1.198 (11.12.2005)
|
|
||||||
|
|
||||||
- Added <fenv.h> for C99, and the (yet unimplemented) functions
|
|
||||||
feclearexcept(), fegetenv(), fegetexceptflag(), fegetround(),
|
|
||||||
feholdexcept(), feraiseexcept(), fesetenv(), fesetexceptflag(),
|
|
||||||
fetestexcept(), fetestround() and feupdateenv().
|
|
||||||
|
|
||||||
- Replaced the old pow() implementation. However, powf() may need to
|
|
||||||
be changed to set a domain error.
|
|
||||||
|
|
||||||
- In libunix.a malloc(), calloc() and realloc() no longer treat a
|
|
||||||
request to allocate 0 bytes as an error, returning NULL. They all
|
|
||||||
return a pointer sized memory chunk (= four bytes) initialized to
|
|
||||||
NULL (= 0) instead.
|
|
||||||
|
|
||||||
- The alloca() implementation which allocates memory from the system
|
|
||||||
rather than the local stack frame is thread-safe now. It also
|
|
||||||
interacts with the realloc(), calloc(), free() and malloc() functions
|
|
||||||
in that the alloca() cleanup routine is called once alloca() has
|
|
||||||
done its job. If all the memory allocated through alloca() has been
|
|
||||||
released no further calls to the cleanup function will be made.
|
|
||||||
|
|
||||||
- In the thread-safe library, realloc() permitted two different overlapping
|
|
||||||
calls to succeed in trying to reallocate the same chunk of memory due to
|
|
||||||
a race condition. Fixed.
|
|
||||||
|
|
||||||
- Added a new function __get_mem_stats() (the prototype is in <dos.h>) which
|
|
||||||
can be used to query the current and maximum memory usage, counting the
|
|
||||||
allocations performed through malloc(), free() and all other functions which
|
|
||||||
use them.
|
|
||||||
|
|
||||||
- Added another function called __reset_max_mem_stats() which will reset the
|
|
||||||
counters for "maximum amount of memory used" and "maximum number of chunks
|
|
||||||
allocated" to the current figures for these values.
|
|
||||||
|
|
||||||
- Fixed the alloca() declaration in <stdlib.h> so that software which keys
|
|
||||||
off the fact whether or not the alloca preprocessor symbol is defined
|
|
||||||
will do the right thing.
|
|
||||||
|
|
||||||
- Added an optional call-back function which can be called if alloca()
|
|
||||||
is about to return NULL, which some software does not consider.
|
|
||||||
Rather than letting such software drop into an illegal memory access
|
|
||||||
or worse, that call-back function will be invoked instead, which can
|
|
||||||
print an error message and eventually call abort().
|
|
||||||
|
|
||||||
|
|
||||||
c.lib 1.197 (4.11.2005)
|
|
||||||
|
|
||||||
- Updated math_hypot.c to a newer (e_hypot.c 1.3 95/01/18) version from
|
|
||||||
fdlibm which uses macros for manipulating the high and low words of a
|
|
||||||
double, like the rest of fdlibm functions in clib2. The previous version
|
|
||||||
would give bogus results when compiled with -O3 in clib2 which lead to
|
|
||||||
"interesting" results (and lots of fun while searching for the problem)
|
|
||||||
in Ghostscript. Wish I managed to track this down yesterday for 1.196
|
|
||||||
release... <aantonijevic>
|
|
||||||
|
|
||||||
- Implemented atanh() and atanhf() which were not listed in the TODO
|
|
||||||
file but were still unimplemented up until now.
|
|
||||||
|
|
||||||
- Replaced ldexp() and modf().
|
|
||||||
|
|
||||||
- Added __set_h_errno() and __get_h_errno() functions.
|
|
||||||
|
|
||||||
- The thread-safe library now tries to enable bsdsocket.library base
|
|
||||||
sharing and attempts to make the TCP/IP stack call the local
|
|
||||||
__set_errno() and __set_h_errno(), so that any Process calling
|
|
||||||
the library functions will get a chance to see proper error
|
|
||||||
codes. Whether any of these features could be enabled can be tested
|
|
||||||
through two global variables __can_share_socket_library_base and
|
|
||||||
__thread_safe_errno_h_errno which are defined in <dos.h>. Note that
|
|
||||||
for both features to work you will need the Roadshow bsdsocket.library
|
|
||||||
version 4.275 or higher.
|
|
||||||
|
|
||||||
- In <stdbool.h> the preprocessor definition should read
|
|
||||||
"__bool_true_false_are_defined" rather than "__bool_true_and_false_are_defined".
|
|
||||||
Thanks go to Peter Bengtsson for finding and fixing it.
|
|
||||||
|
|
||||||
- The network startup code no longer checks for the presence of a possible
|
|
||||||
daemon startup message by default. You now have to enable this feature
|
|
||||||
by declaring a global variable called "__check_daemon_startup" which is
|
|
||||||
described in <dos.h>.
|
|
||||||
|
|
||||||
- Moved the code which rebinds the standard I/O streams to the server
|
|
||||||
socket into a separate function which can be overridden by user code.
|
|
||||||
|
|
||||||
- Updated the new __obtain_daemon_message() function to call a
|
|
||||||
bsdsocket.library API function to determine if what appears to be
|
|
||||||
a valid daemon startup message is sound.
|
|
||||||
|
|
||||||
- Replaced the OS4 specific build makefile with an updated version
|
|
||||||
prepared by Steven Solie. Thank you very much!
|
|
||||||
|
|
||||||
|
|
||||||
c.lib 1.196 (11.10.2005)
|
|
||||||
|
|
||||||
- Removed the various workarounds associated with <unistd.h>, required
|
|
||||||
for building code that references the networking API. It is now possible,
|
|
||||||
provided you build your code with an existing TCP/IP API header file
|
|
||||||
set (such as from the "Roadshow" SDK) without running into data type
|
|
||||||
or function prototype declaration conflicts. I have added local versions
|
|
||||||
of <arpa/inet.h>, <netinet/in.h>, <netdb.h>, <sys/filio.h>, <sys/ioccom.h>,
|
|
||||||
<sys/ioctl.h>, <sys/select.h> and <sys/socket.h> and updated <unistd.h>,
|
|
||||||
<pwd.h> and <grp.h> accordingly. Note that some of the function prototypes
|
|
||||||
will conflict with the bsdsocket.library/usergroup.library API, which is
|
|
||||||
why you can disable the declarations through the __NO_NET_API preprocessor
|
|
||||||
symbol: if defined, none of the function prototypes will be defined.
|
|
||||||
|
|
||||||
- Implemented lrintf(), lrint(), lroundf(), lround(), nearbyintf(),
|
|
||||||
nearbyint(), remquof(), remquo(), roundf(), round(), tgammaf(),
|
|
||||||
tgamma(), truncf(), trunc(). Sort of implemented fmaf() and fma(),
|
|
||||||
which really ought to be done in "SIMD" fashion.
|
|
||||||
|
|
||||||
This completes the "real" floating point math library (ignoring
|
|
||||||
for a moment that the floating point environment code is still
|
|
||||||
not implemented).
|
|
||||||
|
|
||||||
- accept() now calls the bsdsocket.library accept() function first
|
|
||||||
and then hooks up the socket with the clib2 data structures. This
|
|
||||||
makes it possible to have several Processes calling the accept()
|
|
||||||
stub at the same time.
|
|
||||||
|
|
||||||
- When the main() function returns directly or indirectly by way of
|
|
||||||
calling exit(), the IoErr() value set at this time will now be
|
|
||||||
preserved until the program really returns control to the shell.
|
|
||||||
This turned out to be easier to implement than I had originally
|
|
||||||
thought, thanks to the fact that the atexit() functions are all
|
|
||||||
invoked straight after the exit() call.
|
|
||||||
|
|
||||||
- strtoimax(), strtoumax(), strtod(), strtof(), strtol(), strtoll(),
|
|
||||||
strtoul() and strtoull() now count how many digits were converted.
|
|
||||||
If that number is zero, then the conversion is considered to have
|
|
||||||
failed: 0 is returned and the 'ptr' parameter reference is initialized
|
|
||||||
with a pointer to the string to be converted. This has two consequences:
|
|
||||||
|
|
||||||
1) A floating point number that has no digits in the significand
|
|
||||||
is no longer converted to zero. For example ".e10" can no longer
|
|
||||||
result in a successful conversion.
|
|
||||||
|
|
||||||
2) You can detect if a conversion is successful by comparing pointers
|
|
||||||
after the conversion function has returned:
|
|
||||||
|
|
||||||
char * str;
|
|
||||||
char * ptr;
|
|
||||||
long n;
|
|
||||||
|
|
||||||
n = strtol(str,&ptr,10);
|
|
||||||
if(n == 0 && str == ptr)
|
|
||||||
printf("conversion has failed");
|
|
||||||
|
|
||||||
- Following detection of a stack overflow, the startup code eventually
|
|
||||||
called _exit(). It should have called exit() instead.
|
|
||||||
|
|
||||||
- tmpnam() wrote more than L_tmpnam bytes to the name buffer. Also, the
|
|
||||||
TMP_MAX value was off by one.
|
|
||||||
|
|
||||||
|
|
||||||
c.lib 1.195 (3.9.2005)
|
|
||||||
|
|
||||||
- In __time_delay() the CheckIO() test was wrong and should have
|
|
||||||
tested for a request still in progress. Fixed.
|
|
||||||
|
|
||||||
- Modified select() to support plain files, too. The new code now
|
|
||||||
compares the current file position against the current file size,
|
|
||||||
if that file is on a file system, or simply checks if there is
|
|
||||||
any data in the file (which works for the default PIPE: device).
|
|
||||||
|
|
||||||
- The raw file descriptor structure member fd_Position is now
|
|
||||||
always updated, regardless of whether the file supports random
|
|
||||||
access or not.
|
|
||||||
|
|
||||||
- The wildcard escape character used in __wildcard_expand_init() was
|
|
||||||
wrong. It should have been "'" but it was "`". Fixed.
|
|
||||||
|
|
||||||
- The startup code now references the linker symbol generated for
|
|
||||||
the user-supplied main() function.
|
|
||||||
|
|
||||||
- log(+/-0), logb(+/-0), log10(+/-0) now return -infinity.
|
|
||||||
|
|
||||||
- getcwd() now considers a buffer size of 0 an error, and it sets
|
|
||||||
the errno code to ERANGE if the buffer is too small.
|
|
||||||
|
|
||||||
- With Unix path semantics enabled, rename() now fails if either
|
|
||||||
the old or the new name are empty strings. Same thing for
|
|
||||||
opendir(), utime(), unlink(), chown(), link(), readlink(),
|
|
||||||
realpath(), chdir(), access(), stat(), rmdir(), lstat(),
|
|
||||||
chmod(), statfs() and open()/fopen().
|
|
||||||
|
|
||||||
- Fixed several issues with the formatted output of strftime()
|
|
||||||
for the "C" locale: "%p" could return " PM", "%c" is now
|
|
||||||
equivalent to "%a %b %e %T %Y", "%x" is equivalent to "%m/%d/%y"
|
|
||||||
and "%X" is now equivalent to "%T".
|
|
||||||
|
|
||||||
- The 68020/030/040/060 versions of the library now include the
|
|
||||||
64 bit integer conversion code. The plain 68000 version does not.
|
|
||||||
|
|
||||||
- The 64 bit integer conversion code used in by the scanf() family
|
|
||||||
was broken due to a misplaced overflow check, which had the cruel
|
|
||||||
effect of triggering for 32 bit integers as well. Fixed.
|
|
||||||
|
|
||||||
- DoTimer() did not allocate the local MsgPort correctly. Fixed.
|
|
||||||
|
|
||||||
|
|
||||||
c.lib 1.194 (15.7.2005)
|
|
||||||
|
|
||||||
- Added getopt_long to libunix.a <tfrieden>
|
|
||||||
|
|
||||||
- Added new libprofile.a which implements gprof gmon.out output <tfrieden>
|
|
||||||
|
|
||||||
- Added the function profil() to libc.a <tfrieden>
|
|
||||||
|
|
||||||
- Added ftello() and fseeko() which both merely call the equivalent (at
|
|
||||||
least for clib2) ftell() and fseek() functions, respectively.
|
|
||||||
|
|
||||||
- statfs() never stated that a disk was mounted for read-only access
|
|
||||||
because the wrong InfoData structure member was tested. Fixed.
|
|
||||||
|
|
||||||
- lstat would overwrite the name parameter via ReadLink(..., name, ...)
|
|
||||||
instead of ReadLink(..., new_name, ...) <tfrieden>
|
|
||||||
|
|
||||||
- Implemented exp2()/exp2f() and log2()/log2f() as suggested by
|
|
||||||
Henning Nielsen Lund. Thank you very much!
|
|
||||||
|
|
||||||
- The pattern matching code which expands command line arguments, as part
|
|
||||||
of libunix.a, now translates the "*" wildcard into "#?" unless you prefix
|
|
||||||
it with a backtick ("'"), which is the wildcard pattern escape character
|
|
||||||
used on AmigaOS.
|
|
||||||
|
|
||||||
- Repaired the pattern matching code which expands command line arguments:
|
|
||||||
it no longer requires that any parameters are quoted and it is automatically
|
|
||||||
enabled if you link against libunix.a, without libc.a standing a chance to
|
|
||||||
accidentally override it.
|
|
||||||
|
|
||||||
- Fixed a bug in vfprintf that would surface when the buffer was enlarged
|
|
||||||
if the pattern was too large to fit the static internal buffer <tfrieden>
|
|
||||||
|
|
||||||
- Added file system names to statfs <tfrieden>
|
|
||||||
|
|
||||||
- Moved all the constructor code out of "stdlib_init_exit.c" and into the
|
|
||||||
files which initialize global data, such as the new "stdlib_program_name.c"
|
|
||||||
and "stdlib_malloc.c".
|
|
||||||
|
|
||||||
- Until I can find a way to invoke it from within the library, the
|
|
||||||
__machine_test() function is no longer invoked.
|
|
||||||
|
|
||||||
- Tagged global data with NOCOMMON attributes.
|
|
||||||
|
|
||||||
- Added the __lib_init() and __lib_exit() functions, which are part of the
|
|
||||||
thread-safe library and which can be used to hook up clib2 with standard
|
|
||||||
Amiga shared library/device code. Some documentation on how to use them
|
|
||||||
can be found in the <dos.h> header file.
|
|
||||||
|
|
||||||
- Added a complete shared library skeleton example to demonstrate how the
|
|
||||||
clib2 shared library initialization/cleanup functions should be used.
|
|
||||||
This is a dual-build library which will both work with the plain 68k
|
|
||||||
AmigaOS and the PowerPC native AmigaOS4. The example source code can be
|
|
||||||
found in the "skeleton_library" subdirectory.
|
|
||||||
|
|
||||||
- The thread-safe version of isatty() should now work for stdio
|
|
||||||
file descriptors, too.
|
|
||||||
|
|
||||||
- Retrofitted thread-safety into the termios code.
|
|
||||||
|
|
||||||
- The socket/usergroup API function and data type definitions that used to
|
|
||||||
be defined in <unistd.h> have been moved into a separate header file
|
|
||||||
<sys/clib2_net.h> which, for backwards compatibility, can be include
|
|
||||||
from within <unistd.h> if the preprocessor symbol __USE_CLIB2_NETLIB
|
|
||||||
is defined early on. Eventually, <sys/clib2_net.h> should be removed
|
|
||||||
from the general header files and become a local library build header
|
|
||||||
file altogether. Note that in this case you would have to build your
|
|
||||||
own software using common TCP/IP SDK header files.
|
|
||||||
|
|
||||||
- <sys/types.h> now also includes <time.h> and <stddef.h>.
|
|
||||||
|
|
||||||
|
|
||||||
c.lib 1.193 (4.6.2005)
|
c.lib 1.193 (4.6.2005)
|
||||||
|
|
||||||
- fpclassify() now returns FP_ZERO both for 0 and -0.
|
- fpclassify() now returns FP_ZERO both for 0 and -0.
|
||||||
@@ -968,7 +671,7 @@ c.lib 1.185 (2.1.2005)
|
|||||||
normal versions. Let's see how well this works out in the GCC
|
normal versions. Let's see how well this works out in the GCC
|
||||||
version. SAS/C does not seem to like it...
|
version. SAS/C does not seem to like it...
|
||||||
|
|
||||||
- Changed the definition of alloca() for GCC, which now defaults
|
- Changed the definition of alloca() for GCC, which now defaults
|
||||||
to the built-in function.
|
to the built-in function.
|
||||||
|
|
||||||
- Updated the stdio.h, stdlib.h, string.h and unistd.h header files
|
- Updated the stdio.h, stdlib.h, string.h and unistd.h header files
|
||||||
@@ -2054,7 +1757,7 @@ c.lib 1.117 (26.5.2004)
|
|||||||
- The size of the physical memory allocation chunks is now taken into
|
- The size of the physical memory allocation chunks is now taken into
|
||||||
account when making memory allocations. This means that allocations
|
account when making memory allocations. This means that allocations
|
||||||
are rounded up to multiples of 8 bytes each.
|
are rounded up to multiples of 8 bytes each.
|
||||||
|
|
||||||
|
|
||||||
c.lib 1.116 (26.5.2004)
|
c.lib 1.116 (26.5.2004)
|
||||||
|
|
||||||
@@ -2143,7 +1846,7 @@ c.lib 1.110 (10.4.2004)
|
|||||||
|
|
||||||
c.lib 1.109 (9.4.2004)
|
c.lib 1.109 (9.4.2004)
|
||||||
|
|
||||||
- Fixed a bug in the PPC version of setjmp that would trash floating
|
- Fixed a bug in the PPC version of setjmp that would trash floating
|
||||||
point registers.
|
point registers.
|
||||||
|
|
||||||
- Fixed a bug in dup2: If the second fd didn't exist, it would return -1,
|
- Fixed a bug in dup2: If the second fd didn't exist, it would return -1,
|
||||||
@@ -2741,7 +2444,7 @@ c.lib 1.60 (5.10.2003)
|
|||||||
- Renamed the source code files which implement the strtod(), strtol(),
|
- Renamed the source code files which implement the strtod(), strtol(),
|
||||||
strtoul(), atof(), atoi() and atol() functions.
|
strtoul(), atof(), atoi() and atol() functions.
|
||||||
|
|
||||||
- Moved main() out of libc.a and made it into a startup object file
|
- Moved main() out of libc.a and made it into a startup object file
|
||||||
which needs to be added to the GCC specs file in the "*startfile"
|
which needs to be added to the GCC specs file in the "*startfile"
|
||||||
section, right at the end of the list. This solves practically all
|
section, right at the end of the list. This solves practically all
|
||||||
linking problems I encountered so far. Which means that -lunix
|
linking problems I encountered so far. Which means that -lunix
|
||||||
@@ -2901,7 +2604,7 @@ c.lib 1.47 (31.7.2003)
|
|||||||
- Fixed vfscanf() and strtol() again to accept very small negative
|
- Fixed vfscanf() and strtol() again to accept very small negative
|
||||||
integers (-2147483648). The previous check to avoid overflows
|
integers (-2147483648). The previous check to avoid overflows
|
||||||
was too strict.
|
was too strict.
|
||||||
|
|
||||||
|
|
||||||
c.lib 1.46 (31.7.2003)
|
c.lib 1.46 (31.7.2003)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: complex_carg.c,v 1.2 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: complex_carg.c,v 1.1 2005-04-03 10:22:47 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: complex_cargf.c,v 1.2 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: complex_cargf.c,v 1.1 2005-04-03 10:22:47 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: complex_cargl.c,v 1.2 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: complex_cargl.c,v 1.1 2005-04-03 10:22:47 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: complex_cimag.c,v 1.2 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: complex_cimag.c,v 1.1 2005-04-03 10:22:47 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: complex_cimagf.c,v 1.2 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: complex_cimagf.c,v 1.1 2005-04-03 10:22:47 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: complex_cimagl.c,v 1.2 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: complex_cimagl.c,v 1.1 2005-04-03 10:22:47 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: complex_conj.c,v 1.2 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: complex_conj.c,v 1.1 2005-04-03 10:22:47 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: complex_conjf.c,v 1.2 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: complex_conjf.c,v 1.1 2005-04-03 10:22:47 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: complex_conjl.c,v 1.2 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: complex_conjl.c,v 1.1 2005-04-03 10:22:47 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: complex_creal.c,v 1.2 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: complex_creal.c,v 1.1 2005-04-03 10:22:47 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: complex_crealf.c,v 1.2 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: complex_crealf.c,v 1.1 2005-04-03 10:22:47 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: complex_creall.c,v 1.2 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: complex_creall.c,v 1.1 2005-04-03 10:22:47 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: complex_headers.h,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: complex_headers.h,v 1.3 2005-05-12 14:50:06 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
//
|
//
|
||||||
// $Id: crt0.S,v 1.6 2005-10-11 09:28:29 obarthel Exp $
|
// $Id: crt0.S,v 1.2 2004-11-28 12:31:27 tfrieden Exp $
|
||||||
//
|
//
|
||||||
// :ts=4
|
// :ts=4
|
||||||
//
|
//
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
.globl main /* This enforces linkage against the main() function */
|
|
||||||
.globl _main
|
.globl _main
|
||||||
.globl _start
|
.globl _start
|
||||||
|
|
||||||
@@ -26,3 +25,16 @@ _start:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
b _main
|
b _main
|
||||||
|
|
||||||
|
#if defined(BASEREL_DATA)
|
||||||
|
.section .rodata
|
||||||
|
|
||||||
|
.globl __data_segment_descriptor
|
||||||
|
__data_segment_descriptor:
|
||||||
|
.long __data_start
|
||||||
|
.long __data_end
|
||||||
|
.long _DATA_BASE_
|
||||||
|
|
||||||
|
.section .dend, "wa", @nobits
|
||||||
|
.space 4
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_headers.h,v 1.6 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_headers.h,v 1.5 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_isalnum.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_isalnum.c,v 1.4 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_isalpha.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_isalpha.c,v 1.4 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_isascii.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_isascii.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_isblank.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_isblank.c,v 1.2 2005-05-29 08:19:36 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_iscntrl.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_iscntrl.c,v 1.4 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_isdigit.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_isdigit.c,v 1.4 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_isgraph.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_isgraph.c,v 1.4 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_islower.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_islower.c,v 1.4 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_isprint.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_isprint.c,v 1.4 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_ispunct.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_ispunct.c,v 1.4 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_isspace.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_isspace.c,v 1.4 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_isupper.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_isupper.c,v 1.4 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_isxdigit.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_isxdigit.c,v 1.4 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_table.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_table.c,v 1.3 2005-01-09 15:20:31 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_tolower.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_tolower.c,v 1.4 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: ctype_toupper.c,v 1.5 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: ctype_toupper.c,v 1.4 2005-05-29 09:56:09 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug.c,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug.c,v 1.3 2005-02-25 10:14:21 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=8
|
* :ts=8
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug.h,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug.h,v 1.3 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=8
|
* :ts=8
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug.lib_rev.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug.lib_rev.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#define VERSION 1
|
#define VERSION 1
|
||||||
#define REVISION 199
|
#define REVISION 193
|
||||||
#define DATE "6.3.2006"
|
#define DATE "4.6.2005"
|
||||||
#define VERS "debug.lib 1.199"
|
#define VERS "debug.lib 1.193"
|
||||||
#define VSTRING "debug.lib 1.199 (6.3.2006)\r\n"
|
#define VSTRING "debug.lib 1.193 (4.6.2005)\r\n"
|
||||||
#define VERSTAG "\0$VER: debug.lib 1.199 (6.3.2006)"
|
#define VERSTAG "\0$VER: debug.lib 1.193 (4.6.2005)"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
199
|
193
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_cmpstrexec.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_cmpstrexec.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_headers.h,v 1.4 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_headers.h,v 1.3 2005-03-18 12:38:22 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kcmpstr.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kcmpstr.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kdofmt.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kdofmt.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kgetc.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kgetc.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kgetch1.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kgetch1.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kgetch2.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kgetch2.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kgetchar1.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kgetchar1.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kgetchar2.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kgetchar2.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kgetnum1.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kgetnum1.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kgetnum2.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kgetnum2.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kmaygetch.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kmaygetch.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kmaygetchar.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kmaygetchar.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kprintf1.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kprintf1.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kprintf2.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kprintf2.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kputc.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kputc.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: debug_kputch1.c,v 1.3 2006-01-08 12:04:22 obarthel Exp $
|
* $Id: debug_kputch1.c,v 1.2 2005-01-02 09:07:07 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
* Portable ISO 'C' (1994) runtime library for the Amiga computer
|
||||||
* Copyright (c) 2002-2006 by Olaf Barthel <olsen (at) sourcery.han.de>
|
* Copyright (c) 2002-2005 by Olaf Barthel <olsen@sourcery.han.de>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user