SourceForge logo
SourceForge logo
Menu

cadcdev-svn-commits — Source Code Repository Updates

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
(35)
Dec
(2)
2004 Jan
(37)
Feb
(10)
Mar
Apr
(2)
May
(17)
Jun
(1)
Jul
(14)
Aug
(14)
Sep
(4)
Oct
Nov
(14)
Dec
(4)
2005 Jan
(6)
Feb
Mar
Apr
(6)
May
Jun
Jul
Aug
Sep
(1)
Oct
Nov
(92)
Dec
(12)
2006 Jan
(3)
Feb
(4)
Mar
Apr
(5)
May
(3)
Jun
(15)
Jul
(3)
Aug
(1)
Sep
(29)
Oct
(1)
Nov
(6)
Dec
(5)
2007 Jan
(2)
Feb
(2)
Mar
Apr
(3)
May
(14)
Jun
(2)
Jul
(16)
Aug
(73)
Sep
(12)
Oct
(9)
Nov
(27)
Dec
(3)
2008 Jan
(4)
Feb
(4)
Mar
(3)
Apr
(8)
May
(23)
Jun
(4)
Jul
(1)
Aug
(3)
Sep
(7)
Oct
(5)
Nov
(1)
Dec
(1)
2009 Jan
Feb
(10)
Mar
Apr
(4)
May
(4)
Jun
(10)
Jul
Aug
(1)
Sep
Oct
(7)
Nov
Dec
(1)
2010 Jan
Feb
(1)
Mar
Apr
(6)
May
Jun
(3)
Jul
(11)
Aug
(1)
Sep
Oct
(15)
Nov
(1)
Dec
(5)
2011 Jan
(4)
Feb
(1)
Mar
(6)
Apr
May
(22)
Jun
Jul
(8)
Aug
(2)
Sep
Oct
Nov
Dec
(2)
2012 Jan
Feb
(10)
Mar
(1)
Apr
(6)
May
(27)
Jun
(48)
Jul
(30)
Aug
(4)
Sep
Oct
(3)
Nov
(1)
Dec
(11)
2013 Jan
(4)
Feb
(7)
Mar
(6)
Apr
(18)
May
(28)
Jun
(20)
Jul
Aug
(4)
Sep
(1)
Oct
(1)
Nov
(2)
Dec
(7)
2014 Jan
(3)
Feb
(2)
Mar
(4)
Apr
(9)
May
(11)
Jun
(10)
Jul
Aug
(18)
Sep
(12)
Oct
(17)
Nov
(10)
Dec
(16)
2015 Jan
(5)
Feb
(1)
Mar
(5)
Apr
(4)
May
(28)
Jun
(2)
Jul
Aug
Sep
(6)
Oct
Nov
(2)
Dec
(1)
2016 Jan
(14)
Feb
Mar
(3)
Apr
May
Jun
(3)
Jul
(4)
Aug
(4)
Sep
(1)
Oct
(1)
Nov
Dec
(1)
2017 Jan
(11)
Feb
Mar
(21)
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
(1)
2018 Jan
Feb
Mar
(1)
Apr
May
(1)
Jun
Jul
Aug
(2)
Sep
(4)
Oct
(4)
Nov
Dec
(1)
2019 Jan
(1)
Feb
Mar
Apr
(1)
May
Jun
Jul
Aug
(13)
Sep
(4)
Oct
Nov
Dec
2020 Jan
(10)
Feb
(9)
Mar
(5)
Apr
(4)
May
(3)
Jun
(18)
Jul
(4)
Aug
(2)
Sep
(20)
Oct
(2)
Nov
Dec
2021 Jan
Feb
Mar
Apr
(2)
May
(1)
Jun
(2)
Jul
(1)
Aug
(2)
Sep
Oct
Nov
Dec
(2)
2022 Jan
(1)
Feb
(2)
Mar
(2)
Apr
(1)
May
Jun
Jul
Aug
(5)
Sep
Oct
(1)
Nov
Dec
(1)
2023 Jan
(10)
Feb
(7)
Mar
(29)
Apr
(31)
May
(29)
Jun
(34)
Jul
(3)
Aug
(24)
Sep
(22)
Oct
(10)
Nov
(38)
Dec
(27)
2024 Jan
(15)
Feb
(8)
Mar
(4)
Apr
(20)
May
(33)
Jun
(18)
Jul
(15)
Aug
(23)
Sep
(26)
Oct
(32)
Nov
(6)
Dec
(4)
2025 Jan
(7)
Feb
(1)
Mar
(1)
Apr
(4)
May
(46)
Jun
(19)
Jul
(26)
Aug
(48)
Sep
(30)
Oct
(8)
Nov
Dec
S M T W T F S





1
2
3
4
5
6
7
8
9
10
11
(1)
12
13
14
15
16
17
18
(1)
19
20
21
22
23
24
25
26
27
28
29
30

Showing 2 results of 2

From: Lawrence S. <ljs...@us...> - 2013年11月18日 02:40:13
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, master has been updated
 via 7f4c1c5aa6c4b8dce6fc98bfd0f161a5ff7d2492 (commit)
 from d4348100d82ba60f8ad9d3f1809e00cdfd3873b7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7f4c1c5aa6c4b8dce6fc98bfd0f161a5ff7d2492
Author: Lawrence Sebald <ljs...@us...>
Date: Sun Nov 17 21:38:46 2013 -0500
 A few changes/updates to dc-chain:
 1. Update GCC version to 4.8.2.
 2. Automatically build GCC's dependencies along with GCC.
 3. Add in a small fix for OS X Mavericks (GCC can't be built against libc++).
-----------------------------------------------------------------------
Summary of changes:
 utils/dc-chain/Makefile | 25 +++-
 utils/dc-chain/download.sh | 42 +++++-
 .../{gcc-4.7.3-kos.diff => gcc-4.8.1-kos.diff} | 166 +++++++++++---------
 .../{gcc-4.7.3-kos.diff => gcc-4.8.2-kos.diff} | 166 +++++++++++---------
 utils/dc-chain/unpack.sh | 27 +++-
 5 files changed, 261 insertions(+), 165 deletions(-)
 copy utils/dc-chain/patches/{gcc-4.7.3-kos.diff => gcc-4.8.1-kos.diff} (96%)
 copy utils/dc-chain/patches/{gcc-4.7.3-kos.diff => gcc-4.8.2-kos.diff} (96%)
diff --git a/utils/dc-chain/Makefile b/utils/dc-chain/Makefile
index 3f7a9ae..d3e0c79 100644
--- a/utils/dc-chain/Makefile
+++ b/utils/dc-chain/Makefile
@@ -29,10 +29,11 @@ kos_root=$(CURDIR)/../../..
 # kos_base: equivalent of KOS_BASE (contains include/ and kernel/)
 kos_base=$(CURDIR)/../..
 binutils_ver=2.23.2
-gcc_ver=4.7.3
+gcc_ver=4.8.2
 newlib_ver=2.0.0
 gdb_ver=6.7.1
 insight_ver=6.7.1
+
 # With GCC 4.x versions, the patches provide a kos thread model, so you should
 # use it. With 3.4.6, you probably want posix here. If you really don't want
 # threading support for C++ (or Objective C/Objective C++), you can set this to
@@ -57,6 +58,20 @@ pass2_languages=c,c++,objc,obj-c++
 # Change this if you don't have Bash installed in /bin
 SHELL = /bin/bash
 
+# GCC compiles fine with clang, but only if we use libstdc++ instead of libc++.
+UNAME_S := $(shell uname -s)
+ifeq ($(UNAME_S),Darwin)
+ ifneq ($(shell $(CXX) --version | grep clang),)
+ CXX := "$(CXX) -stdlib=libstdc++"
+ endif
+endif
+
+# Catch all...
+ifeq ($(CXX),)
+ CXX := g++
+endif
+
+
 # Makefile variables
 install=$(prefix)/bin
 pwd := $(shell pwd)
@@ -133,9 +148,11 @@ $(build_binutils): src_dir = binutils-$(binutils_ver)
 $(build_binutils): log = $(logdir)/$(build).log
 $(build_binutils): logdir
 	@echo "+++ Building $(src_dir) to $(build)..."
+	sed -e 's/ @colophon/ @@colophon/' -e 's/do...@cy.../doc@@cygnus.com/' $(src_dir)/bfd/doc/bfd.texinfo > $(src_dir)/bfd/doc/bfd.texinfo2
+	mv $(src_dir)/bfd/doc/bfd.texinfo2 $(src_dir)/bfd/doc/bfd.texinfo
 	-mkdir -p $(build)
 	> $(log)
-	cd $(build); ../$(src_dir)/configure --target=$(target) --prefix=$(prefix) --disable-werror $(to_log)
+	cd $(build); ../$(src_dir)/configure --target=$(target) --prefix=$(prefix) --disable-werror CXX=$(CXX) $(to_log)
 	make $(makejobs) -C $(build) DESTDIR=$(DESTDIR) $(to_log)
 	make -C $(build) install DESTDIR=$(DESTDIR) $(to_log)
 	$(clean_up)
@@ -147,7 +164,7 @@ $(build_gcc_pass1): logdir
 	@echo "+++ Building $(src_dir) to $(build) (pass 1)..."
 	-mkdir -p $(build)
 	> $(log)
-	cd $(build); ../$(src_dir)/configure --target=$(target) --prefix=$(prefix) --without-headers --with-newlib --enable-languages=c --disable-libssp --disable-tls $(extra_configure_args) $(to_log)
+	cd $(build); ../$(src_dir)/configure --target=$(target) --prefix=$(prefix) --without-headers --with-newlib --enable-languages=c --disable-libssp --disable-tls $(extra_configure_args) CXX=$(CXX) $(to_log)
 	make $(makejobs) -C $(build) DESTDIR=$(DESTDIR) $(to_log)
 	make -C $(build) install DESTDIR=$(DESTDIR) $(to_log)
 
@@ -185,7 +202,7 @@ $(build_gcc_pass2): logdir
 	-mkdir -p $(build)
 	> $(log)
 	cd $(build); ../$(src_dir)/configure --target=$(target) --prefix=$(prefix) --with-newlib --disable-libssp --disable-tls \
-	 --enable-threads=$(thread_model) --enable-languages=$(pass2_languages) $(extra_configure_args) $(to_log)
+	 --enable-threads=$(thread_model) --enable-languages=$(pass2_languages) $(extra_configure_args) CXX=$(CXX) $(to_log)
 	make $(makejobs) -C $(build) DESTDIR=$(DESTDIR) $(to_log)
 	make -C $(build) install DESTDIR=$(DESTDIR) $(to_log)
 	$(clean_up)
diff --git a/utils/dc-chain/download.sh b/utils/dc-chain/download.sh
index b61cee4..e5dce05 100755
--- a/utils/dc-chain/download.sh
+++ b/utils/dc-chain/download.sh
@@ -1,5 +1,41 @@
 #!/bin/sh
-wget -c ftp://ftp.gnu.org/gnu/binutils/binutils-2.23.2.tar.bz2 || exit 1
-wget -c ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.3/gcc-4.7.3.tar.bz2 || exit 1
-wget -c ftp://sourceware.org/pub/newlib/newlib-2.0.0.tar.gz || exit 1
 
+# These version numbers are all that should ever have to be changed.
+export GCC_VER=4.8.2
+export BINUTILS_VER=2.23.2
+export NEWLIB_VER=2.0.0
+export GMP_VER=5.1.3
+export MPFR_VER=3.1.2
+export MPC_VER=1.0.1
+
+# Download everything.
+if command -v wget >/dev/null 2>&1; then
+ echo "Downloading binutils-$BINUTILS_VER..."
+ wget -c ftp://ftp.gnu.org/gnu/binutils/binutils-$BINUTILS_VER.tar.bz2 || exit 1
+ echo "Downloading GCC $GCC_VER..."
+ wget -c ftp://ftp.gnu.org/gnu/gcc/gcc-$GCC_VER/gcc-$GCC_VER.tar.bz2 || exit 1
+ echo "Downloading Newlib $NEWLIB_VER..."
+ wget -c ftp://sourceware.org/pub/newlib/newlib-$NEWLIB_VER.tar.gz || exit 1
+ echo "Downloading GMP $GMP_VER..."
+ wget -c ftp://ftp.gnu.org/gnu/gmp/gmp-$GMP_VER.tar.bz2 || exit 1
+ echo "Downloading MPFR $MPFR_VER..."
+ wget -c http://www.mpfr.org/mpfr-current/mpfr-$MPFR_VER.tar.bz2 || exit 1
+ echo "Downloading MPC $MPC_VER..."
+ wget -c http://www.multiprecision.org/mpc/download/mpc-$MPC_VER.tar.gz || exit 1
+elif command -v curl >/dev/null 2>&1; then
+ echo "Downloading Binutils $BINUTILS_VER..."
+ curl -C - -O ftp://ftp.gnu.org/gnu/binutils/binutils-$BINUTILS_VER.tar.bz2 || exit 1
+ echo "Downloading GCC $GCC_VER..."
+ curl -C - -O ftp://ftp.gnu.org/gnu/gcc/gcc-$GCC_VER/gcc-$GCC_VER.tar.bz2 || exit 1
+ echo "Downloading Newlib $NEWLIB_VER..."
+ curl -C - -O ftp://sourceware.org/pub/newlib/newlib-$NEWLIB_VER.tar.gz || exit 1
+ echo "Downloading GMP $GMP_VER..."
+ curl -C - -O ftp://ftp.gnu.org/gnu/gmp/gmp-$GMP_VER.tar.bz2 || exit 1
+ echo "Downloading MPFR $MPFR_VER..."
+ curl -O http://www.mpfr.org/mpfr-current/mpfr-$MPFR_VER.tar.bz2 || exit 1
+ echo "Downloading MPC $MPC_VER..."
+ curl -O http://www.multiprecision.org/mpc/download/mpc-$MPC_VER.tar.gz || exit 1
+else
+ echo >&2 "You must have either wget or cURL installed to use this script!"
+ exit 1
+fi
diff --git a/utils/dc-chain/patches/gcc-4.7.3-kos.diff b/utils/dc-chain/patches/gcc-4.8.1-kos.diff
similarity index 96%
copy from utils/dc-chain/patches/gcc-4.7.3-kos.diff
copy to utils/dc-chain/patches/gcc-4.8.1-kos.diff
index cd3a5c4..8f581db 100644
--- a/utils/dc-chain/patches/gcc-4.7.3-kos.diff
+++ b/utils/dc-chain/patches/gcc-4.8.1-kos.diff
@@ -1,7 +1,7 @@
-diff -ruN gcc-4.7.3/gcc/configure gcc-4.7.3-kos/gcc/configure
---- gcc-4.7.3/gcc/configure	2013年02月06日 10:23:55.000000000 -0500
-+++ gcc-4.7.3-kos/gcc/configure	2013年05月17日 21:30:40.000000000 -0400
-@@ -11338,7 +11338,7 @@
+diff -ruN gcc-4.8.1/gcc/configure gcc-4.8.1-kos/gcc/configure
+--- gcc-4.8.1/gcc/configure	2013年05月08日 07:36:36.000000000 -0400
++++ gcc-4.8.1-kos/gcc/configure	2013年10月09日 14:49:41.000000000 -0400
+@@ -11107,7 +11107,7 @@
 target_thread_file='single'
 ;;
 aix | dce | lynx | mipssde | posix | rtems | \
@@ -10,12 +10,11 @@ diff -ruN gcc-4.7.3/gcc/configure gcc-4.7.3-kos/gcc/configure
 target_thread_file=${enable_threads}
 ;;
 *)
-diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.S
---- gcc-4.7.3/libgcc/config/sh/crt1.S	2011年11月02日 10:33:56.000000000 -0400
-+++ gcc-4.7.3-kos/libgcc/config/sh/crt1.S	2013年05月17日 21:34:42.000000000 -0400
-@@ -1,1369 +1,202 @@
--/* Copyright (C) 2000, 2001, 2003, 2004, 2005, 2006, 2009, 2011
-- Free Software Foundation, Inc.
+diff -ruN gcc-4.8.1/libgcc/config/sh/crt1.S gcc-4.8.1-kos/libgcc/config/sh/crt1.S
+--- gcc-4.8.1/libgcc/config/sh/crt1.S	2013年02月04日 14:06:20.000000000 -0500
++++ gcc-4.8.1-kos/libgcc/config/sh/crt1.S	2013年10月09日 15:02:12.000000000 -0400
+@@ -1,1368 +1,202 @@
+-/* Copyright (C) 2000-2013 Free Software Foundation, Inc.
 - This file was pretty much copied from newlib.
 +! KallistiOS ##version##
 +!
@@ -179,8 +178,7 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.
 -	shori	sym & 65535, reg
 -#endif
 -	.global start
-+_start:
- start:
+-start:
 -	LOAD_ADDR (_stack, r15)
 -
 -#ifdef MMU_SUPPORT
@@ -730,7 +728,8 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.
 -	.global	start
 -	.import ___rtos_profiler_start_timer
 -	.weak ___rtos_profiler_start_timer
--start:
++_start:
+ start:
 -	mov.l	stack_k,r15
 -
 -#if defined (__SH3__) || (defined (__SH_FPU_ANY__) && ! defined (__SH2A__)) || defined (__SH4_NOFPU__)
@@ -885,6 +884,8 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.
 
 -	! call the mainline	
 -	mov.l	main_k,r0
+-	jsr	@r0
+-	nop
 +#if defined (__SH_FPU_ANY__)
 +	! Save FPSCR
 +	mov.l	old_fpscr_addr,r0
@@ -894,16 +895,21 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.
 +	! Reset FPSCR
 +	mov	#4,r4		! Use 00040000 (DN=1)
 +	mov.l	fpscr_addr,r0
- 	jsr	@r0
--	nop
++ 	jsr	@r0
 +	shll16	r4
 +#endif
++
++	! Setup a sentinel value for frame pointer in case we're using
++	! FRAME_POINTERS for stack tracing.
++	mov	#-1,r14
 
 -	! call exit
 -	mov	r0,r4
 -	mov.l	exit_k,r0
--	jsr	@r0
--	nop
++	! Jump to the kernel main
++	mov.l	main_addr,r0
+ 	jsr	@r0
+ 	nop
 -	
 -		.balign 4
 -#ifdef PROFILE
@@ -912,17 +918,11 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.
 -	mov.l	profiling_enabled_k2, r0
 -	mov	#0, r1
 -	mov.l	r1, @r0
-+	! Setup a sentinel value for frame pointer in case we're using
-+	! FRAME_POINTERS for stack tracing.
-+	mov	#-1,r14
 
 -	# call mcleanup
 -	mov.l	mcleanup_k, r0
 -	jmp	@r0
-+	! Jump to the kernel main
-+	mov.l	main_addr,r0
-+	jsr	@r0
- 	nop
+-	nop
 -		
 -		.balign 4
 -mcleanup_k:
@@ -936,13 +936,38 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.
 -etext_k:
 -	.long __etext
 -#endif /* PROFILE */
--
++	! Program can return here (not likely) or jump here directly
++	! from anywhere in it to go straight back to the monitor
++_arch_real_exit:
++	! Reset SR
++	mov.l	old_sr,r0
++	ldc	r0,sr
++
++	! Disable MMU, invalidate TLB
++	mov	#4,r0
++	mov.l	mmu_addr,r1
++	mov.l	r0,@r1
++
++	! Wait (just in case)
++	nop				! 1
++	nop				! 2
++	nop				! 3
++	nop				! 4
++	nop				! 5
++	nop				! 6
++	nop				! 7
++	nop				! 8
++
++	! Restore VBR
++	mov.l	old_vbr,r0
++	ldc	r0,vbr
+ 
 -	.align 2
 -#if defined (__SH_FPU_ANY__)
 -set_fpscr_k:
 -	.long	___set_fpscr
 -#endif /* defined (__SH_FPU_ANY__) */
- 
+-
 -stack_k:
 -	.long	_stack	
 -edata_k:
@@ -971,32 +996,7 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.
 -	! Whether profiling or not, keep interrupts masked,
 -	! the RTOS will enable these if required.
 -	.long 0x600000f1 
-+	! Program can return here (not likely) or jump here directly
-+	! from anywhere in it to go straight back to the monitor
-+_arch_real_exit:
-+	! Reset SR
-+	mov.l	old_sr,r0
-+	ldc	r0,sr
-+
-+	! Disable MMU, invalidate TLB
-+	mov	#4,r0
-+	mov.l	mmu_addr,r1
-+	mov.l	r0,@r1
-+
-+	! Wait (just in case)
-+	nop				! 1
-+	nop				! 2
-+	nop				! 3
-+	nop				! 4
-+	nop				! 5
-+	nop				! 6
-+	nop				! 7
-+	nop				! 8
-+	
-+	! Restore VBR
-+	mov.l	old_vbr,r0
-+	ldc	r0,vbr
- 
+-
 -rtos_start_fn:
 -	.long ___rtos_profiler_start_timer
 -	
@@ -1006,27 +1006,28 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.
 -	! For bare machine, we need to enable interrupts to get profiling working
 -	.long 0x60000001
 -#else
-+	! If we're working under dcload, call its EXIT syscall
-+	mov.l	dcload_magic_addr,r0
-+	mov.l	@r0,r0
-+	mov.l	dcload_magic_value,r1
-+	cmp/eq	r0,r1
-+	bf	normal_exit
- 
+-
 -sr_initial_bare:
 -	! Privileged mode RB 1 BL 0. Keep BL 0 to allow default trap handlers to work.
 -	! Keep interrupts disabled - the application will enable as required.
 -	.long 0x600000f1
 -#endif
-+	mov.l	dcload_syscall,r0
++	! If we're working under dcload, call its EXIT syscall
++	mov.l	dcload_magic_addr,r0
 +	mov.l	@r0,r0
-+	jsr	@r0
-+	mov	#15,r4
++	mov.l	dcload_magic_value,r1
++	cmp/eq	r0,r1
++	bf	normal_exit
 
 -	! supplied for backward compatibility only, in case of linking
 -	! code whose main() was compiled with an older version of GCC.
 -	.global ___main
 -___main:
++	mov.l	dcload_syscall,r0
++	mov.l	@r0,r0
++	jsr	@r0
++	mov	#15,r4
++
 +	! Set back the stack and return (presumably to a serial debug)
 +normal_exit:
 +	mov.l	old_stack,r15
@@ -1564,9 +1565,9 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.
 -	.ualong	0x0
 -#endif /* VBR_SETUP */
 -#endif /* ! __SH5__ */
-diff -ruN gcc-4.7.3/libgcc/config/sh/fake-kos.S gcc-4.7.3-kos/libgcc/config/sh/fake-kos.S
---- gcc-4.7.3/libgcc/config/sh/fake-kos.S	1969年12月31日 19:00:00.000000000 -0500
-+++ gcc-4.7.3-kos/libgcc/config/sh/fake-kos.S	2013年05月17日 21:34:42.000000000 -0400
+diff -ruN gcc-4.8.1/libgcc/config/sh/fake-kos.S gcc-4.8.1-kos/libgcc/config/sh/fake-kos.S
+--- gcc-4.8.1/libgcc/config/sh/fake-kos.S	1969年12月31日 19:00:00.000000000 -0500
++++ gcc-4.8.1-kos/libgcc/config/sh/fake-kos.S	2013年10月09日 14:52:25.000000000 -0400
 @@ -0,0 +1,75 @@
 +! Weakly linked symbols used to get GCC to hopefully compile itself properly.
 +! These will be replaced by the real symbols in actual compiled programs.
@@ -1644,9 +1645,9 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/fake-kos.S gcc-4.7.3-kos/libgcc/config/sh/f
 + mov #-1, r0
 + 
 \ No newline at end of file
-diff -ruN gcc-4.7.3/libgcc/config/sh/gthr-kos.h gcc-4.7.3-kos/libgcc/config/sh/gthr-kos.h
---- gcc-4.7.3/libgcc/config/sh/gthr-kos.h	1969年12月31日 19:00:00.000000000 -0500
-+++ gcc-4.7.3-kos/libgcc/config/sh/gthr-kos.h	2013年05月17日 21:36:10.000000000 -0400
+diff -ruN gcc-4.8.1/libgcc/config/sh/gthr-kos.h gcc-4.8.1-kos/libgcc/config/sh/gthr-kos.h
+--- gcc-4.8.1/libgcc/config/sh/gthr-kos.h	1969年12月31日 19:00:00.000000000 -0500
++++ gcc-4.8.1-kos/libgcc/config/sh/gthr-kos.h	2013年10月09日 15:34:26.000000000 -0400
 @@ -0,0 +1,355 @@
 +/* Copyright (C) 2009, 2010, 2011, 2012 Lawrence Sebald */
 +
@@ -2003,10 +2004,10 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/gthr-kos.h gcc-4.7.3-kos/libgcc/config/sh/g
 +#endif /* _LIBOBJC */
 +
 +#endif /* ! GCC_GTHR_KOS_H */
-diff -ruN gcc-4.7.3/libgcc/config/sh/t-sh gcc-4.7.3-kos/libgcc/config/sh/t-sh
---- gcc-4.7.3/libgcc/config/sh/t-sh	2011年11月07日 12:14:32.000000000 -0500
-+++ gcc-4.7.3-kos/libgcc/config/sh/t-sh	2013年05月17日 21:33:11.000000000 -0400
-@@ -24,6 +24,8 @@
+diff -ruN gcc-4.8.1/libgcc/config/sh/t-sh gcc-4.8.1-kos/libgcc/config/sh/t-sh
+--- gcc-4.8.1/libgcc/config/sh/t-sh	2013年02月04日 14:06:20.000000000 -0500
++++ gcc-4.8.1-kos/libgcc/config/sh/t-sh	2013年10月09日 14:51:38.000000000 -0400
+@@ -23,6 +23,8 @@
 $(LIB1ASMFUNCS_CACHE)
 LIB1ASMFUNCS_CACHE = _ic_invalidate _ic_invalidate_array
 
@@ -2015,14 +2016,25 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/t-sh gcc-4.7.3-kos/libgcc/config/sh/t-sh
 crt1.o: $(srcdir)/config/sh/crt1.S
 	$(gcc_compile) -c $<
 
-diff -ruN gcc-4.7.3/libgcc/configure gcc-4.7.3-kos/libgcc/configure
---- gcc-4.7.3/libgcc/configure	2012年08月06日 10:34:27.000000000 -0400
-+++ gcc-4.7.3-kos/libgcc/configure	2013年05月17日 21:32:08.000000000 -0400
-@@ -4480,6 +4480,7 @@
+diff -ruN gcc-4.8.1/libgcc/configure gcc-4.8.1-kos/libgcc/configure
+--- gcc-4.8.1/libgcc/configure	2012年11月04日 18:08:42.000000000 -0500
++++ gcc-4.8.1-kos/libgcc/configure	2013年10月09日 14:50:54.000000000 -0400
+@@ -4517,6 +4517,7 @@
+ tpf)	thread_header=config/s390/gthr-tpf.h ;;
+ vxworks)	thread_header=config/gthr-vxworks.h ;;
+ win32)	thread_header=config/i386/gthr-win32.h ;;
++ kos)	thread_header=config/sh/gthr-kos.h ;;
+ esac
+ 
+ 
+diff -ruN gcc-4.8.1/libstdc++-v3/configure gcc-4.8.1-kos/libstdc++-v3/configure
+--- gcc-4.8.1/libstdc++-v3/configure	2013年05月24日 14:10:37.000000000 -0400
++++ gcc-4.8.1-kos/libstdc++-v3/configure	2013年10月09日 15:25:48.000000000 -0400
+@@ -15172,6 +15172,7 @@
 tpf)	thread_header=config/s390/gthr-tpf.h ;;
 vxworks)	thread_header=config/gthr-vxworks.h ;;
 win32)	thread_header=config/i386/gthr-win32.h ;;
 + kos)	thread_header=config/sh/gthr-kos.h ;;
 esac
 
- # Substitute configuration variables
+ 
diff --git a/utils/dc-chain/patches/gcc-4.7.3-kos.diff b/utils/dc-chain/patches/gcc-4.8.2-kos.diff
similarity index 96%
copy from utils/dc-chain/patches/gcc-4.7.3-kos.diff
copy to utils/dc-chain/patches/gcc-4.8.2-kos.diff
index cd3a5c4..8f581db 100644
--- a/utils/dc-chain/patches/gcc-4.7.3-kos.diff
+++ b/utils/dc-chain/patches/gcc-4.8.2-kos.diff
@@ -1,7 +1,7 @@
-diff -ruN gcc-4.7.3/gcc/configure gcc-4.7.3-kos/gcc/configure
---- gcc-4.7.3/gcc/configure	2013年02月06日 10:23:55.000000000 -0500
-+++ gcc-4.7.3-kos/gcc/configure	2013年05月17日 21:30:40.000000000 -0400
-@@ -11338,7 +11338,7 @@
+diff -ruN gcc-4.8.1/gcc/configure gcc-4.8.1-kos/gcc/configure
+--- gcc-4.8.1/gcc/configure	2013年05月08日 07:36:36.000000000 -0400
++++ gcc-4.8.1-kos/gcc/configure	2013年10月09日 14:49:41.000000000 -0400
+@@ -11107,7 +11107,7 @@
 target_thread_file='single'
 ;;
 aix | dce | lynx | mipssde | posix | rtems | \
@@ -10,12 +10,11 @@ diff -ruN gcc-4.7.3/gcc/configure gcc-4.7.3-kos/gcc/configure
 target_thread_file=${enable_threads}
 ;;
 *)
-diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.S
---- gcc-4.7.3/libgcc/config/sh/crt1.S	2011年11月02日 10:33:56.000000000 -0400
-+++ gcc-4.7.3-kos/libgcc/config/sh/crt1.S	2013年05月17日 21:34:42.000000000 -0400
-@@ -1,1369 +1,202 @@
--/* Copyright (C) 2000, 2001, 2003, 2004, 2005, 2006, 2009, 2011
-- Free Software Foundation, Inc.
+diff -ruN gcc-4.8.1/libgcc/config/sh/crt1.S gcc-4.8.1-kos/libgcc/config/sh/crt1.S
+--- gcc-4.8.1/libgcc/config/sh/crt1.S	2013年02月04日 14:06:20.000000000 -0500
++++ gcc-4.8.1-kos/libgcc/config/sh/crt1.S	2013年10月09日 15:02:12.000000000 -0400
+@@ -1,1368 +1,202 @@
+-/* Copyright (C) 2000-2013 Free Software Foundation, Inc.
 - This file was pretty much copied from newlib.
 +! KallistiOS ##version##
 +!
@@ -179,8 +178,7 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.
 -	shori	sym & 65535, reg
 -#endif
 -	.global start
-+_start:
- start:
+-start:
 -	LOAD_ADDR (_stack, r15)
 -
 -#ifdef MMU_SUPPORT
@@ -730,7 +728,8 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.
 -	.global	start
 -	.import ___rtos_profiler_start_timer
 -	.weak ___rtos_profiler_start_timer
--start:
++_start:
+ start:
 -	mov.l	stack_k,r15
 -
 -#if defined (__SH3__) || (defined (__SH_FPU_ANY__) && ! defined (__SH2A__)) || defined (__SH4_NOFPU__)
@@ -885,6 +884,8 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.
 
 -	! call the mainline	
 -	mov.l	main_k,r0
+-	jsr	@r0
+-	nop
 +#if defined (__SH_FPU_ANY__)
 +	! Save FPSCR
 +	mov.l	old_fpscr_addr,r0
@@ -894,16 +895,21 @@ diff -ruN gcc-4.7.3/libgcc/config/sh/crt1.S gcc-4.7.3-kos/libgcc/config/sh/crt1.
 +	! Reset FPSCR
 +	mov	#4,r4		! Use 00040000 (DN=1)
 +	mov.l	fpscr_addr,r0
- 	jsr	@r0
--	nop
++ 	jsr	@r0
 +	shll16	r4
 +#endif
++
++	! Setup a sentinel value for frame pointer in case we're using
++	! FRAME_POINTERS for stack tracing.
++	mov	#-1,r14
 
 -	! call exit
 -	mov	r0,r4
 -	mov.l	exit_k,r0
--	jsr	@r0
--	nop
++	! Jump to the kernel main
++	mov.l	main_addr,r0
+ 	jsr	@r0
...<truncated>...
hooks/post-receive
-- 
A pseudo Operating System for the Dreamcast.
From: Lawrence S. <ljs...@us...> - 2013年11月11日 03:23:08
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, master has been updated
 via d4348100d82ba60f8ad9d3f1809e00cdfd3873b7 (commit)
 from 0e31085b79f865558b8561fa6f437b0392abb32d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d4348100d82ba60f8ad9d3f1809e00cdfd3873b7
Author: Lawrence Sebald <ljs...@us...>
Date: Sun Nov 10 22:22:40 2013 -0500
 Clang won't build binutils because of some warnings. Make them not be errors.
-----------------------------------------------------------------------
Summary of changes:
 utils/dc-chain/Makefile | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/utils/dc-chain/Makefile b/utils/dc-chain/Makefile
index d37f83e..3f7a9ae 100644
--- a/utils/dc-chain/Makefile
+++ b/utils/dc-chain/Makefile
@@ -135,7 +135,7 @@ $(build_binutils): logdir
 	@echo "+++ Building $(src_dir) to $(build)..."
 	-mkdir -p $(build)
 	> $(log)
-	cd $(build); ../$(src_dir)/configure --target=$(target) --prefix=$(prefix) $(to_log)
+	cd $(build); ../$(src_dir)/configure --target=$(target) --prefix=$(prefix) --disable-werror $(to_log)
 	make $(makejobs) -C $(build) DESTDIR=$(DESTDIR) $(to_log)
 	make -C $(build) install DESTDIR=$(DESTDIR) $(to_log)
 	$(clean_up)
hooks/post-receive
-- 
A pseudo Operating System for the Dreamcast.

Showing 2 results of 2

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /