This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Flatten DJGPP's include files


Noticed this oversite while looking at why the recent fix given for PR8787
was necessary.  (It shouldn't have been, see my next patch)

Out of all the i[3-7]86 targets only djgpp still has #includes in
it the actual file and not in config.gcc

Corrected via this simple patch.

../uberbaum/configure --target=i686-pc-msdosdjgpp
make configure-gcc;make

which was able to create a cross-compiled xgcc.exe and cc1.exe

Kelley Cook

2003-06-10  Kelley Cook  <kelleycook@wideopenwest.com>

	* config/i386/djgpp.h: Move included unix.h, bsd.h, gas.h to ...
	* config.gcc (i[34567]86-pc-msdosdjgpp): ... here.

*** config.gcc~	Tue Jun 10 15:28:42 2003
--- config.gcc	Tue Jun 10 15:29:29 2003
***************
*** 1018,1024 ****
  	;;
  i[34567]86-pc-msdosdjgpp*)
  	xm_file=i386/xm-djgpp.h
! 	tm_file="dbxcoff.h ${tm_file} i386/djgpp.h"
  	tmake_file=i386/t-djgpp
  	gnu_ld=yes
  	gas=yes
--- 1018,1024 ----
  	;;
  i[34567]86-pc-msdosdjgpp*)
  	xm_file=i386/xm-djgpp.h
! 	tm_file="dbxcoff.h ${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h"
  	tmake_file=i386/t-djgpp
  	gnu_ld=yes
  	gas=yes
*** config/i386/djgpp.h~	Tue Jun 10 15:27:43 2003
--- config/i386/djgpp.h	Tue Jun 10 15:27:55 2003
***************
*** 30,39 ****
  /* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop).  */
  #define HANDLE_PRAGMA_PACK_PUSH_POP 1
  
- #include "i386/unix.h"
- #include "i386/bsd.h"
- #include "i386/gas.h"
- 
  /* If defined, a C expression whose value is a string containing the
     assembler operation to identify the following data as
     uninitialized global data.  If not defined, and neither
--- 30,35 ----

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]