gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Build fixes for 32 bit Ubuntu Linux 11.04


From: Blake McBride
Subject: [Gcl-devel] Build fixes for 32 bit Ubuntu Linux 11.04
Date: Tue, 5 Jul 2011 16:40:42 -0500

Greetings,

The following changes were necessary to get GCL to build on the above
mentioned machine.  The first error is new for me.  The second one has
been an issue for years.  After these changes everything built and ran
fine.

1.  Fix configuration failure due to unexpected path for ld:

--- configure~  2011-07-05 14:09:46.000000000 -0500
+++ configure   2011-07-05 15:53:05.553382999 -0500
@@ -8120,7 +8120,7 @@
    heap_ceiling=0x0
 else
 if test -d /proc/self ; then
-   heap_ceiling=0x`/bin/cat /proc/self/maps | grep "/lib/ld" | cut
-f1 -d- | head -1`
+   heap_ceiling=0x`/bin/cat /proc/self/maps | grep "/lib.*/ld" | cut
-f1 -d- | head -1`
 else
 #echo -e "#include <stdio.h>\n int main() {printf(\"foo\");return 0;}" >foo.c
 #$CC foo.c -o foo


2.  After running configure modify makedefs as follows:  (This has
been a problem for years.)

--- makedefs~   2011-07-05 15:54:41.401036915 -0500
+++ makedefs    2011-07-05 15:57:59.727036589 -0500
@@ -46,9 +46,9 @@

 NOTIFY=yes
 CC=gcc
-CFLAGS=  -fsigned-char -pipe -Wall  -O3 -fomit-frame-pointer  -I$(GCLDIR)/o
-FINAL_CFLAGS=   -fsigned-char -pipe -Wall
-NIFLAGS=  -fsigned-char -pipe -Wall    -I$(GCLDIR)/o
+CFLAGS=  -fsigned-char -pipe -Wall  -O3 -fomit-frame-pointer
-I$(GCLDIR)/o -fno-stack-protector
+FINAL_CFLAGS=   -fsigned-char -pipe -Wall -fno-stack-protector
+NIFLAGS=  -fsigned-char -pipe -Wall    -I$(GCLDIR)/o -fno-stack-protector
 O3FLAGS=-Os -fomit-frame-pointer
 O2FLAGS=-O


3.  "make install" will fail and no gcl will be built if pdflatex is
not installed on the machine performing the build.  If pdflatex is not
present it should just skip the docs.

Thanks.

Blake McBride



reply via email to

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