This is the mail archive of the gcc-bugs@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]

[971114] Another fix for all poor guys using filesystems limited to 14 characters


Recently    I tried building  egcs    on  a m68k-motorola-sysv's   and
m88k-motorola-sysv3's native filesystem and  failed due to creation of
files whose  names are longer than 14  characters. The  appended patch
fixes   this;  but without   setting    the  88k's  kernel   parameter
`TRUNCFNAME: Silently truncate  long filenames' it's  still impossible
to   build      the    stuff  due   to    #include    filenames   like
`stl_uninitialized.h' as the kernel refuses opening such files even if
they come from an NFS mounted filesystem :-(

Nevertheless, here's the patch:

In etc/:

Fri Nov 21 12:54:58 1997  Manfred Hollstein <manfred@s-direktnet.de>

	* Makefile.in: Add --no-split argument to avoid creating files
	with names longer than 14 characters.

In libstdc++/:

Fri Nov 21 12:56:24 1997  Manfred Hollstein <manfred@s-direktnet.de>

	* Makefile.in (bigstmp-complex): Name changed to bigstmp-complx to
	cope with filesystem not capable to handle names longer than
	14 characters.

diff --context --recursive --show-c-function -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-971114.orig/etc/Makefile.in egcs-971114/etc/Makefile.in
*** egcs-971114.orig/etc/Makefile.in	Fri Aug 22 00:58:49 1997
--- egcs-971114/etc/Makefile.in	Fri Aug 22 00:58:49 1997
*************** install-info: info
*** 60,66 ****
  dvi: $(DVIFILES)
  
  standards.info: $(srcdir)/standards.texi
! 	$(MAKEINFO) -I$(srcdir) -o standards.info $(srcdir)/standards.texi
  
  standards.dvi: $(srcdir)/standards.texi
  	TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/standards.texi
--- 60,66 ----
  dvi: $(DVIFILES)
  
  standards.info: $(srcdir)/standards.texi
! 	$(MAKEINFO) --no-split -I$(srcdir) -o standards.info $(srcdir)/standards.texi
  
  standards.dvi: $(srcdir)/standards.texi
  	TEXINPUTS=$(TEXIDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/standards.texi
diff --context --recursive --show-c-function -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-971114.orig/libstdc++/Makefile.in egcs-971114/libstdc++/Makefile.in
*** egcs-971114.orig/libstdc++/Makefile.in	Tue Nov  4 21:12:53 1997
--- egcs-971114/libstdc++/Makefile.in	Thu Nov 20 16:20:55 1997
***************
*** 17,23 ****
  VERSION = 2.8.0
  
  OBJS  = cstringi.o stdexcepti.o cstdlibi.o cmathi.o stlinst.o
! SUBLIBS = $(STAMP)-string $(STAMP)-complex
  
  # C++ headers with no extension
  HEADERS= cassert cctype cerrno cfloat ciso646 climits clocale cmath complex \
--- 17,23 ----
  VERSION = 2.8.0
  
  OBJS  = cstringi.o stdexcepti.o cstdlibi.o cmathi.o stlinst.o
! SUBLIBS = $(STAMP)-string $(STAMP)-complx
  
  # C++ headers with no extension
  HEADERS= cassert cctype cerrno cfloat ciso646 climits clocale cmath complex \
*************** stmp-complex: ${srcdir}/cinst.cc ${srcdi
*** 190,196 ****
  	done
  	touch stmp-complex
  
! bigstmp-complex: ${srcdir}/cinst.cc ${srcdir}/std/complext.h \
  	         ${srcdir}/std/complext.cc ${srcdir}/std/dcomplex.h \
  	         ${srcdir}/std/ldcomplex.h
  	echo fcomplex
--- 190,196 ----
  	done
  	touch stmp-complex
  
! bigstmp-complx: ${srcdir}/cinst.cc ${srcdir}/std/complext.h \
  	         ${srcdir}/std/complext.cc ${srcdir}/std/dcomplex.h \
  	         ${srcdir}/std/ldcomplex.h
  	echo fcomplex

--
 Manfred Hollstein             If you have any questions about GNU SW:
 Hindenburgstr. 13/1                   <mailto:manfred@s-direktnet.de>
 75446 Wiernsheim                                    or take a look at
 FRG                    <http://www.s-direktnet.de/HomePages/manfred/>

 Public PGP key from
 <http://www.s-direktnet.de/HomePages/manfred/manfred.asc>


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