home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
progc
/
djgas138.arj
/
GAS1381.DIF
< prev
next >
Wrap
Text File
|
1992-04-13
|
4KB
|
96 lines
diff -c2 +recursive orig/gas-1.38/changelo gas-1.38/changelo
*** orig/gas-1.38/changelo Sun Mar 29 18:28:06 1992
--- gas-1.38/changelo Sun Mar 29 18:29:46 1992
***************
*** 1,2 ****
--- 1,6 ----
+ Sun Mar 29 13:27:00 EST 1992 DJ Delorie (dj@ctron.com
+
+ * struc-symbol.h Use aoutgnu.h for MS-DOS.
+
Fri Jan 4 12:48:22 EST 1991 Jay Fenlason (hack@ai.mit.edu)
diff -c2 +recursive orig/gas-1.38/configur.bat gas-1.38/configur.bat
*** orig/gas-1.38/configur.bat Sat Mar 28 18:22:54 1992
--- gas-1.38/configur.bat Sat Mar 28 18:33:52 1992
***************
*** 0 ****
--- 1,33 ----
+ @echo off
+ echo Configuring gas-1.38.1 for go32
+ rem This batch file assumes a unix-type "sed" program
+
+ echo # Makefile generated by "configure.bat"> Makefile.dos
+ echo all.dos: a386>> Makefile.dos
+
+ if exist config.sed del config.sed
+
+ echo "s/:f/: \$/g ">> config.sed
+ echo "s/^DEFAULT_GAS/#DEFAULT_GAS/ ">> config.sed
+ echo "s/^#DEFAULT_GAS=a386/DEFAULT_GAS=a386/ ">> config.sed
+ echo "s/# -DNON_BROKEN_WORDS/-DNON_BROKEN_WORDS/ ">> config.sed
+ echo "s/# -DSIGTY/-DSIGTY/ ">> config.sed
+ echo "s/a\.out\.gnu\.h/aoutgnu\.h/g ">> config.sed
+ echo "s/a\.out\.coff\.h/aoutcoff\.h/g ">> config.sed
+ echo "s/flonum-const/fn-const/g ">> config.sed
+ echo "s/flonum-copy/fn-copy/g ">> config.sed
+
+ echo "/ $(CC) @a386.rf/d ">> config.sed
+ echo "/^a386[ ]*:/,/-o/ { ">> config.sed
+ echo " s/\\\"/\"/g ">> config.sed
+ echo " s/ \$(CC)/ >a386.rf/ ">> config.sed
+ echo " /-o/ a\ ">> config.sed
+ echo " $(CC) @a386.rf ">> config.sed
+ echo "} ">> config.sed
+
+ sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed
+ sed -f config2.sed Makefile >> Makefile.dos
+ copy makefile.dos makefile
+ del makefile.dos
+ del config.sed
+ del config2.sed
diff -c2 +recursive orig/gas-1.38/output-f.c gas-1.38/output-f.c
*** orig/gas-1.38/output-f.c Sat Mar 28 18:55:10 1992
--- gas-1.38/output-f.c Sat Mar 28 18:56:00 1992
***************
*** 28,31 ****
--- 28,37 ----
#include <stdio.h>
+ #ifndef __MSDOS__
+ #define BINARY_FOPEN_W "w"
+ #else
+ #define BINARY_FOPEN_W "wb"
+ #endif
+
void as_perror();
***************
*** 39,43 ****
if(name[0]=='-' && name[1]=='\0')
stdoutput=stdout;
! else if ( ! (stdoutput = fopen( name, "w" )) )
{
as_perror ("FATAL: Can't create %s", name);
--- 45,49 ----
if(name[0]=='-' && name[1]=='\0')
stdoutput=stdout;
! else if ( ! (stdoutput = fopen( name, BINARY_FOPEN_W )) )
{
as_perror ("FATAL: Can't create %s", name);
diff -c2 +recursive orig/gas-1.38/struc-sy.h gas-1.38/struc-sy.h
*** orig/gas-1.38/struc-sy.h Sat Mar 28 18:43:26 1992
--- gas-1.38/struc-sy.h Sat Mar 28 18:44:02 1992
***************
*** 19,23 ****
--- 19,27 ----
#ifndef VMS
+ #ifndef __MSDOS__
#include "a.out.gnu.h" /* Needed to define struct nlist. Sigh. */
+ #else
+ #include "aoutgnu.h"
+ #endif
#else
#include "a_out.h"