* bug#9403: [emacs] [./configure error] Emacs hasn't been ported to `powerpc-gnu-linux-uclibc' systems
@ 2011-08-29 22:28 Douglas Mencken
2011-08-30 2:10 ` bug#9403: " Paul Eggert
0 siblings, 1 reply; 7+ messages in thread
From: Douglas Mencken @ 2011-08-29 22:28 UTC (permalink / raw)
To: 9403
I got this while building GNU/Emacs.
I supposed it's very portable.
In MACHINES file, I can read that only Yellow Dog distro is supported,
regardless of everything...
Of course, all of the above is just plain *false*.
With the following sed command:
sed -i 's/powerpc\*-\*-linux-gnu\*/powerpc*-*-linux-*/' ./configure.in
I've been able to get working GNU/Emacs, even with Snake game :)
Configured for `powerpc-gnu-linux-uclibc'.
Where should the build process find the source code?
/root/build-farm/emacs-v23.3.builddir
What operating system and machine description files should Emacs use?
`s/gnu-linux.h' and `m/macppc.h'
What compiler should emacs be built with?
powerpc-gnu-linux-uclibc-gcc -O3 -Wdeclaration-after-statement
-Wno-pointer-sign
Should Emacs use the GNU version of malloc? yes
Should Emacs use a relocating allocator for buffers? yes
Should Emacs use mmap(2) for buffer allocation? no
What window system should Emacs use? none
What toolkit should Emacs use? none
Where do we find X Windows header files? NONE
Where do we find X Windows libraries? NONE
Does Emacs use -lXaw3d? no
Does Emacs use -lXpm? no
Does Emacs use -ljpeg? no
Does Emacs use -ltiff? no
Does Emacs use a gif library? no
Does Emacs use -lpng? no
Does Emacs use -lrsvg-2? no
Does Emacs use -lgpm? yes
Does Emacs use -ldbus? no
Does Emacs use -lgconf? no
Does Emacs use -lfreetype? no
Does Emacs use -lm17n-flt? no
Does Emacs use -lotf? no
Does Emacs use -lxft? no
Does Emacs use toolkit scroll bars? no
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#9403: Emacs hasn't been ported to `powerpc-gnu-linux-uclibc' systems
2011-08-29 22:28 bug#9403: [emacs] [./configure error] Emacs hasn't been ported to `powerpc-gnu-linux-uclibc' systems Douglas Mencken
@ 2011-08-30 2:10 ` Paul Eggert
2011-08-30 6:47 ` Glenn Morris
0 siblings, 1 reply; 7+ messages in thread
From: Paul Eggert @ 2011-08-30 2:10 UTC (permalink / raw)
To: Douglas Mencken; +Cc: 9403-done
Thanks for the bug report. The configure.in and MACHINES stuff is no
longer present in the trunk so I guess that's been fixed already.
I just now removed the obsolete mention of the Yellow Dog issue from
etc/PROBLEMS, as part of bzr 105613:
http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/105613
I think that should finish the job, so I'm marking the bug as done.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#9403: Emacs hasn't been ported to `powerpc-gnu-linux-uclibc' systems
2011-08-30 2:10 ` bug#9403: " Paul Eggert
@ 2011-08-30 6:47 ` Glenn Morris
2011-08-30 7:47 ` Andreas Schwab
0 siblings, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2011-08-30 6:47 UTC (permalink / raw)
To: 9403; +Cc: eggert
Paul Eggert wrote:
> The configure.in and MACHINES stuff is no longer present in the trunk
> so I guess that's been fixed already.
AFAICS, it remains true that nothing in configure.in will match
$canonical = "powerpc-gnu-linux-uclibc". The minimal change would be:
*** configure.in 2011-08-26 07:12:16 +0000
--- configure.in 2011-08-30 06:47:09 +0000
***************
*** 411,417 ****
case "${canonical}" in
## GNU/Linux ports
! *-*-linux-gnu*)
opsys=gnu-linux
case ${canonical} in
alpha*) machine=alpha ;;
--- 411,417 ----
case "${canonical}" in
## GNU/Linux ports
! *-*-linux-gnu*|powerpc-gnu-linux-uclibc)
opsys=gnu-linux
case ${canonical} in
alpha*) machine=alpha ;;
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#9403: Emacs hasn't been ported to `powerpc-gnu-linux-uclibc' systems
2011-08-30 6:47 ` Glenn Morris
@ 2011-08-30 7:47 ` Andreas Schwab
2011-08-30 16:01 ` Paul Eggert
0 siblings, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2011-08-30 7:47 UTC (permalink / raw)
To: Glenn Morris; +Cc: 9403, eggert
Glenn Morris <rgm@gnu.org> writes:
> case "${canonical}" in
>
> ## GNU/Linux ports
> ! *-*-linux-gnu*|powerpc-gnu-linux-uclibc)
*-*-linux*
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#9403: Emacs hasn't been ported to `powerpc-gnu-linux-uclibc' systems
2011-08-30 7:47 ` Andreas Schwab
@ 2011-08-30 16:01 ` Paul Eggert
2011-08-30 18:59 ` Andreas Schwab
0 siblings, 1 reply; 7+ messages in thread
From: Paul Eggert @ 2011-08-30 16:01 UTC (permalink / raw)
To: Andreas Schwab; +Cc: 9403
On 08/30/11 00:47, Andreas Schwab wrote:
>> ## GNU/Linux ports
>> ! *-*-linux-gnu*|powerpc-gnu-linux-uclibc)
> *-*-linux*
Thanks, I put in the following slightly-more-conservative patch as bzr 105618,
as I'm not sure what would work with non-GNU Linux ports.
* configure.in (opsys): Add pattern *-gnu-linux*
to recognize powerpc-gnu-linux-uclibc (Bug#9403).
=== modified file 'configure.in'
--- configure.in 2011-08-26 07:12:16 +0000
+++ configure.in 2011-08-30 15:55:03 +0000
@@ -411,7 +411,7 @@
case "${canonical}" in
## GNU/Linux ports
- *-*-linux-gnu*)
+ *-*-linux-gnu* | *-gnu-linux*)
opsys=gnu-linux
case ${canonical} in
alpha*) machine=alpha ;;
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#9403: Emacs hasn't been ported to `powerpc-gnu-linux-uclibc' systems
2011-08-30 16:01 ` Paul Eggert
@ 2011-08-30 18:59 ` Andreas Schwab
2011-08-30 20:51 ` Paul Eggert
0 siblings, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2011-08-30 18:59 UTC (permalink / raw)
To: Paul Eggert; +Cc: 9403
Paul Eggert <eggert@cs.ucla.edu> writes:
> Thanks, I put in the following slightly-more-conservative patch as bzr 105618,
> as I'm not sure what would work with non-GNU Linux ports.
>
> * configure.in (opsys): Add pattern *-gnu-linux*
> to recognize powerpc-gnu-linux-uclibc (Bug#9403).
> === modified file 'configure.in'
> --- configure.in 2011-08-26 07:12:16 +0000
> +++ configure.in 2011-08-30 15:55:03 +0000
> @@ -411,7 +411,7 @@
> case "${canonical}" in
>
> ## GNU/Linux ports
> - *-*-linux-gnu*)
> + *-*-linux-gnu* | *-gnu-linux*)
That's not correct. The -gnu- in the example is the (free form) vendor
part. What matters is -linux-uclibc, ie. you fail to match
powerpc-unknown-linux-uclibc which is the canonical form of
powerpc-linux-uclibc.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#9403: Emacs hasn't been ported to `powerpc-gnu-linux-uclibc' systems
2011-08-30 18:59 ` Andreas Schwab
@ 2011-08-30 20:51 ` Paul Eggert
0 siblings, 0 replies; 7+ messages in thread
From: Paul Eggert @ 2011-08-30 20:51 UTC (permalink / raw)
To: Andreas Schwab; +Cc: 9403
On 08/30/11 11:59, Andreas Schwab wrote:
> The -gnu- in the example is the (free form) vendor part.
Thanks, I changed it to *-*-linux* as you suggested, and
removed some related obsolete HP patterns, as follows:
=== modified file 'ChangeLog'
--- ChangeLog 2011-08-30 15:57:22 +0000
+++ ChangeLog 2011-08-30 20:46:59 +0000
@@ -1,7 +1,10 @@
2011-08-30 Paul Eggert <eggert@cs.ucla.edu>
- * configure.in (opsys): Add pattern *-gnu-linux*
+ * configure.in (opsys): Change pattern to *-*-linux*
to recognize powerpc-gnu-linux-uclibc (Bug#9403).
+ Remove unreachable pattern hppa*-*-linux-gnu*.
+ Also, remove ia64*-hp-hpux1[1-9]*, as it also sets machine=hp800,
+ and that can't possibly work now that src/m/hp800.h no longer exists.
2011-08-26 Jan Djärv <jan.h.d@swipnet.se>
=== modified file 'configure.in'
--- configure.in 2011-08-30 15:57:22 +0000
+++ configure.in 2011-08-30 20:46:59 +0000
@@ -410,8 +410,8 @@
machine='' opsys='' unported=no
case "${canonical}" in
- ## GNU/Linux ports
- *-*-linux-gnu* | *-gnu-linux*)
+ ## GNU/Linux and similar ports
+ *-*-linux* )
opsys=gnu-linux
case ${canonical} in
alpha*) machine=alpha ;;
@@ -508,17 +508,6 @@
CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS"
;;
- ia64*-hp-hpux1[1-9]* )
- machine=hp800 opsys=hpux11
- ## FIXME. Peter O'Gorman reports that dumping using unexelf.o doesn't
- ## work either: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6811
- CANNOT_DUMP=yes
- ;;
-
- hppa*-*-linux-gnu* )
- machine=hp800 opsys=gnu-linux
- ;;
-
## IBM machines
rs6000-ibm-aix4.[23]* )
machine=ibmrs6000 opsys=aix4-2
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-08-30 20:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-29 22:28 bug#9403: [emacs] [./configure error] Emacs hasn't been ported to `powerpc-gnu-linux-uclibc' systems Douglas Mencken
2011-08-30 2:10 ` bug#9403: " Paul Eggert
2011-08-30 6:47 ` Glenn Morris
2011-08-30 7:47 ` Andreas Schwab
2011-08-30 16:01 ` Paul Eggert
2011-08-30 18:59 ` Andreas Schwab
2011-08-30 20:51 ` Paul Eggert
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.