1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Remove archaic ports

2007-03-28 devel/crossgo32: Has expired, archaic port
devel/crossgo32-djgpp2: Archaic port
devel/crossgo32-djgpp2-pdcurses: Archaic port

Approved by:	clsung (mentor)
This commit is contained in:
Li-Wen Hsu 2007-04-14 18:09:22 +00:00
parent 3f312afbe0
commit 45fe97aab7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189962
30 changed files with 3 additions and 1041 deletions

3
MOVED
View File

@ -2936,3 +2936,6 @@ www/sahana2||2007-04-10|Has expired: Conflicting dependencies: php4 vs php5
www/urchin5||2007-04-10|Has expired: Does not install
databases/cyrus-smlacapd||2007-04-10|Has expired: this software is obsolete
databases/mysql-administrator||2007-04-11|Removed
devel/crossgo32||2007-04-14|Has expired: Archaic port
devel/crossgo32-djgpp2||2007-04-14|Removed, Archaic port
devel/crossgo32-djgpp2-pdcurses||2007-04-14|Removed, Archaic port

View File

@ -182,9 +182,6 @@
SUBDIR += cppi
SUBDIR += cppunit
SUBDIR += cproto
SUBDIR += crossgo32
SUBDIR += crossgo32-djgpp2
SUBDIR += crossgo32-djgpp2-pdcurses
SUBDIR += cscope
SUBDIR += cscout
SUBDIR += cssc

View File

@ -1,59 +0,0 @@
# New ports collection makefile for: pdcurses
# Date created: Sun Jun 22 16:57:39 EST 1997
# Whom: Joel Sutton <sutton@aardvark.apana.org.au)
#
# $FreeBSD$
#
PORTNAME= crossgo32-djgpp2-pdcurses
PORTVERSION= 2.2
CATEGORIES= devel
MASTER_SITES= ftp://ftp.informatik.uni-hamburg.de/ftpmnt/rrz1/pub/os/dos/djgpp/v2tk/ \
ftp://ftp.uni-koeln.de/pc/djgpp/v2tk/
DISTNAME= pdc22
MAINTAINER= ports@FreeBSD.org
COMMENT= PD curses for crossgo32 crosscompiler with djgpp v2 libraries
RUN_DEPENDS= i386-go32-stubify:${PORTSDIR}/devel/crossgo32-djgpp2
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -qLa
# Since were only taking the library and include files we don't
# actually need to build anything
#
WRKSRC= ${WRKDIR}/contrib/pdcurs22
NO_BUILD= yes
CROSSGOLIB= ${PREFIX}/i386-go32/lib
CROSSGOINCLUDE= ${PREFIX}/i386-go32/include
PDBASE= ${WRKSRC}/contrib/pdcurs22
PDLIB= ${WRKSRC}/lib
PDINCLUDE= ${WRKSRC}/include
PDDOC= ${WRKSRC}/docs
DOCDIR= ${PREFIX}/share/doc/pdcurses
do-install:
@${ECHO_MSG} "===> Installing libraries"
${INSTALL_DATA} ${PDLIB}/libcurso.a ${CROSSGOLIB}
${INSTALL_DATA} ${PDLIB}/libcurso.a ${CROSSGOLIB}/libcurses.a
${INSTALL_DATA} ${PDLIB}/libpano.a ${CROSSGOLIB}
@${ECHO_MSG} "===> Installing include files"
${INSTALL_DATA} ${PDINCLUDE}/curses.h ${CROSSGOINCLUDE}
${INSTALL_DATA} ${PDINCLUDE}/cursos2.h ${CROSSGOINCLUDE}
${INSTALL_DATA} ${PDINCLUDE}/curspriv.h ${CROSSGOINCLUDE}
${INSTALL_DATA} ${PDINCLUDE}/panel.h ${CROSSGOINCLUDE}
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation into ${DOCDIR}"
-${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${PDDOC}/readme.22 ${DOCDIR}/readme.txt
${INSTALL_DATA} ${PDDOC}/basics/intro.man ${DOCDIR}/intro.txt
${INSTALL_DATA} ${PDDOC}/basics/overview.man ${DOCDIR}/overview.txt
${INSTALL_DATA} ${PDDOC}/basics/xwindows.man ${DOCDIR}/xwindows.txt
${INSTALL_DATA} ${DESCR} ${DOCDIR}/README.FreeBSD
.endif
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
MD5 (pdc22.zip) = 54aa14418aa32f1a7f1b2f0ee28fb052
SHA256 (pdc22.zip) = 10fce8db317712b74da77479ef40cf62f43d70b743cc432740366dbca8922375
SIZE (pdc22.zip) = 319588

View File

@ -1,10 +0,0 @@
This is a public domain curses package for the crossgo32 port. It is
part of the DJGPP Version 2 distributions and is very handy for porting
curses software onto a DOS machine.
Share and enjoy,
- Joel Sutton
sutton@aardvark.apana.org.au
WWW: http://www.delorie.com/djgpp/

View File

@ -1,13 +0,0 @@
i386-go32/include/curses.h
i386-go32/include/cursos2.h
i386-go32/include/curspriv.h
i386-go32/include/panel.h
i386-go32/lib/libcurses.a
i386-go32/lib/libcurso.a
i386-go32/lib/libpano.a
%%PORTDOCS%%share/doc/pdcurses/README.FreeBSD
%%PORTDOCS%%share/doc/pdcurses/intro.txt
%%PORTDOCS%%share/doc/pdcurses/overview.txt
%%PORTDOCS%%share/doc/pdcurses/readme.txt
%%PORTDOCS%%share/doc/pdcurses/xwindows.txt
%%PORTDOCS%%@dirrm share/doc/pdcurses

View File

@ -1,84 +0,0 @@
# New ports collection makefile for: djgpp2 cross compiler kit
# Date created: Sun Jun 22 16:57:39 EST 1997
# Whom: Joel Sutton <sutton@aardvark.apana.org.au>
#
# $FreeBSD$
#
PORTNAME= crossgo32-djgpp2
PORTVERSION= 2.01
CATEGORIES= devel
MASTER_SITES= http://safariexamples.informit.com/0672322242/Software/DJGPP/v2/old/
DISTNAME= djcrx201
MAINTAINER= ports@FreeBSD.org
COMMENT= DJGPP V2 libraries and compatability for crossgo32 crosscompiler
BUILD_DEPENDS= i386-go32-gcc:${PORTSDIR}/devel/crossgo32
RUN_DEPENDS= i386-go32-gcc:${PORTSDIR}/devel/crossgo32
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -qLa
# Source directories
#
NO_WRKSUBDIR= yes
DJGPPLIB= ${WRKSRC}/lib
DJGPPINCLUDE= ${WRKSRC}/include
DJGPPDOC= ${WRKSRC}/cross
DJGPPINFO= ${WRKSRC}/info
STUBSRC= ${WRKSRC}/src/stub
# Install directories
#
DOCDIR= ${PREFIX}/share/doc/djgpp2
CROSSGO= ${PREFIX}/i386-go32
CROSSGOGCC= ${PREFIX}/lib/gcc-lib/i386-go32/2.7.2.2/
CROSSGOLIB= ${PREFIX}/i386-go32/lib
CROSSGOINCLUDE= ${PREFIX}/i386-go32/include
post-extract:
${CP} ${FILESDIR}/Makefile ${STUBSRC}/
post-patch:
-${RM} ${DJGPPLIB}/*.orig
do-build:
@${ECHO_MSG} "===> Building stub utilities"
@cd ${STUBSRC} ;\
${MAKE} all
pre-install:
@${ECHO_MSG} "===> Moving old crossgo libs away"
@cd ${CROSSGO} ;\
${MV} lib lib-newlib ;\
${MV} include include-newlib
@cd ${CROSSGOGCC} ;\
${MKDIR} old-newlib ;\
${MV} include old-newlib ;\
${MV} libgcc.a old-newlib ;\
${MV} specs old-newlib ;\
do-install:
@${ECHO_MSG} "===> Installing binaries"
${INSTALL_PROGRAM} ${STUBSRC}/stubify ${PREFIX}/bin/i386-go32-stubify
${INSTALL_PROGRAM} ${STUBSRC}/stubedit ${PREFIX}/bin/i386-go32-stubedit
@${ECHO_MSG} "===> Installing libraries"
${CP} -R ${DJGPPLIB} ${CROSSGOLIB}
@${ECHO_MSG} "===> Installing include files"
${CP} -R ${DJGPPINCLUDE} ${CROSSGOINCLUDE}
@${ECHO_MSG} "===> Installing info files"
${INSTALL_DATA} ${DJGPPINFO}/libc.inf ${PREFIX}/info/libc.info
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation into ${DOCDIR}"
${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${DJGPPDOC}/install ${DOCDIR}/
${INSTALL_DATA} ${DJGPPDOC}/readme ${DOCDIR}/
${INSTALL_DATA} ${DESCR} ${DOCDIR}/README.FreeBSD
.endif
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
MD5 (djcrx201.zip) = 384d9b738457892fe35cdee159a425ee
SHA256 (djcrx201.zip) = 9c9c3f90c923e1437275988ae3c3e6b04bad469a0c15bc2204b6f448e0e6d585
SIZE (djcrx201.zip) = 543950

View File

@ -1,7 +0,0 @@
stubedit:
${CC} -o stubedit stubedit.c
stubify:
${CC} -o stubify stubify.c
all: stubedit stubify

View File

@ -1,13 +0,0 @@
*** lib/djgpp.djl Wed Oct 23 18:06:22 1996
--- lib/djgpp.djl2 Sun Sep 8 22:40:06 1996
***************
*** 1,4 ****
! OUTPUT_FORMAT("coff-go32")
ENTRY(start)
SECTIONS
{
--- 1,4 ----
! OUTPUT_FORMAT("coff-i386")
ENTRY(start)
SECTIONS
{

View File

@ -1,11 +0,0 @@
--- lib/specs.orig Sun May 18 23:28:53 1997
+++ lib/specs Sun May 18 23:29:19 1997
@@ -25,7 +25,7 @@
%{!A:%{!nostartfiles:%{!nostdlib:%S}}} %{static:}\
%{L*} %D %{T*} %o -Tdjgpp.djl\
%{!nostdlib:-lgcc %L -lgcc %{!A:%E}}}}}}}
-%{!c:%{!M:%{!MM:%{!E:%{!S:stubify %{v} %{o*:%*} %{!o*:a.out}}}}}}
+%{!c:%{!M:%{!MM:%{!E:%{!S:i386-go32-stubify %{v} %{o*:%*} %{!o*:a.out}}}}}}
*lib:
-lc

View File

@ -1,29 +0,0 @@
*** src/stub/stubedit.c.orig Sun Jun 22 16:51:08 1997
--- src/stub/stubedit.c Sun Jun 22 16:57:54 1997
***************
*** 1,5 ****
--- 1,6 ----
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
+ /* Patched by Joel Sutton - Sun Jun 22 16:57:39 EST 1997 */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
***************
*** 70,76 ****
static char response[200];
printf("%s ? [%s] ", question, default_answer);
fflush(stdout);
! gets(response);
if (response[0] == '\0')
return 0;
return response;
--- 71,78 ----
static char response[200];
printf("%s ? [%s] ", question, default_answer);
fflush(stdout);
! fgets(response, 200, stdin);
! response[strlen(response)-1]='\0';
if (response[0] == '\0')
return 0;
return response;

View File

@ -1,23 +0,0 @@
This ports installs the DJGPP Version 2 libraries and stub utilities
into the crossgo32 cross compiler port. The original libraries built
by the crossgo32 port are moved aside until you run pkg_delete to
un-install this port.
The DJGPP libraries create larger binaries for smaller programs but
this is less of an issue with larger programs.
Two new utilities - i386-go32-stubify and i386-go32-stubedit - are
also installed. It is no longer necessary to stubify the COFF binaries
as a patch is included to do this automatically after
compilation. Please refer to the DJGPP v2 FAQ for further information
on this topic.
Finally, this port also allows us to install a number of extra
toolkits from the DJGPP collection.
Share and enjoy,
Joel...
sutton@aardvark.apana.org.au
WWW: http://www.delorie.com/djgpp/

View File

@ -1,154 +0,0 @@
@exec mv %D/i386-go32/include %D/i386-go32/include-newlib
@exec mv %D/i386-go32/lib %D/i386-go32/lib-newlib
@exec mkdir -p %D/lib/gcc-lib/i386-go32/2.7.2.2/old-newlib
@exec mv %D/lib/gcc-lib/i386-go32/2.7.2.2/include %D/lib/gcc-lib/i386-go32/2.7.2.2/old-newlib/
@exec mv %D/lib/gcc-lib/i386-go32/2.7.2.2/libgcc.a %D/lib/gcc-lib/i386-go32/2.7.2.2/old-newlib/
@exec mv %D/lib/gcc-lib/i386-go32/2.7.2.2/specs %D/lib/gcc-lib/i386-go32/2.7.2.2/old-newlib/
bin/i386-go32-stubedit
bin/i386-go32-stubify
i386-go32/include/_ansi
i386-go32/include/ar.h
i386-go32/include/assert.h
i386-go32/include/bios.h
i386-go32/include/coff.h
i386-go32/include/conio.h
i386-go32/include/crt0.h
i386-go32/include/ctype.h
i386-go32/include/debug/_ansi
i386-go32/include/debug/dbgcom.h
i386-go32/include/debug/stab.h
i386-go32/include/debug/syms.h
i386-go32/include/debug/tss.h
i386-go32/include/debug/v2load.h
i386-go32/include/debug/wild.h
i386-go32/include/dir.h
i386-go32/include/direct.h
i386-go32/include/dirent.h
i386-go32/include/dos.h
i386-go32/include/dpmi.h
i386-go32/include/errno.h
i386-go32/include/fcntl.h
i386-go32/include/file.h
i386-go32/include/flexlexe.h
i386-go32/include/float.h
i386-go32/include/fnmatch.h
i386-go32/include/ftw.h
i386-go32/include/getpages.h
i386-go32/include/glob.h
i386-go32/include/go32.h
i386-go32/include/gppconio.h
i386-go32/include/grp.h
i386-go32/include/inlines/_inline
i386-go32/include/inlines/ctype.ha
i386-go32/include/inlines/ctype.hd
i386-go32/include/inlines/pc.h
i386-go32/include/io.h
i386-go32/include/keys.h
i386-go32/include/libc/_ansi
i386-go32/include/libc/asmdefs.h
i386-go32/include/libc/atexit.h
i386-go32/include/libc/bss.h
i386-go32/include/libc/dosexec.h
i386-go32/include/libc/dosio.h
i386-go32/include/libc/environ.h
i386-go32/include/libc/farptrgs.h
i386-go32/include/libc/file.h
i386-go32/include/libc/ieee.h
i386-go32/include/libc/internal.h
i386-go32/include/libc/local.h
i386-go32/include/libc/mkfargs.bat
i386-go32/include/libc/stdiohk.h
i386-go32/include/libc/stubs.h
i386-go32/include/libc/ttyprvt.h
i386-go32/include/libc/unconst.h
i386-go32/include/libm/math.h
i386-go32/include/limits.h
i386-go32/include/locale.h
i386-go32/include/machine/asm.h
i386-go32/include/machine/endian.h
i386-go32/include/malloc.h
i386-go32/include/math.h
i386-go32/include/mem.h
i386-go32/include/memory.h
i386-go32/include/mntent.h
i386-go32/include/netinet/_ansi
i386-go32/include/netinet/in.h
i386-go32/include/osfcn.h
i386-go32/include/pc.h
i386-go32/include/process.h
i386-go32/include/pwd.h
i386-go32/include/random.h
i386-go32/include/regex.h
i386-go32/include/search.h
i386-go32/include/setjmp.h
i386-go32/include/share.h
i386-go32/include/signal.h
i386-go32/include/std.h
i386-go32/include/stdarg.h
i386-go32/include/stddef.h
i386-go32/include/stdio.h
i386-go32/include/stdlib.h
i386-go32/include/string.h
i386-go32/include/strings.h
i386-go32/include/stubinfo.h
i386-go32/include/sys/_ansi
i386-go32/include/sys/cdefs.h
i386-go32/include/sys/config.h
i386-go32/include/sys/dir.h
i386-go32/include/sys/djtypes.h
i386-go32/include/sys/dxe.h
i386-go32/include/sys/errno.h
i386-go32/include/sys/exceptn.h
i386-go32/include/sys/farptr.h
i386-go32/include/sys/fcntl.h
i386-go32/include/sys/file.h
i386-go32/include/sys/fsext.h
i386-go32/include/sys/ioctl.h
i386-go32/include/sys/mman.h
i386-go32/include/sys/mono.h
i386-go32/include/sys/movedata.h
i386-go32/include/sys/nearptr.h
i386-go32/include/sys/param.h
i386-go32/include/sys/resource.h
i386-go32/include/sys/segments.h
i386-go32/include/sys/stat.h
i386-go32/include/sys/system.h
i386-go32/include/sys/time.h
i386-go32/include/sys/timeb.h
i386-go32/include/sys/times.h
i386-go32/include/sys/types.h
i386-go32/include/sys/utsname.h
i386-go32/include/sys/vfs.h
i386-go32/include/sys/wait.h
i386-go32/include/termios.h
i386-go32/include/time.h
i386-go32/include/tzfile.h
i386-go32/include/unistd.h
i386-go32/include/utime.h
i386-go32/include/values.h
i386-go32/include/varargs.h
i386-go32/lib/crt0.o
i386-go32/lib/djgpp.djl
i386-go32/lib/dxe.ld
i386-go32/lib/gcrt0.o
i386-go32/lib/libc.a
i386-go32/lib/libdbg.a
i386-go32/lib/libemu.a
i386-go32/lib/libg.a
i386-go32/lib/libgcc.a
i386-go32/lib/libm.a
i386-go32/lib/libpc.a
i386-go32/lib/specs
info/libc.info
%%PORTDOCS%%share/doc/djgpp2/README.FreeBSD
%%PORTDOCS%%share/doc/djgpp2/install
%%PORTDOCS%%share/doc/djgpp2/readme
%%PORTDOCS%%@dirrm share/doc/djgpp2
@unexec rm -rf %D/i386-go32/lib
@unexec rm -rf %D/i386-go32/include
@unexec mv %D/i386-go32/lib-newlib %D/i386-go32/lib
@unexec mv %D/i386-go32/include-newlib %D/i386-go32/include
@unexec mv %D/lib/gcc-lib/i386-go32/2.7.2.2/old-newlib/specs %D/lib/gcc-lib/i386-go32/2.7.2.2/
@unexec mv %D/lib/gcc-lib/i386-go32/2.7.2.2/old-newlib/libgcc.a %D/lib/gcc-lib/i386-go32/2.7.2.2/
@unexec mv %D/lib/gcc-lib/i386-go32/2.7.2.2/old-newlib/include %D/lib/gcc-lib/i386-go32/2.7.2.2/
@dirrm lib/gcc-lib/i386-go32/2.7.2.2/old-newlib

View File

@ -1,65 +0,0 @@
# New ports collection makefile for: crossgo32
# Date created: 6 Mar 97
# Whom: Pedro Giffuni <giffunip@asme.org>
# Date updated: Sun Jun 22 16:11:40 EST 1997
# Whom: Joel Sutton <sutton@aardvark.apana.org.au>
#
# $FreeBSD$
#
PORTNAME= crossgo32
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL} \
ftp://sources.redhat.com/pub/crossgcc/
MASTER_SITE_SUBDIR= trevor
DISTNAME= crosstree-${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} dosrel-1.0${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Cross Development Environment for 32-bit DOS
DEPRECATED= see full description
EXPIRATION_DATE= 2007-03-28
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --target=${TARGET}
USE_GMAKE= yes
TARGET= i386-go32
ONLY_FOR_ARCHS= i386
MAN1= i386-go32-ar.1 i386-go32-nm.1 i386-go32-objdump.1\
i386-go32-ranlib.1 i386-go32-size.1 i386-go32-strings.1\
i386-go32-strip.1 i386-go32-objcopy.1 i386-go32-nlmconv.1\
i386-go32-g++.1 i386-go32-gcc.1 cccp.1\
i386-go32-c++filt.1 configure.1 i386-go32-as.1 i386-go32-ld.1
DOCDIR= ${PREFIX}/share/doc/crossgo32
GO32DIR= ${PREFIX}/share/crossgo32
post-extract:
${MV} ${WRKDIR}/dosrel-1.0/ ${WRKSRC}
post-patch:
${CP} ${FILESDIR}/Makefile ${WRKSRC}/dosrel-1.0/
post-build:
@cd ${WRKSRC}/dosrel-1.0 ;\
${MAKE} coff2exe
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/dosrel-1.0/coff2exe \
${PREFIX}/bin/i386-go32-coff2exe
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation into ${DOCDIR}"
${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/FAQ-0.8 ${DOCDIR}
${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${DOCDIR}
.endif
@${ECHO_MSG} "===> Installing DJGPP exe files into ${GO32DIR}"
${MKDIR} ${GO32DIR}
${INSTALL_DATA} ${WRKSRC}/dosrel-1.0/go32.exe ${GO32DIR}
${INSTALL_DATA} ${WRKSRC}/dosrel-1.0/emu387 ${GO32DIR}
.include <bsd.port.mk>

View File

@ -1,6 +0,0 @@
MD5 (crosstree-1.3.tar.gz) = 02a77d3892c93aa6cfeeebe39e949051
SHA256 (crosstree-1.3.tar.gz) = 21f919b94ffba1b303a0d723e464d3e066330d138bc92010a702a1fedf8bc626
SIZE (crosstree-1.3.tar.gz) = 12958761
MD5 (dosrel-1.0.tar.gz) = c0f25ef6cdb766aa0fab4dc0075fb94d
SHA256 (dosrel-1.0.tar.gz) = adba38dfe5704e46e6367f58d1cd7a409007ce57119c467dbc49bc456c7dc5e7
SIZE (dosrel-1.0.tar.gz) = 82958

View File

@ -1,2 +0,0 @@
coff2exe:
gcc -o coff2exe coff2exe.c

View File

@ -1,57 +0,0 @@
Crossgo32 is a cross-compiler built from "gcc 2.7.2.2" which uses the
Cygnus embedded libraries to create smaller binaries. Unfortunately
there is no networking support at the moment. Binaries are created in
the COFF format and a utility is provided to convert these binaries
into DJGPPv1 exe files.
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
Cygnus's dos release utilities dosrel-1.0
Compiling your code
===================
Compiling your code is just as easy (or should that be difficult?) as
gcc. All of the go32 compiler binaries have been installed with the
i386-go32 prefix. So, if you wanted to compile a file called "hello.c"
then you might use something like:
i386-go32-gcc -o hello hello.c
This will produce a COFF binary called "hello". You will now need to
convert that binary into a EXE file so that it can be run on a DOS
machine. It's as easy as typing:
i386-go32-coff2exe hello
This will produce "hello.exe".
To run your programs you need to have a DPMI server running and the
go32.exe & emu387 files in your DOS path. Crossgo32 binaries will work
with a range of DPMI servers - I have personally had success with
Windows 95 - and there is a server available from the DJGPP web
site. The DOS files mentioned above should be in
/usr/local/share/crossgo32 (or similar on your system). Please check
the DJGPP FAQ for more information on this topic.
http://www.delorie.com/djgpp/ (DPMI server, source, FAQs, etc)
Related ports
=============
This cross-compiler port was originally created by Pedro Giffuni using
the Cygnus cross-compiler FAQ and mailing list postings. You will find
other ports in the collection which use the same distribution. The
intention was to create a cross-compiler kit for all platforms
emulated on FreeBSD.
If you are interested in network support and DJGPP v2 exe files,
amongst other DJGPP bits and pieces, check out the crossgo32-dgjpp2
selection of ports.
Share and enjoy,
- Joel
sutton@aardvark.apana.org.au

View File

@ -1,7 +0,0 @@
--- gcc/config/i386/x-freebsd.orig Wed Mar 26 10:00:45 1997
+++ gcc/config/i386/x-freebsd Wed Mar 26 10:00:49 1997
@@ -1,3 +1,3 @@
# Don't run fixproto
STMP_FIXPROTO =
-CLIB=-lgnumalloc
+CLIB=

View File

@ -1,143 +0,0 @@
--- ./bfd/doc/Makefile.in~ Fri Apr 11 08:42:31 1997
+++ ./bfd/doc/Makefile.in Fri Apr 11 08:42:31 1997
@@ -49,7 +49,7 @@
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
-CFLAGS = -g
+CFLAGS = -O
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 @@
ERRORS_CC = $(CC)
CC = cc
-CFLAGS = -g
+CFLAGS = -O
LIBCFLAGS = $(CFLAGS)
MAKEINFO = makeinfo
RANLIB = ranlib
--- ./gcc/cp/Makefile.in~ Fri Apr 11 08:45:24 1997
+++ ./gcc/cp/Makefile.in Fri Apr 11 08:45:24 1997
@@ -45,7 +45,7 @@
# to the stage2 and stage3 compilations
# XCFLAGS is used for most compilations but not when using the GCC just built.
XCFLAGS =
-CFLAGS = -g
+CFLAGS = -O
BOOT_CFLAGS = -O $(CFLAGS)
# These exists to be overridden by the x-* and t-* files, respectively.
X_CFLAGS =
--- ./gcc/Makefile.in~ Fri Apr 11 08:45:33 1997
+++ ./gcc/Makefile.in Fri Apr 11 08:45:33 1997
@@ -245,7 +245,7 @@
# -g1 causes output of debug info only for file-scope entities.
# we use this here because that should be enough, and also
# so that -g1 will be tested.
-LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) -g1
+LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS)
# Additional options to use when compiling libgcc2.a.
# Some targets override this to -Iinclude
@@ -2024,7 +2024,7 @@
# Install the driver last so that the window when things are
# broken is small.
install-normal: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \
- install-libobjc install-man install-info lang.install-normal install-driver
+ install-libobjc install-man lang.install-normal install-driver
# Do nothing while making gcc with a cross-compiler. The person who
# makes gcc for the target machine has to know how to put a complete
--- ./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 @@
OBJS = syscalls.o fstat.o getpid.o isatty.o kill.o \
lseek.o print.o putnum.o stat.o unlink.o
-CFLAGS = -g
+CFLAGS = -O
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 @@
TESTS= misc.x float.x io.x memory.x double.x math.x func.x div.x \
printf.x varargs.x varargs2.x array.x struct.x misc.x
-CFLAGS= -g
-LDFLAGS_FOR_TARGET= -g
+CFLAGS= -O
+LDFLAGS_FOR_TARGET= -O
LIBS_FOR_TARGET = ${SUPPORT} ${LIBC_FOR_TARGET} ${LIBGCC_FOR_TARGET} \
${LIBC_FOR_TARGET}
--- ./Makefile.in~ Fri Apr 11 08:42:28 1997
+++ ./Makefile.in Fri Apr 11 08:42:29 1997
@@ -65,7 +65,7 @@
# We don't specify -g -O because many compilers don't support -g -O,
# and/or -O is broken in and of itself.
-CFLAGS = -g
+CFLAGS = -O
LIBCFLAGS = $(CFLAGS)
CFLAGS_FOR_TARGET = $(CFLAGS)
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)

View File

@ -1,29 +0,0 @@
--- dosrel-1.0/coff2exe.c.orig Sun May 18 20:24:59 1997
+++ dosrel-1.0/coff2exe.c Sun May 18 20:23:50 1997
@@ -79,14 +79,14 @@
while (left)
{
char buf[512];
- int r = _read(stub_file, buf, 512);
+ int r = read(stub_file, buf, 512);
if (wrote == 0)
hsize = align_hsize(stub_length, (unsigned char *)buf);
- _write(ofile, buf, r);
+ write(ofile, buf, r);
left -= r;
wrote += r;
}
- _write(ofile, buf, 512-((int)wrote&511));
+ write(ofile, buf, 512-((int)wrote&511));
}
else
{
@@ -120,7 +120,7 @@
if (argc > 2 && strcmp(argv[1], "-s") == 0)
{
struct stat s;
- stub_file = _open(argv[2], O_RDONLY);
+ stub_file = open(argv[2], O_RDONLY);
if (stub_file < 0)
{
perror(argv[2]);

View File

@ -1,56 +0,0 @@
--- gcc/cccp.c.old Wed May 19 15:10:39 2004
+++ gcc/cccp.c Wed May 19 15:19:53 2004
@@ -24,6 +24,8 @@
typedef unsigned char U_CHAR;
+#define HAS_STDARG_H
+
#ifdef EMACS
#define NO_SHORTNAMES
#include "../src/config.h"
@@ -199,7 +201,7 @@
# endif
#endif
-#if defined (__STDC__) && defined (HAVE_VPRINTF)
+#if defined (__STDC__) && defined (HAVE_VPRINTF) || defined (HAS_STDARG_H)
# include <stdarg.h>
# define VA_START(va_list, var) va_start (va_list, var)
# define PRINTF_ALIST(msg) char *msg, ...
@@ -8967,7 +8969,7 @@
}
static void
-#if defined (__STDC__) && defined (HAVE_VPRINTF)
+#if defined (__STDC__) && defined (HAVE_VPRINTF) || defined (HAS_STDARG_H)
error_with_line (int line, PRINTF_ALIST (msg))
#else
error_with_line (line, PRINTF_ALIST (msg))
@@ -9007,7 +9009,7 @@
}
static void
-#if defined (__STDC__) && defined (HAVE_VPRINTF)
+#if defined (__STDC__) && defined (HAVE_VPRINTF) || defined (HAS_STDARG_H)
warning_with_line (int line, PRINTF_ALIST (msg))
#else
warning_with_line (line, PRINTF_ALIST (msg))
@@ -9069,7 +9071,7 @@
}
void
-#if defined (__STDC__) && defined (HAVE_VPRINTF)
+#if defined (__STDC__) && defined (HAVE_VPRINTF) || defined (HAS_STDARG_H)
pedwarn_with_line (int line, PRINTF_ALIST (msg))
#else
pedwarn_with_line (line, PRINTF_ALIST (msg))
@@ -9091,7 +9093,7 @@
giving specified file name and line number, not current. */
static void
-#if defined (__STDC__) && defined (HAVE_VPRINTF)
+#if defined (__STDC__) && defined (HAVE_VPRINTF) || defined (HAS_STDARG_H)
pedwarn_with_file_and_line (char *file, int line, PRINTF_ALIST (msg))
#else
pedwarn_with_file_and_line (file, line, PRINTF_ALIST (msg))

View File

@ -1,18 +0,0 @@
--- libiberty/functions.def.orig Thu Jul 4 19:16:36 1996
+++ libiberty/functions.def Sat Aug 14 13:32:43 2004
@@ -34,15 +34,11 @@
DEF(strchr, char*, (s, c), CONST char *s AND int c)
DEF(strdup, char*, (s1), char * s1)
DEF(strrchr, char*, (s, c), CONST char *s AND int c)
-DEF(strstr, char*, (), NOTHING)
DEF(strtod, double, (), NOTHING)
DEF(strtol, long, (), NOTHING)
DEF(strtoul, unsigned long, (), NOTHING)
DEF(tmpnam, char *, (s), char * s)
DEF(vfork, int, (), NOTHING)
-DEF(vfprintf, int, (), NOTHING)
-DEF(vprintf, int, (), NOTHING)
-DEF(vsprintf, int, (), NOTHING)
DEF(sigsetmask, int, (), NOTHING)
DEF(alloca, PTR, (size), size_t size)
DEF(waitpid, int, (pid, statp, opts), int pid AND int* statp AND int opts )

View File

@ -1,10 +0,0 @@
--- gcc/cp/g++.c.old Wed May 19 15:33:04 2004
+++ gcc/cp/g++.c Wed May 19 15:33:19 2004
@@ -92,7 +92,6 @@
extern int errno;
#endif
-extern int sys_nerr;
#ifndef HAVE_STRERROR
#if defined(bsd4_4)
extern const char *const sys_errlist[];

View File

@ -1,10 +0,0 @@
--- gcc/gcc.c.old Wed May 19 15:29:39 2004
+++ gcc/gcc.c Wed May 19 15:29:46 2004
@@ -175,7 +175,6 @@
extern int errno;
#endif
-extern int sys_nerr;
#ifndef HAVE_STRERROR
#if defined(bsd4_4)
extern const char *const sys_errlist[];

View File

@ -1,30 +0,0 @@
--- gcc/protoize.c.orig Mon Oct 9 18:37:32 1995
+++ gcc/protoize.c Wed May 19 16:16:12 2004
@@ -22,6 +22,8 @@
as __STDC__ plus more, so make sure that __STDC__ is defined if
__cplusplus is defined. */
+#define HAS_STDARG_H
+
#if defined(__cplusplus) && !defined(__STDC__)
#define __STDC__ 1
#endif /* defined(__cplusplus) && !defined(__STDC__) */
@@ -57,7 +59,9 @@
#define _POSIX_SOURCE
#endif
+#ifndef HAS_STDARG_H
#include <varargs.h>
+#endif
/* On some systems stdio.h includes stdarg.h;
we must bring in varargs.h first. */
#include <stdio.h>
@@ -66,7 +70,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#ifndef _WIN32
-#if defined(POSIX) || defined(CONCURRENT)
+#if defined(POSIX) || defined(CONCURRENT) || defined (HAS_STDARG_H)
#include <dirent.h>
#else
#include <sys/dir.h>

View File

@ -1,10 +0,0 @@
--- libiberty/strerror.c.old Wed May 19 15:01:49 2004
+++ libiberty/strerror.c Wed May 19 15:01:55 2004
@@ -460,7 +460,6 @@
#else
-extern int sys_nerr;
extern char *sys_errlist[];
#endif

View File

@ -1,10 +0,0 @@
--- libiberty/strsignal.c.old Wed May 19 15:05:20 2004
+++ libiberty/strsignal.c Wed May 19 15:05:32 2004
@@ -235,7 +235,6 @@
#else
-static int sys_nsig = NSIG;
extern const char * const sys_siglist[];
#endif

View File

@ -1,18 +0,0 @@
Crossgo32 is a cross-compiler built from "gcc 2.7.2.2" which uses the
Cygnus embedded libraries to create smaller binaries. Unfortunately
there is no networking support at the moment. Binaries are created in
the COFF format and a utility is provided to convert these binaries
into DJGPPv1 exe files.
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
Cygnus's dos release utilities dosrel-1.0
Share and enjoy,
- Joel
sutton@aardvark.apana.org.au
WWW: http://www.delorie.com/djgpp/

View File

@ -1,158 +0,0 @@
bin/i386-go32-ar
bin/i386-go32-as
bin/i386-go32-c++
bin/i386-go32-c++filt
bin/i386-go32-coff2exe
bin/i386-go32-g++
bin/i386-go32-gasp
bin/i386-go32-gcc
bin/i386-go32-ld
bin/i386-go32-nm
bin/i386-go32-objcopy
bin/i386-go32-objdump
bin/i386-go32-ranlib
bin/i386-go32-size
bin/i386-go32-strings
bin/i386-go32-strip
bin/protoize
bin/unprotoize
i386-go32/bin/ar
i386-go32/bin/as
i386-go32/bin/gcc
i386-go32/bin/ld
i386-go32/bin/nm
i386-go32/bin/ranlib
i386-go32/bin/strip
i386-go32/include/_ansi.h
i386-go32/include/_syslist.h
i386-go32/include/ar.h
i386-go32/include/assert.h
i386-go32/include/ctype.h
i386-go32/include/dirent.h
i386-go32/include/errno.h
i386-go32/include/fastmath.h
i386-go32/include/fcntl.h
i386-go32/include/grp.h
i386-go32/include/ieeefp.h
i386-go32/include/locale.h
i386-go32/include/machine/fastmath.h
i386-go32/include/machine/ieeefp.h
i386-go32/include/machine/setjmp-dj.h
i386-go32/include/machine/setjmp.h
i386-go32/include/machine/types.h
i386-go32/include/math.h
i386-go32/include/paths.h
i386-go32/include/process.h
i386-go32/include/pwd.h
i386-go32/include/reent.h
i386-go32/include/regdef.h
i386-go32/include/setjmp.h
i386-go32/include/signal.h
i386-go32/include/stdio.h
i386-go32/include/stdlib.h
i386-go32/include/string.h
i386-go32/include/sys/_types.h
i386-go32/include/sys/config.h
i386-go32/include/sys/dir.h
i386-go32/include/sys/dirent.h
i386-go32/include/sys/dos.h
i386-go32/include/sys/dpmi.h
i386-go32/include/sys/errno.h
i386-go32/include/sys/fcntl.h
i386-go32/include/sys/file.h
i386-go32/include/sys/go32.h
i386-go32/include/sys/param.h
i386-go32/include/sys/pc.h
i386-go32/include/sys/reent.h
i386-go32/include/sys/register.h
i386-go32/include/sys/resource.h
i386-go32/include/sys/setjmp.h
i386-go32/include/sys/signal.h
i386-go32/include/sys/stat-dj.h
i386-go32/include/sys/stat.h
i386-go32/include/sys/stdc.h
i386-go32/include/sys/time.h
i386-go32/include/sys/times.h
i386-go32/include/sys/types.h
i386-go32/include/sys/uio.h
i386-go32/include/sys/unistd.h
i386-go32/include/sys/wait.h
i386-go32/include/termios.h
i386-go32/include/time.h
i386-go32/include/unctrl.h
i386-go32/include/unistd.h
i386-go32/include/utime.h
i386-go32/include/utmp.h
i386-go32/lib/crt0.o
i386-go32/lib/ldscripts/i386go32.x
i386-go32/lib/ldscripts/i386go32.xbn
i386-go32/lib/ldscripts/i386go32.xn
i386-go32/lib/ldscripts/i386go32.xr
i386-go32/lib/ldscripts/i386go32.xu
i386-go32/lib/libc.a
i386-go32/lib/libg.a
i386-go32/lib/libiberty.a
i386-go32/lib/libm.a
include/ansidecl.h
include/bfd.h
include/bfdlink.h
include/obstack.h
lib/gcc-lib/i386-go32/2.7.2.2/SYSCALLS.c.X
lib/gcc-lib/i386-go32/2.7.2.2/cc1
lib/gcc-lib/i386-go32/2.7.2.2/cc1obj
lib/gcc-lib/i386-go32/2.7.2.2/cc1plus
lib/gcc-lib/i386-go32/2.7.2.2/cpp
lib/gcc-lib/i386-go32/2.7.2.2/include/README
lib/gcc-lib/i386-go32/2.7.2.2/include/float.h
lib/gcc-lib/i386-go32/2.7.2.2/include/iso646.h
lib/gcc-lib/i386-go32/2.7.2.2/include/limits.h
lib/gcc-lib/i386-go32/2.7.2.2/include/objc/NXConstStr.h
lib/gcc-lib/i386-go32/2.7.2.2/include/objc/Object.h
lib/gcc-lib/i386-go32/2.7.2.2/include/objc/Protocol.h
lib/gcc-lib/i386-go32/2.7.2.2/include/objc/encoding.h
lib/gcc-lib/i386-go32/2.7.2.2/include/objc/hash.h
lib/gcc-lib/i386-go32/2.7.2.2/include/objc/list.h
lib/gcc-lib/i386-go32/2.7.2.2/include/objc/objc-api.h
lib/gcc-lib/i386-go32/2.7.2.2/include/objc/objc.h
lib/gcc-lib/i386-go32/2.7.2.2/include/objc/sarray.h
lib/gcc-lib/i386-go32/2.7.2.2/include/objc/typedstream.h
lib/gcc-lib/i386-go32/2.7.2.2/include/proto.h
lib/gcc-lib/i386-go32/2.7.2.2/include/stdarg.h
lib/gcc-lib/i386-go32/2.7.2.2/include/stddef.h
lib/gcc-lib/i386-go32/2.7.2.2/include/syslimits.h
lib/gcc-lib/i386-go32/2.7.2.2/include/va-alpha.h
lib/gcc-lib/i386-go32/2.7.2.2/include/va-clipper.h
lib/gcc-lib/i386-go32/2.7.2.2/include/va-h8300.h
lib/gcc-lib/i386-go32/2.7.2.2/include/va-i860.h
lib/gcc-lib/i386-go32/2.7.2.2/include/va-i960.h
lib/gcc-lib/i386-go32/2.7.2.2/include/va-m88k.h
lib/gcc-lib/i386-go32/2.7.2.2/include/va-mips.h
lib/gcc-lib/i386-go32/2.7.2.2/include/va-pa.h
lib/gcc-lib/i386-go32/2.7.2.2/include/va-ppc.h
lib/gcc-lib/i386-go32/2.7.2.2/include/va-pyr.h
lib/gcc-lib/i386-go32/2.7.2.2/include/va-sparc.h
lib/gcc-lib/i386-go32/2.7.2.2/include/va-spur.h
lib/gcc-lib/i386-go32/2.7.2.2/include/varargs.h
lib/gcc-lib/i386-go32/2.7.2.2/libgcc.a
lib/gcc-lib/i386-go32/2.7.2.2/specs
lib/libi386-go32-bfd.a
lib/libi386-go32-opcodes.a
lib/libiberty.a
share/crossgo32/emu387
share/crossgo32/go32.exe
%%PORTDOCS%%share/doc/crossgo32/FAQ-0.8
%%PORTDOCS%%share/doc/crossgo32/README.FreeBSD
%%PORTDOCS%%@dirrm share/doc/crossgo32
@dirrm share/crossgo32
@dirrm lib/gcc-lib/i386-go32/2.7.2.2/include/objc
@dirrm lib/gcc-lib/i386-go32/2.7.2.2/include
@dirrm lib/gcc-lib/i386-go32/2.7.2.2
@dirrm lib/gcc-lib/i386-go32
@dirrm lib/gcc-lib
@dirrm i386-go32/lib/ldscripts
@dirrm i386-go32/lib
@dirrm i386-go32/include/sys
@dirrm i386-go32/include/machine
@dirrm i386-go32/include
@dirrm i386-go32/bin
@dirrm i386-go32