Jonathan Rees | 29 May 23:37

-pthread unrecognized

This doesn't seem to make any difference. Just an FYI.  -Jonathan

30-16-246:~/nc/trunk jar$ make scheme48
mkdir -p `dirname ../build/downloads/scheme48-1.8.tgz`
wget -nv -O ../build/downloads/scheme48-1.8.tgz http://s48.org/1.8/ 
scheme48-1.8.tgz
17:36:00 URL:http://s48.org/1.8/scheme48-1.8.tgz [3173151/3173151] ->  
"../build/downloads/scheme48-1.8.tgz" [1]
mkdir -p ../build/external
tar -x -z -f ../build/downloads/scheme48-1.8.tgz -C ../build/external
(cd ../build/external/scheme48-1.8; ./configure; make)
checking build system type... i386-apple-darwin8.11.1
checking host system type... i386-apple-darwin8.11.1
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether we must build a 32bit binary... no
checking bits per byte... 8
checking size of void *... 4
checking for BIT_SUFFIX... 32
checking whether we are building a Universal Binary... no
checking how to compile position independent code... no extra option  
necessary
checking -rdynamic... yes
checking LDFLAGS_VM...
checking for library containing strerror... none required
checking for inline keyword... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for main in -lm... yes
checking for main in -ldl... yes
checking for main in -lmld... no
checking for main in -lnsl... no
checking for main in -lgen... no
checking for main in -lsocket... no
checking for getpwnam in -lsun... no
checking for RISC/OS POSIX library lossage
checking for an ANSI C-conforming const... yes
checking for socklen_t... yes
checking return type of signal handlers... void
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for uintptr_t... yes
checking for uint16_t... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking posix/time.h usability... no
checking posix/time.h presence... no
checking for posix/time.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for gettimeofday... yes
checking for ftime... yes
checking for select... yes
checking for setitimer... yes
checking for sigaction... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking for poll... yes
checking for dlopen... yes
checking for socket... yes
checking for chroot... yes
checking for strerror... yes
checking environ... using environ
checking __NEXT__... no
checking IEEE floating-point endianness... least first
checking for ld... ld
checking compile and link flags for dynamic externals... -fno-common,  
-g -O2  -rdynamic -bundle -flat_namespace -undefined suppress
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking Pthreads support... -pthread (compile) -pthread (link)
checking -munaligned-doubles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating c/sysdep.h
config.status: creating c/scheme48arch.h
gcc -c -g -O2 -pthread -o c/main.o \
-DDEFAULT_IMAGE_NAME=\"/usr/local/lib/scheme48-1.`cat ./build/minor- 
version-number`/scheme48.image\" \
	 -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" ./c/main.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/scheme48vm-32.o c/scheme48vm-32.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/extension.o c/extension.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/free.o c/free.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/double_to_string.o c/double_to_string.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/bignum.o c/bignum.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/external.o c/external.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/external-lib.o c/external-lib.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/external-init.o c/external-init.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/init.o c/init.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/scheme48-twospace-heap-32.o c/scheme48- 
twospace-heap-32.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/unix/misc.o c/unix/misc.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/unix/io.o c/unix/io.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/unix/fd-io.o c/unix/fd-io.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/unix/event.o c/unix/event.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/unix/socket.o c/unix/socket.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/unix/dynlink.o c/unix/dynlink.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/unix/sysexits.o c/unix/sysexits.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -o c/fake/glue.o c/fake/glue.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
echo 'EXPORTS' > ./c/scheme48.def &&			\
cat ./c/scheme48.h ./c/fd-io.h ./c/event.h | egrep '^S48_EXTERN' |  
sed 's,^S48_EXTERN.*\(s48_[a-zA-Z0-9_]*\)(.*$,\1,' | sed  
's,^S48_EXTERN.*\(ps_[a-zA-Z0-9_]*\)(.*$,\1,' | sed 's,^S48_EXTERN.*\ 
(s48_[a-zA-Z0-9_]*\).*$,\1,' >> ./c/scheme48.def
gcc -rdynamic -pthread  -g -O2 -pthread -o scheme48vm c/main.o		\
	c/scheme48vm-32.o c/extension.o c/free.o c/double_to_string.o c/ 
bignum.o c/external.o c/external-lib.o c/external-init.o c/init.o c/ 
scheme48-twospace-heap-32.o c/unix/misc.o c/unix/io.o c/unix/fd-io.o  
c/unix/event.o				\
	 -ldl -lm 					\
	c/unix/socket.o c/unix/dynlink.o c/unix/sysexits.o c/fake/glue.o
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-rdynamic'
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
# Cygwin
if test -x /usr/bin/dlltool; then \
	dlltool --dllname scheme48vm.exe --output-lib scheme48vm.a --def ./c/ 
scheme48.def; \
fi
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -fno-common -o c/posix/user.o c/posix/user.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -fno-common -o c/posix/regexp.o c/posix/regexp.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -fno-common -o c/posix/proc-env.o c/posix/proc- 
env.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -fno-common -o c/posix/proc.o c/posix/proc.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -fno-common -o c/posix/io.o c/posix/io.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -fno-common -o c/posix/dir.o c/posix/dir.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -fno-common -o c/posix/posix.o c/posix/posix.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -o c/posix.so c/posix/user.o     c/posix/regexp.o c/posix/proc- 
env.o c/posix/proc.o c/posix/io.o	c/posix/dir.o c/posix/posix.o -g - 
O2  -rdynamic -bundle -flat_namespace -undefined suppress
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-rdynamic'
gcc -c  -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" -I ./c -I./c -I./c/ 
bibop -g -O2 -pthread -fno-common -o c/srfi-27.o c/srfi-27.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -o c/srfi-27.so c/srfi-27.o -g -O2  -rdynamic -bundle - 
flat_namespace -undefined suppress
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-rdynamic'
./build/build-usual-image . \
"`(cd . && pwd)`/scheme" "`pwd`/c" 'scheme48.image' './scheme48vm' \
	'./build/initial.image-32'
./scheme/env/init-defpackage.scm
#{Unspecific}
./scheme/packages.scm
./scheme/more-interfaces.scm
./scheme/link-packages.scm
./scheme/env-packages.scm
./scheme/sort/interfaces.scm
./scheme/sort/packages.scm
./scheme/more-packages.scm
./scheme/posix/packages.scm
./scheme/cml/interfaces.scm
./scheme/cml/packages.scm
./scheme/srfi/packages.scm
[display-conditions ./scheme/env/dispcond.scm]
[disclosers ./scheme/env/disclosers.scm]
[conditions ./scheme/env/io-condition.scm ./scheme/env/condition.scm]
[signals ./scheme/env/signal.scm]
[command-levels ./scheme/env/command-level.scm ./scheme/env/user.scm]
[menus ./scheme/env/menu.scm]
[command-processor ./scheme/env/read-command.scm ./scheme/env/ 
command.scm ./scheme/env/version-info.scm]
#{Unspecific}
[basic-commands ./scheme/env/basic-command.scm]
[build ./scheme/env/build.scm]
[shadowing ./scheme/env/shadow.scm]
[package-mutation ./scheme/env/pedit.scm]
[package-commands ./scheme/env/pacman.scm]
[debugging ./scheme/env/debug.scm]
[inspect-commands ./scheme/env/inspect.scm]
[parse-bytecode ./scheme/env/parse-bytecode.scm]
[disassembler ./scheme/env/disasm.scm]
[usual-commands]
#{Unspecific}
[debuginfo ./scheme/env/debuginfo.scm]
[extended-numbers ./scheme/rts/xnum.scm]
[ratnums ./scheme/rts/ratnum.scm]
[recnums ./scheme/rts/recnum.scm]
[floatnums ./scheme/rts/floatnum.scm
Analyzing... no in-line procedures
]
[finite-types ./scheme/big/finite-type.scm]
[unicode-char-maps ./scheme/env/unicode-charmap.scm ./scheme/env/ 
unicode-info.scm ./scheme/env/unicode-category.scm]
[usual-features]
#{Unspecific}
Reading ./build/initial.debug
#{Unspecific}
#{Unspecific}
#{Unspecific}
Writing scheme48.image

gcc -c -g -O2 -pthread -o c/script-interpreter.o \
	-DRUNNABLE=\"/usr/local/bin/scheme48\" \
	 -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ - 
DS48_HOST_ARCHITECTURE=\"i386-apple-darwin8.11.1\" \
	-I ./c -I./c \
	./c/script-interpreter.c
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
gcc -rdynamic -pthread -g -O2 -pthread -o script-interpreter c/script- 
interpreter.o
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-rdynamic'
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread'
echo '#!/bin/sh'	>go &&					\
echo			>>go &&					\
echo "lib=\"`pwd`\""	>>go &&					\
echo 'exec "$lib"/scheme48vm -i "$lib"/scheme48.image "$@"'		\
			>>go &&					\
chmod +x go
30-16-246:~/nc/trunk jar$


Gmane