public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs-980205 and m68-next-nextstep3: quick death
@ 1998-02-06 16:53 Toon Moene
  0 siblings, 0 replies; 8+ messages in thread
From: Toon Moene @ 1998-02-06 16:53 UTC (permalink / raw)
  To: egcs

As the subject says:

Bootstrapping the compiler
make CC="gcc" libdir=/usr/test/lib LANGUAGES="c "
gcc  -DIN_GCC    -g   -DHAVE_CONFIG_H     -I. -I. -I./config   
-DGCC_INCLUDE_DIR=\"/usr/test/lib/gcc-lib/m68k-next-nextstep3/egcs-2.91.07/include\"  
 -DGPLUSPLUS_INCLUDE_DIR=\"/usr/test/include/g++\"   
-DOLD_GPLUSPLUS_INCLUDE_DIR=\"/usr/test/lib/g++-include\"   
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\"   
-DCROSS_INCLUDE_DIR=\"/usr/test/lib/gcc-lib/m68k-next-nextstep3/egcs-2.91.07/sys-include\"  
 -DTOOL_INCLUDE_DIR=\"/usr/test/m68k-next-nextstep3/include\"  -c  
`echo ./cccp.c | sed 's,^\./,,'`
In file included from cccp.c:71:
gansidecl.h:82: macro `bcopy' used without args
gansidecl.h:92: macro `bzero' used without args
gansidecl.h:102: macro `bcmp' used without args
*** Exit 1

HTH,
Toon.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re:  egcs-980205 and m68-next-nextstep3: quick death
@ 1998-02-06 23:44 Kaveh R. Ghazi
  1998-02-07  8:25 ` Robert Lipe
  0 siblings, 1 reply; 8+ messages in thread
From: Kaveh R. Ghazi @ 1998-02-06 23:44 UTC (permalink / raw)
  To: egcs, toon

 > From: Toon Moene <toon@moene.indiv.nluug.nl>
 > 
 > In file included from cccp.c:71:
 > gansidecl.h:82: macro `bcopy' used without args
 > gansidecl.h:92: macro `bzero' used without args
 > gansidecl.h:102: macro `bcmp' used without args
 > *** Exit 1
 > 
 > HTH,
 > Toon.

	To fix this I think it would work to do the #ifndef bcopy, etc,
as the outer conditional.  I'll write a patch tomorrow.

		--Kaveh
--
Kaveh R. Ghazi			Project Manager / Custom Development
ghazi@caip.rutgers.edu		ICon CMT Corp.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re:  egcs-980205 and m68-next-nextstep3: quick death
@ 1998-02-07 11:58 Kaveh R. Ghazi
  1998-02-08  0:48 ` Jeffrey A Law
  1998-02-08 12:34 ` Toon Moene
  0 siblings, 2 replies; 8+ messages in thread
From: Kaveh R. Ghazi @ 1998-02-07 11:58 UTC (permalink / raw)
  To: egcs, toon; +Cc: law

 > From: Toon Moene <toon@moene.indiv.nluug.nl>
 > 
 > In file included from cccp.c:71:
 > gansidecl.h:82: macro `bcopy' used without args
 > gansidecl.h:92: macro `bzero' used without args
 > gansidecl.h:102: macro `bcmp' used without args
 > *** Exit 1
 > 
 > HTH,
 > Toon.

	Does this patch fix your problem?

		--Kaveh


Sat Feb  7 13:49:41 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        * gansidecl.h: Check for a conflicting macro definition before
        attempting to prototype bcopy, bcmp or bzero.


*** egcs-980205/gcc/gansidecl.h~	Sat Jan 31 19:48:06 1998
--- egcs-980205/gcc/gansidecl.h	Sat Feb  7 13:40:20 1998
***************
*** 77,108 ****
  
  #endif /* ! __STDC__ */
  
! #ifdef HAVE_BCOPY
! # ifdef NEED_DECLARATION_BCOPY
  void bcopy ();
! # endif
! #else
! # ifndef bcopy
  #  define bcopy(src,dst,len) memcpy ((dst),(src),(len))
  # endif
  #endif
  
! #ifdef HAVE_BZERO
! # ifdef NEED_DECLARATION_BZERO
  void bzero ();
! # endif
! #else
! # ifndef bzero
  #  define bzero(dst,len) memset ((dst),0,(len))
  # endif
  #endif
  
! #ifdef HAVE_BCMP
! # ifdef NEED_DECLARATION_BCMP
  int bcmp ();
! # endif
! #else
! # ifndef bcmp
  #  define bcmp(left,right,len) memcmp ((left),(right),(len))
  # endif
  #endif
--- 77,108 ----
  
  #endif /* ! __STDC__ */
  
! #ifndef bcopy
! # ifdef HAVE_BCOPY
! #  ifdef NEED_DECLARATION_BCOPY
  void bcopy ();
! #  endif
! # else
  #  define bcopy(src,dst,len) memcpy ((dst),(src),(len))
  # endif
  #endif
  
! #ifndef bzero
! # ifdef HAVE_BZERO
! #  ifdef NEED_DECLARATION_BZERO
  void bzero ();
! #  endif
! # else
  #  define bzero(dst,len) memset ((dst),0,(len))
  # endif
  #endif
  
! #ifndef bcmp
! # ifdef HAVE_BCMP
! #  ifdef NEED_DECLARATION_BCMP
  int bcmp ();
! #  endif
! # else
  #  define bcmp(left,right,len) memcmp ((left),(right),(len))
  # endif
  #endif
--
Kaveh R. Ghazi			Project Manager / Custom Development
ghazi@caip.rutgers.edu		ICon CMT Corp.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1998-02-08 13:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-06 16:53 egcs-980205 and m68-next-nextstep3: quick death Toon Moene
1998-02-06 23:44 Kaveh R. Ghazi
1998-02-07  8:25 ` Robert Lipe
1998-02-07 21:24   ` Jeffrey A Law
1998-02-07 11:58 Kaveh R. Ghazi
1998-02-08  0:48 ` Jeffrey A Law
1998-02-08 12:34 ` Toon Moene
1998-02-08 13:45   ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).