bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs 21.1 - gcc: nocombreloc: No such file or directory


From: Andreas Schwab
Subject: Re: Emacs 21.1 - gcc: nocombreloc: No such file or directory
Date: 22 Oct 2001 21:20:16 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.1

"Eli Zaretskii" <eliz@is.elta.co.il> writes:

|> > From: Andreas Schwab <schwab@suse.de>
|> > Date: 22 Oct 2001 19:24:21 +0200
|> >
|> > The following patch should fix the problem:
|> > 
|> > 2001-10-22  Andreas Schwab  <schwab@suse.de>
|> > 
|> >    * m/macppc.h [LINUX]: Don't define LINKER to the same as the
|> >    default, so that prefix-args is still applied.
|> 
|> Thanks, Andreas.
|> 
|> Charles, could you please tell if this fixes your problem?

Sorry, it does not work.  Here is a version that works:

2001-10-22  Andreas Schwab  <schwab@suse.de>

        * m/macppc.h [LINUX]: Override LD_SWITCH_SYSTEM_TEMACS.

--- emacs-21.1/src/m/macppc.h.~1.6.~    Mon Oct  1 10:57:25 2001
+++ emacs-21.1/src/m/macppc.h   Mon Oct 22 21:02:28 2001
@@ -96,6 +96,10 @@
 #ifdef LINUX
 #define LINKER $(CC) -nostdlib
 #define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc
+/* s/gnu-linux.h defines this to `-z nocombreloc' which does not work here
+   because prefix-args is not used.  */
+#undef LD_SWITCH_SYSTEM_TEMACS
+#define LD_SWITCH_MACHINE_TEMACS -Xlinker -znocombreloc
 #endif
 
 #if 0  /* This breaks things on PPC GNU/Linux ecept for Yellowdog,

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de                          completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]