Date: Sun, 25 Jan 1998 07:07:04 -0800 (PST) From: giffunip@asme.org To: freebsd-gnats-submit@FreeBSD.ORG Subject: ports/5564: Update to the crosssco port Message-ID: <199801251507.HAA11586@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 5564 >Category: ports >Synopsis: Update to the crosssco port >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 25 07:10:00 PST 1998 >Last-Modified: >Originator: Pedro F. Giffuni >Organization: U. Nacional de Colombia >Release: 2.2.5-R >Environment: >Description: I updated the libraries and utilities. The binutils update is particularly important: it may be required when we move to ELF. The new building method will make this port much easier to maintain. >How-To-Repeat: I also changed the target from 1386-sco to 1386-coff. I'm not sure what the effect will be, but the new target represents better what the kit really is. >Fix: diff -rNu /cdrom/ports/devel/crosssco/Makefile crosssco/Makefile --- /cdrom/ports/devel/crosssco/Makefile Tue Apr 29 22:17:57 1997 +++ crosssco/Makefile Sat Jan 24 21:21:20 1998 @@ -1,30 +1,48 @@ # New ports collection makefile for: crosssco -# Version required: 1.3 +# Version required: 1.4 # Date created: 26 Mar 96 -# Whom: Pedro Giffuni <pgiffuni@fps.biblos.unal.edu.co> +# Whom: Pedro Giffuni <giffunip@asme.org> # # $Id: Makefile,v 1.3 1997/04/30 03:17:57 asami Exp $ # -DISTNAME= crosstree-1.3 -PKGNAME= crosssco-1.3 +DISTNAME= gcc-2.7.2.2 +PKGNAME= crosssco-1.4 CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_LOCAL} - -MAINTAINER= pgiffuni@fps.biblos.unal.edu.co +MASTER_SITES= ftp://ftp.cygnus.com/pub/newlib/ \ + ${MASTER_SITE_GNU} +DISTFILES= binutils-2.8.1.tar.gz \ + ${DISTNAME}.tar.gz \ + newlib-1.8.0.tar.gz + +MAINTAINER= giffunip@asme.org + +PATCH_SITE= ftp://ftp.cygnus.com/pub/embedded/crossgcc/ +PATCHFILES= crossgcc-${DISTNAME}.patch +PATCH_DIST_STRIP=-p1 --directory=${WRKDIR}/${DISTNAME} +WRKSRC= ${WRKDIR}/src USE_GMAKE= yes -TARGET= i386-sco -#COMPAT= /compat/ibcs2 - GNU_CONFIGURE= yes + +TARGET= i386-coff CONFIGURE_ARGS= --target=${TARGET} -pre-build: - (cd $(WRKSRC)/gcc/; uudecode ${FILESDIR}/libgcc1.a.uu) +MAN1= i386-coff-ar.1 i386-coff-nm.1 i386-coff-objdump.1 \ + i386-coff-ranlib.1 i386-coff-size.1 i386-coff-strings.1 \ + i386-coff-strip.1 i386-coff-objcopy.1 i386-coff-nlmconv.1 \ + i386-coff-c++filt.1 configure.1 i386-coff-as.1 i386-coff-ld.1 \ + i386-coff-g++.1 i386-coff-gcc.1 cccp.1 + +post-extract: + (cd $(WRKDIR); sh ${SCRIPTDIR}/one-tree-1.4.sh) + (cd ${WRKDIR}/${DISTNAME}; uudecode ${FILESDIR}/libgcc1.a.uu) -#pre-install: -# mkdir $(COMPAT) -# ln -s $(COMPAT) $(PREFIX)/$(TARGET) +# This is ONLY recommended if you are NOT planning to use +# native SCO libraries for emulation +# +#post-install: +#COMPAT= /compat/ibcs2 +# ln -s $(PREFIX)/$(TARGET) $(COMPAT) .include <bsd.port.mk> diff -rNu /cdrom/ports/devel/crosssco/files/md5 crosssco/files/md5 --- /cdrom/ports/devel/crosssco/files/md5 Wed Apr 9 14:30:09 1997 +++ crosssco/files/md5 Sat Jan 24 20:27:54 1998 @@ -1 +1,4 @@ -MD5 (crosstree-1.3.tar.gz) = 02a77d3892c93aa6cfeeebe39e949051 +MD5 (binutils-2.8.1.tar.gz) = 787229d600b8bb58fe7e75ea30445e44 +MD5 (gcc-2.7.2.2.tar.gz) = 39c6383e7d19405bfdcbe3682dbcd04d +MD5 (newlib-1.8.0.tar.gz) = 59c948c481ddbfd7658dd8dbe940d8f0 +MD5 (crossgcc-gcc-2.7.2.2.patch) = 334b66d06bc22a2cba3cb0ceab2142f3 diff -rNu /cdrom/ports/devel/crosssco/patches/patch-ac crosssco/patches/patch-ac --- /cdrom/ports/devel/crosssco/patches/patch-ac Fri Apr 11 12:10:35 1997 +++ crosssco/patches/patch-ac Sat Jan 24 23:15:24 1998 @@ -9,28 +9,6 @@ CC_FOR_BUILD = $(CC) ---- ./gas/Makefile.in~ Fri Apr 11 08:42:33 1997 -+++ ./gas/Makefile.in Fri Apr 11 08:42:33 1997 -@@ -72,7 +72,7 @@ - TEXI2DVI = texi2dvi - RANLIB = ranlib - CC = @CC@ --CFLAGS = -g -+CFLAGS = -O - LDFLAGS = - HLDFLAGS = @HLDFLAGS@ - RPATH_ENVVAR = @RPATH_ENVVAR@ ---- ./gprof/Makefile.in~ Fri Apr 11 08:42:36 1997 -+++ ./gprof/Makefile.in Fri Apr 11 08:42:36 1997 -@@ -51,7 +51,7 @@ - # Files that can be generated, but should be included in distribution. - GEN_FILES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c - --CFLAGS=-g -DDEBUG -+CFLAGS=-O -DDEBUG - LDFLAGS= - HLDFLAGS = @HLDFLAGS@ - .c.o: --- ./libiberty/Makefile.in~ Fri Apr 11 08:42:39 1997 +++ ./libiberty/Makefile.in Fri Apr 11 08:42:39 1997 @@ -68,7 +68,7 @@ @@ -64,17 +42,6 @@ # Additional options to use when compiling libgcc2.a. # Some targets override this to -Iinclude ---- ./libgloss/m68k/Makefile.in~ Fri Apr 11 08:45:36 1997 -+++ ./libgloss/m68k/Makefile.in Fri Apr 11 08:45:36 1997 -@@ -58,7 +58,7 @@ - lseek.o open.o print.o putnum.o read.o sbrk.o stat.o \ - unlink.o write.o - --CFLAGS = -g -+CFLAGS = -O - - # - # here's all the MVME135 target stuff --- ./libgloss/mips/Makefile.in~ Fri Apr 11 08:45:39 1997 +++ ./libgloss/mips/Makefile.in Fri Apr 11 08:45:39 1997 @@ -51,7 +51,7 @@ @@ -86,28 +53,6 @@ GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \ then echo -L${objroot}/../gcc ; fi` ---- ./libgloss/pa/Makefile.in~ Fri Apr 11 08:45:41 1997 -+++ ./libgloss/pa/Makefile.in Fri Apr 11 08:45:41 1997 -@@ -51,7 +51,7 @@ - lseek.o open.o print.o putnum.o read.o sbrk.o stat.o \ - unlink.o write.o hp-milli.o - --CFLAGS = -g -+CFLAGS = -O - - MULTILIB = -msoft-float - ---- ./libgloss/rs6000/Makefile.in~ Fri Apr 11 08:45:43 1997 -+++ ./libgloss/rs6000/Makefile.in Fri Apr 11 08:45:43 1997 -@@ -39,7 +39,7 @@ - else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi` - - OBJS = close.o fstat.o getpid.o isatty.o kill.o lseek.o open.o putnum.o stat.o unlink.o --CFLAGS = -g -+CFLAGS = -O - SCRIPTS = ${SIM_SCRIPTS} ${MVME_SCRIPTS} ${EVM_SCRIPTS} - - # Here is all of the simulator stuff --- libgloss/testsuite/libgloss.all/#Makefile.in~ Fri Apr 11 09:00:17 1997 +++ libgloss/testsuite/libgloss.all/Makefile.in Fri Apr 11 09:00:17 1997 @@ -15,8 +15,8 @@ diff -rNu /cdrom/ports/devel/crosssco/patches/patch-ad crosssco/patches/patch-ad --- /cdrom/ports/devel/crosssco/patches/patch-ad Wed Dec 31 19:00:00 1969 +++ crosssco/patches/patch-ad Sat Jan 24 23:08:08 1998 @@ -0,0 +1,76 @@ +*** gas/Makefile.in.orig Mon May 26 12:42:26 1997 +--- gas/Makefile.in Sat Jan 24 23:00:53 1998 +*************** +*** 78,84 **** + HLDFLAGS = @HLDFLAGS@ + HLDENV = @HLDENV@ + RPATH_ENVVAR = @RPATH_ENVVAR@ +! CFLAGS = -g + LDFLAGS = + DEP = mkdep + +--- 78,84 ---- + HLDFLAGS = @HLDFLAGS@ + HLDENV = @HLDENV@ + RPATH_ENVVAR = @RPATH_ENVVAR@ +! CFLAGS = -O + LDFLAGS = + DEP = mkdep + +*** libgloss/m68k/Makefile.in.orig Fri Mar 14 17:38:20 1997 +--- libgloss/m68k/Makefile.in Sat Jan 24 22:56:02 1998 +*************** +*** 65,71 **** + lseek.o open.o print.o putnum.o read.o sbrk.o stat.o \ + unlink.o write.o + +! CFLAGS = -g + # ARFLAGS = rv + + CRT0 = crt0.o +--- 65,71 ---- + lseek.o open.o print.o putnum.o read.o sbrk.o stat.o \ + unlink.o write.o + +! CFLAGS = -O + # ARFLAGS = rv + + CRT0 = crt0.o +*** libgloss/pa/Makefile.in.orig Tue Jun 25 08:52:53 1996 +--- libgloss/pa/Makefile.in Sat Jan 24 22:56:51 1998 +*************** +*** 59,65 **** + lseek.o open.o print.o putnum.o read.o sbrk.o stat.o \ + unlink.o write.o hp-milli.o + +! CFLAGS = -g + # ARFLAGS = rv + + # +--- 59,65 ---- + lseek.o open.o print.o putnum.o read.o sbrk.o stat.o \ + unlink.o write.o hp-milli.o + +! CFLAGS = -O + # ARFLAGS = rv + + # +*** libgloss/rs6000/Makefile.in.orig Mon Nov 11 15:22:14 1996 +--- libgloss/rs6000/Makefile.in Sat Jan 24 22:58:02 1998 +*************** +*** 59,65 **** + else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi` + + OBJS = fstat.o getpid.o isatty.o kill.o putnum.o stat.o unlink.o +! CFLAGS = -g + SCRIPTS = ${SIM_SCRIPTS} ${MVME_SCRIPTS} ${EVM_SCRIPTS} + + # Here is all of the simulator stuff +--- 59,65 ---- + else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi` + + OBJS = fstat.o getpid.o isatty.o kill.o putnum.o stat.o unlink.o +! CFLAGS = -O + SCRIPTS = ${SIM_SCRIPTS} ${MVME_SCRIPTS} ${EVM_SCRIPTS} + + # Here is all of the simulator stuff diff -rNu /cdrom/ports/devel/crosssco/pkg/DESCR crosssco/pkg/DESCR --- /cdrom/ports/devel/crosssco/pkg/DESCR Thu Apr 10 09:10:39 1997 +++ crosssco/pkg/DESCR Sat Jan 24 22:32:39 1998 @@ -1,15 +1,20 @@ -This package permits the creation of Santa Cruz Operation Unix (R) -executables in COFF format. +This package permits the creation of COFF executables used in Santa Cruz +Operation Unix (R) and other variants. No part of this package was built +using SCO or any UNIX variant. + The package is composed of the following utilities: -GNU`s misc. utilities binutils-2.7 -The GNU's C Compiler gcc-2.7.2.2 + crosspatch -Cygnus's embedded libraries newlib-1.7.1 +The GNU's C Compiler gcc-2.7.2.2 + crosspatch +GNU`s misc. utilities binutils-2.8.1 +Cygnus's embedded libraries newlib-1.8.0 -This package doesn't rquire IBCS2 emulation for building, but it is +This package doesn't require IBCS2 emulation for building, but it is required if you want to execute your programs. +For more information on using GCC as a crosscompiler please consult: + ftp://ftp.cygnus.com/pub/embedded/crossgcc/FAQ + +Note: If you want to produce ELF, you could rebuild this port with a +different target, this is untested but should work. -Note: If you want to produce ELF, you will have to rebuild this port -with a different target, this is untested. _________ Pedro Giffuni S. -pgiffuni@fps.biblos.unal.edu.co +giffunip@asme.org diff -rNu /cdrom/ports/devel/crosssco/pkg/PLIST crosssco/pkg/PLIST --- /cdrom/ports/devel/crosssco/pkg/PLIST Wed Apr 9 14:30:09 1997 +++ crosssco/pkg/PLIST Thu Dec 18 09:19:38 1997 @@ -1,93 +1,93 @@ -bin/i386-sco-c++ -bin/i386-sco-size -bin/i386-sco-objdump -bin/i386-sco-nm -bin/i386-sco-ar -bin/i386-sco-strings -bin/i386-sco-strip -bin/i386-sco-ranlib -bin/i386-sco-c++filt -bin/i386-sco-objcopy -bin/i386-sco-as -bin/i386-sco-gasp -bin/i386-sco-ld -bin/i386-sco-g++ +bin/i386-coff-c++ +bin/i386-coff-size +bin/i386-coff-objdump +bin/i386-coff-nm +bin/i386-coff-ar +bin/i386-coff-strings +bin/i386-coff-strip +bin/i386-coff-ranlib +bin/i386-coff-c++filt +bin/i386-coff-objcopy +bin/i386-coff-as +bin/i386-coff-gasp +bin/i386-coff-ld +bin/i386-coff-g++ bin/protoize bin/unprotoize -bin/i386-sco-gcc -i386-sco/bin/nm -i386-sco/bin/strip -i386-sco/bin/ar -i386-sco/bin/ranlib -i386-sco/bin/as -i386-sco/bin/ld -i386-sco/bin/gcc -i386-sco/lib/ldscripts/i386coff.x -i386-sco/lib/ldscripts/i386coff.xbn -i386-sco/lib/ldscripts/i386coff.xn -i386-sco/lib/ldscripts/i386coff.xr -i386-sco/lib/ldscripts/i386coff.xu -i386-sco/lib/libg.a -i386-sco/lib/libc.a -i386-sco/lib/crt0.o -i386-sco/lib/libm.a -i386-sco/lib/libiberty.a -i386-sco/include/machine/fastmath.h -i386-sco/include/machine/ieeefp.h -i386-sco/include/machine/setjmp-dj.h -i386-sco/include/machine/setjmp.h -i386-sco/include/machine/types.h -i386-sco/include/_ansi.h -i386-sco/include/_syslist.h -i386-sco/include/ar.h -i386-sco/include/assert.h -i386-sco/include/ctype.h -i386-sco/include/dirent.h -i386-sco/include/errno.h -i386-sco/include/fastmath.h -i386-sco/include/fcntl.h -i386-sco/include/grp.h -i386-sco/include/ieeefp.h -i386-sco/include/locale.h -i386-sco/include/math.h -i386-sco/include/paths.h -i386-sco/include/process.h -i386-sco/include/pwd.h -i386-sco/include/reent.h -i386-sco/include/regdef.h -i386-sco/include/setjmp.h -i386-sco/include/signal.h -i386-sco/include/stdio.h -i386-sco/include/stdlib.h -i386-sco/include/string.h -i386-sco/include/termios.h -i386-sco/include/time.h -i386-sco/include/sys/_types.h -i386-sco/include/sys/config.h -i386-sco/include/sys/dirent.h -i386-sco/include/sys/errno.h -i386-sco/include/sys/fcntl.h -i386-sco/include/sys/file.h -i386-sco/include/sys/param.h -i386-sco/include/sys/reent.h -i386-sco/include/sys/resource.h -i386-sco/include/sys/signal.h -i386-sco/include/sys/stat-dj.h -i386-sco/include/sys/stat.h -i386-sco/include/sys/time.h -i386-sco/include/sys/times.h -i386-sco/include/sys/types.h -i386-sco/include/sys/unistd.h -i386-sco/include/sys/wait.h -i386-sco/include/sys/setjmp.h -i386-sco/include/sys/termio.h -i386-sco/include/sys/termios.h -i386-sco/include/sys/utime.h -i386-sco/include/sys/utmp.h -i386-sco/include/unctrl.h -i386-sco/include/unistd.h -i386-sco/include/utime.h -i386-sco/include/utmp.h +bin/i386-coff-gcc +i386-coff/bin/nm +i386-coff/bin/strip +i386-coff/bin/ar +i386-coff/bin/ranlib +i386-coff/bin/as +i386-coff/bin/ld +i386-coff/bin/gcc +i386-coff/lib/ldscripts/i386coff.x +i386-coff/lib/ldscripts/i386coff.xbn +i386-coff/lib/ldscripts/i386coff.xn +i386-coff/lib/ldscripts/i386coff.xr +i386-coff/lib/ldscripts/i386coff.xu +i386-coff/lib/libg.a +i386-coff/lib/libc.a +i386-coff/lib/crt0.o +i386-coff/lib/libm.a +i386-coff/lib/libiberty.a +i386-coff/include/machine/fastmath.h +i386-coff/include/machine/ieeefp.h +i386-coff/include/machine/setjmp-dj.h +i386-coff/include/machine/setjmp.h +i386-coff/include/machine/types.h +i386-coff/include/_ansi.h +i386-coff/include/_syslist.h +i386-coff/include/ar.h +i386-coff/include/assert.h +i386-coff/include/ctype.h +i386-coff/include/dirent.h +i386-coff/include/errno.h +i386-coff/include/fastmath.h +i386-coff/include/fcntl.h +i386-coff/include/grp.h +i386-coff/include/ieeefp.h +i386-coff/include/locale.h +i386-coff/include/math.h +i386-coff/include/paths.h +i386-coff/include/process.h +i386-coff/include/pwd.h +i386-coff/include/reent.h +i386-coff/include/regdef.h +i386-coff/include/setjmp.h +i386-coff/include/signal.h +i386-coff/include/stdio.h +i386-coff/include/stdlib.h +i386-coff/include/string.h +i386-coff/include/termios.h +i386-coff/include/time.h +i386-coff/include/sys/_types.h +i386-coff/include/sys/config.h +i386-coff/include/sys/dirent.h +i386-coff/include/sys/errno.h +i386-coff/include/sys/fcntl.h +i386-coff/include/sys/file.h +i386-coff/include/sys/param.h +i386-coff/include/sys/reent.h +i386-coff/include/sys/resource.h +i386-coff/include/sys/signal.h +i386-coff/include/sys/stat-dj.h +i386-coff/include/sys/stat.h +i386-coff/include/sys/time.h +i386-coff/include/sys/times.h +i386-coff/include/sys/types.h +i386-coff/include/sys/unistd.h +i386-coff/include/sys/wait.h +i386-coff/include/sys/setjmp.h +i386-coff/include/sys/termio.h +i386-coff/include/sys/termios.h +i386-coff/include/sys/utime.h +i386-coff/include/sys/utmp.h +i386-coff/include/unctrl.h +i386-coff/include/unistd.h +i386-coff/include/utime.h +i386-coff/include/utmp.h include/bfd.h include/ansidecl.h include/bfdlink.h @@ -123,61 +123,61 @@ info/gcc.info-8 info/gcc.info-9 lib/libiberty.a -lib/libi386-sco-bfd.a -lib/gcc-lib/i386-sco/2.7.2.2/include/syslimits.h -lib/gcc-lib/i386-sco/2.7.2.2/include/objc/hash.h -lib/gcc-lib/i386-sco/2.7.2.2/include/objc/list.h -lib/gcc-lib/i386-sco/2.7.2.2/include/objc/sarray.h -lib/gcc-lib/i386-sco/2.7.2.2/include/objc/objc.h -lib/gcc-lib/i386-sco/2.7.2.2/include/objc/objc-api.h -lib/gcc-lib/i386-sco/2.7.2.2/include/objc/NXConstStr.h -lib/gcc-lib/i386-sco/2.7.2.2/include/objc/Object.h -lib/gcc-lib/i386-sco/2.7.2.2/include/objc/Protocol.h -lib/gcc-lib/i386-sco/2.7.2.2/include/objc/encoding.h -lib/gcc-lib/i386-sco/2.7.2.2/include/objc/typedstream.h -lib/gcc-lib/i386-sco/2.7.2.2/include/stdarg.h -lib/gcc-lib/i386-sco/2.7.2.2/include/stddef.h -lib/gcc-lib/i386-sco/2.7.2.2/include/varargs.h -lib/gcc-lib/i386-sco/2.7.2.2/include/va-alpha.h -lib/gcc-lib/i386-sco/2.7.2.2/include/va-h8300.h -lib/gcc-lib/i386-sco/2.7.2.2/include/va-i860.h -lib/gcc-lib/i386-sco/2.7.2.2/include/va-i960.h -lib/gcc-lib/i386-sco/2.7.2.2/include/va-mips.h -lib/gcc-lib/i386-sco/2.7.2.2/include/va-m88k.h -lib/gcc-lib/i386-sco/2.7.2.2/include/va-pa.h -lib/gcc-lib/i386-sco/2.7.2.2/include/va-pyr.h -lib/gcc-lib/i386-sco/2.7.2.2/include/va-sparc.h -lib/gcc-lib/i386-sco/2.7.2.2/include/va-clipper.h -lib/gcc-lib/i386-sco/2.7.2.2/include/va-spur.h -lib/gcc-lib/i386-sco/2.7.2.2/include/iso646.h -lib/gcc-lib/i386-sco/2.7.2.2/include/va-ppc.h -lib/gcc-lib/i386-sco/2.7.2.2/include/proto.h -lib/gcc-lib/i386-sco/2.7.2.2/include/limits.h -lib/gcc-lib/i386-sco/2.7.2.2/include/README -lib/gcc-lib/i386-sco/2.7.2.2/include/float.h -lib/gcc-lib/i386-sco/2.7.2.2/cc1 -lib/gcc-lib/i386-sco/2.7.2.2/cc1obj -lib/gcc-lib/i386-sco/2.7.2.2/cc1plus -lib/gcc-lib/i386-sco/2.7.2.2/crtbegin.o -lib/gcc-lib/i386-sco/2.7.2.2/crtend.o -lib/gcc-lib/i386-sco/2.7.2.2/specs -lib/gcc-lib/i386-sco/2.7.2.2/SYSCALLS.c.X -lib/gcc-lib/i386-sco/2.7.2.2/cpp -lib/gcc-lib/i386-sco/2.7.2.2/libgcc.a -lib/libi386-sco-opcodes.a -man/man1/i386-sco-ar.1 -man/man1/i386-sco-nm.1 -man/man1/i386-sco-objdump.1 -man/man1/i386-sco-ranlib.1 -man/man1/i386-sco-size.1 -man/man1/i386-sco-strings.1 -man/man1/i386-sco-strip.1 -man/man1/i386-sco-objcopy.1 -man/man1/i386-sco-nlmconv.1 -man/man1/i386-sco-c++filt.1 -man/man1/configure.1 -man/man1/i386-sco-as.1 -man/man1/i386-sco-ld.1 -man/man1/i386-sco-g++.1 -man/man1/i386-sco-gcc.1 -man/man1/cccp.1 +lib/libi386-coff-bfd.a +lib/gcc-lib/i386-coff/2.7.2.2/include/syslimits.h +lib/gcc-lib/i386-coff/2.7.2.2/include/objc/hash.h +lib/gcc-lib/i386-coff/2.7.2.2/include/objc/list.h +lib/gcc-lib/i386-coff/2.7.2.2/include/objc/sarray.h +lib/gcc-lib/i386-coff/2.7.2.2/include/objc/objc.h +lib/gcc-lib/i386-coff/2.7.2.2/include/objc/objc-api.h +lib/gcc-lib/i386-coff/2.7.2.2/include/objc/NXConstStr.h +lib/gcc-lib/i386-coff/2.7.2.2/include/objc/Object.h +lib/gcc-lib/i386-coff/2.7.2.2/include/objc/Protocol.h +lib/gcc-lib/i386-coff/2.7.2.2/include/objc/encoding.h +lib/gcc-lib/i386-coff/2.7.2.2/include/objc/typedstream.h +lib/gcc-lib/i386-coff/2.7.2.2/include/stdarg.h +lib/gcc-lib/i386-coff/2.7.2.2/include/stddef.h +lib/gcc-lib/i386-coff/2.7.2.2/include/varargs.h +lib/gcc-lib/i386-coff/2.7.2.2/include/va-alpha.h +lib/gcc-lib/i386-coff/2.7.2.2/include/va-h8300.h +lib/gcc-lib/i386-coff/2.7.2.2/include/va-i860.h +lib/gcc-lib/i386-coff/2.7.2.2/include/va-i960.h +lib/gcc-lib/i386-coff/2.7.2.2/include/va-mips.h +lib/gcc-lib/i386-coff/2.7.2.2/include/va-m88k.h +lib/gcc-lib/i386-coff/2.7.2.2/include/va-pa.h +lib/gcc-lib/i386-coff/2.7.2.2/include/va-pyr.h +lib/gcc-lib/i386-coff/2.7.2.2/include/va-sparc.h +lib/gcc-lib/i386-coff/2.7.2.2/include/va-clipper.h +lib/gcc-lib/i386-coff/2.7.2.2/include/va-spur.h +lib/gcc-lib/i386-coff/2.7.2.2/include/iso646.h +lib/gcc-lib/i386-coff/2.7.2.2/include/va-ppc.h +lib/gcc-lib/i386-coff/2.7.2.2/include/proto.h +lib/gcc-lib/i386-coff/2.7.2.2/include/limits.h +lib/gcc-lib/i386-coff/2.7.2.2/include/README +lib/gcc-lib/i386-coff/2.7.2.2/include/float.h +lib/gcc-lib/i386-coff/2.7.2.2/cc1 +lib/gcc-lib/i386-coff/2.7.2.2/cc1obj +lib/gcc-lib/i386-coff/2.7.2.2/cc1plus +lib/gcc-lib/i386-coff/2.7.2.2/crtbegin.o +lib/gcc-lib/i386-coff/2.7.2.2/crtend.o +lib/gcc-lib/i386-coff/2.7.2.2/specs +lib/gcc-lib/i386-coff/2.7.2.2/SYSCALLS.c.X +lib/gcc-lib/i386-coff/2.7.2.2/cpp +lib/gcc-lib/i386-coff/2.7.2.2/libgcc.a +lib/libi386-coff-opcodes.a +man/man1/i386-coff-ar.1.gz +man/man1/i386-coff-nm.1.gz +man/man1/i386-coff-objdump.1.gz +man/man1/i386-coff-ranlib.1.gz +man/man1/i386-coff-size.1.gz +man/man1/i386-coff-strings.1.gz +man/man1/i386-coff-strip.1.gz +man/man1/i386-coff-objcopy.1.gz +man/man1/i386-coff-nlmconv.1.gz +man/man1/i386-coff-c++filt.1.gz +man/man1/configure.1.gz +man/man1/i386-coff-as.1.gz +man/man1/i386-coff-ld.1.gz +man/man1/i386-coff-g++.1.gz +man/man1/i386-coff-gcc.1.gz +man/man1/cccp.1.gz diff -rNu /cdrom/ports/devel/crosssco/scripts/one-tree-1.4.sh crosssco/scripts/one-tree-1.4.sh --- /cdrom/ports/devel/crosssco/scripts/one-tree-1.4.sh Wed Dec 31 19:00:00 1969 +++ crosssco/scripts/one-tree-1.4.sh Thu Dec 18 08:54:58 1997 @@ -0,0 +1,104 @@ +#!/bin/sh +# Create a single source tree from the various development tools. +# Version 1.4. +# Send comments or questions to dje@cygnus.com. +# +# The script needs a binutils, gcc, and newlib release. +# It looks for them in the current directory. +# +# The tree is faked, using symlinks. The goal is to keep it simple while +# providing a working example. +# +# After running this script: +# 1) mkdir build +# 2) cd build +# 3) ../src/configure --host=[your-host] --target=[your-target] [other options] +# 4) make all info +# 5) make install install-info +# +# If you are going to be building with gcc, do this instead. +# +# 1) mkdir build +# 2) cd build +# 3) CC=gcc ../src/configure --host=[your-host] --target=[your-target] [other options] +# 4) make all info CC=gcc +# 5) make install install-info +# +# The CC=gcc on line 4 is present for the sake of older releases +# and doesn't hurt to specify it again (normally, setting CC=gcc while +# running configure is enough). +# +# Building in a separate directory assumes of course that you have a version +# of `make' that understands VPATH. GNU Make is such a critter and +# it is not recommended trying it with other makes. +# +# That's it. + +# Find source trees for binutils, gcc, and newlib. +for pkg in binutils gcc newlib +do + dir=`ls -1d $pkg-[0-9].[0-9]* | tail -1` + if [ ! -f "$dir/Makefile.in" ] ; then + echo "Unable to find a $pkg source tree." + echo "You need to install a $pkg release in this directory." + exit 1 + fi + + eval $pkg=$dir + echo "Using $pkg release $dir." +done + +# We only support binutils 2.[678].*. +# We will probably support newer ones as well but until one has +# tried it one can't actually know. +case $binutils in +binutils-2.[678] | binutils-2.[678].*) ;; +*) echo "$binutils is not supported by this script." ; exit 1 ;; +esac + +# We only support newlib 1.[78].*. +# We will probably support newer ones as well but until one has +# tried it one can't actually know. +case $newlib in +newlib-1.[78].*) ;; +*) echo "$binutils is not supported by this script." ; exit 1 ;; +esac + +# We only support gcc 2.7.*. +# We will probably support newer ones as well but until one has +# tried it one can't actually know. +case $gcc in +gcc-2.7.*) ;; +*) echo "$gcc is not supported by this script." ; exit 1 ;; +esac + +mkdir src +cd src + +# Most of the toplevel stuff we take from binutils +for f in ../$binutils/* +do + ln -s $f . +done + +# Create a symlink to the gcc tree. +ln -s ../$gcc gcc + +# Create symlinks to newlib. +ln -s ../$newlib/newlib . +ln -s ../$newlib/libgloss . +ln -s ../$newlib/COPYING.NEWLIB . + +# Target library configuration has undergone lots of changes recently +# [post binutils-2.6]. If we're using binutils-2.6, use the configury +# from newlib-1.7 [or greater]. + +if [ x"$binutils" = binutils-2.6 ] ; then + for f in configure configure.in config-ml.in Makefile.in + do + rm -f $f + ln -s ../$newlib/$f . + done +fi + +exit 0 >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801251507.HAA11586>