meditationatae

Just another WordPress.com site

Running the testsuite for gcc

leave a comment »

After Tcl, I believe I re-installed “expect”, then installed Dejagnu. This is quite involved.

Then I set:

PATH=$PATH:/usr/local/share/dejagnu

to add /usr/local/share/dejagnu
to the search Path, as alluded to here:

https://gcc.gnu.org/install/test.html

My src and obj directory is:
/home/david/scratch3/gcc-4.8.3

So I ran:

[david@localhost gcc-4.8.3]$ make -k check

which is in progress…

Written by meditationatae

July 17, 2014 at 9:47 pm

Posted in History

Source code for Tcl/Tk 8.5

leave a comment »

I needed Tcl (a scripting language) to do compiler tests on GCC using Dejagnu.

I found what I needed here (source code):

http://www.tcl.tk/software/tcltk/8.5.html

Written by meditationatae

July 17, 2014 at 8:44 pm

Posted in History

The GCC Quad-Precision Math Library – Gnu

leave a comment »

Available from:

http://gcc.gnu.org/onlinedocs/libquadmath.pdf

The manual follows C syntax, so it’s not fortran. The math functions available are well-documented, at a basic level.

Input to a 128-bit float is clear. Output (print) of a 128-bit float is explained, though less obvious.

Written by meditationatae

July 17, 2014 at 8:02 pm

Posted in History

By Jove!

leave a comment »

Building of gcc 4.8.3 completed:

libtool: link: /usr/local/x86_64-unknown-linux-gnu/bin/ranlib .libs/libatomic.a
libtool: link: ( cd “.libs” && rm -f “libatomic.la” && ln -s “../libatomic.la” “libatomic.la” )
true DO=all multi-do # make
make[4]: Leaving directory `/home/david/scratch3/gcc-4.8.3/x86_64-unknown-linux-gnu/libatomic’
make[3]: Leaving directory `/home/david/scratch3/gcc-4.8.3/x86_64-unknown-linux-gnu/libatomic’
make[2]: Leaving directory `/home/david/scratch3/gcc-4.8.3/x86_64-unknown-linux-gnu/libatomic’
make[1]: Leaving directory `/home/david/scratch3/gcc-4.8.3′
[david@localhost gcc-4.8.3]$

[david@localhost gcc-4.8.3]$ pwd
/home/david/scratch3/gcc-4.8.3
[david@localhost gcc-4.8.3]$ ls -l
total 11628
-rw-r–r–. 1 david david 38475 Jul 4 2003 ABOUT-NLS
drwxr-xr-x. 7 david david 4096 May 22 05:12 boehm-gc
drwxrwxr-x. 4 david david 4096 Jul 16 22:48 build-x86_64-unknown-linux-gnu
-rw-r–r–. 1 david david 553247 May 22 05:07 ChangeLog
-rw-r–r–. 1 david david 3262 May 13 2004 ChangeLog.tree-ssa
-rw-rw-r–. 1 david david 10 Jul 17 00:11 compare
-rwxr-xr-x. 1 david david 3707 Aug 22 2009 compile
drwxr-xr-x. 2 david david 4096 May 22 05:12 config
-rwxr-xr-x. 1 david david 45297 Apr 4 09:48 config.guess
-rw-rw-r–. 1 david david 29306 Jul 16 22:47 config.log
-rw-r–r–. 1 david david 25398 Mar 22 2011 config-ml.in
-rwxr-xr-x. 1 david david 14916 Feb 13 2011 config.rpath
-rwxrwxr-x. 1 david david 33484 Jul 16 22:47 config.status
-rwxr-xr-x. 1 david david 35594 Apr 4 09:48 config.sub
-rwxr-xr-x. 1 david david 471491 Sep 3 2013 configure
-rw-r–r–. 1 david david 103198 Sep 3 2013 configure.ac
drwxr-xr-x. 5 david david 4096 May 22 05:12 contrib
-rw-r–r–. 1 david david 18002 Jul 13 2005 COPYING
-rw-r–r–. 1 david david 35147 Jul 17 2007 COPYING3
-rw-r–r–. 1 david david 7639 Jul 17 2007 COPYING3.LIB
-rw-r–r–. 1 david david 26527 Jul 13 2005 COPYING.LIB
-rw-r–r–. 1 david david 3324 Apr 9 2009 COPYING.RUNTIME
-rwxr-xr-x. 1 david david 18615 Aug 22 2009 depcomp
drwxr-xr-x. 3 david david 4096 May 22 05:13 fixincludes
drwxr-xr-x. 18 david david 20480 May 22 05:23 gcc
drwxr-xr-x. 2 david david 4096 May 22 05:12 gnattools
drwxrwxr-x. 28 david david 4096 Jul 17 00:11 host-x86_64-unknown-linux-gnu
drwxr-xr-x. 2 david david 4096 May 22 05:12 include
drwxr-xr-x. 2 david david 4096 May 22 05:13 INSTALL
-rwxr-xr-x. 1 david david 13663 Aug 22 2009 install-sh
drwxr-xr-x. 2 david david 4096 May 22 05:12 intl
-rw-r–r–. 1 david david 58 May 22 05:13 LAST_UPDATED
drwxr-xr-x. 2 david david 4096 May 22 05:13 libada
drwxr-xr-x. 4 david david 4096 May 22 05:12 libatomic
drwxr-xr-x. 2 david david 4096 May 22 05:12 libbacktrace
drwxr-xr-x. 4 david david 4096 May 22 05:13 libcpp
drwxr-xr-x. 4 david david 4096 May 22 05:12 libdecnumber
drwxr-xr-x. 8 david david 4096 May 22 05:13 libffi
drwxr-xr-x. 4 david david 4096 May 22 05:12 libgcc
drwxr-xr-x. 9 david david 4096 May 22 05:13 libgfortran
drwxr-xr-x. 6 david david 4096 May 22 05:13 libgo
drwxr-xr-x. 4 david david 4096 May 22 05:34 libgomp
drwxr-xr-x. 4 david david 4096 May 22 05:12 libiberty
drwxr-xr-x. 4 david david 4096 May 22 06:35 libitm
drwxr-xr-x. 15 david david 4096 May 22 05:12 libjava
drwxr-xr-x. 3 david david 4096 May 22 05:12 libmudflap
drwxr-xr-x. 4 david david 4096 May 22 05:13 libobjc
drwxr-xr-x. 5 david david 4096 May 22 06:23 libquadmath
drwxr-xr-x. 7 david david 4096 May 22 05:12 libsanitizer
drwxr-xr-x. 3 david david 4096 May 22 05:13 libssp
drwxr-xr-x. 11 david david 4096 May 22 05:12 libstdc++-v3
-rwxr-xr-x. 1 david david 3370 Sep 20 2007 libtool-ldflags
-rw-r–r–. 1 david david 263748 Apr 4 09:53 libtool.m4
-rw-r–r–. 1 david david 1768 Sep 26 2008 ltgcc.m4
-rw-r–r–. 1 david david 249709 Jan 13 2011 ltmain.sh
-rw-r–r–. 1 david david 6126 Dec 5 2009 lt~obsolete.m4
drwxr-xr-x. 2 david david 4096 May 22 05:12 lto-plugin
-rw-r–r–. 1 david david 11950 Dec 5 2009 ltoptions.m4
-rw-r–r–. 1 david david 4372 Sep 26 2008 ltsugar.m4
-rw-r–r–. 1 david david 703 Dec 5 2009 ltversion.m4
-rw-r–r–. 1 david david 23258 Feb 21 2013 MAINTAINERS
drwxr-xr-x. 2 david david 4096 May 22 05:12 maintainer-scripts
-rw-rw-r–. 1 david david 736670 Jul 16 22:47 Makefile
-rw-r–r–. 1 david david 26999 Mar 30 2013 Makefile.def
-rw-r–r–. 1 david david 1545138 Mar 30 2013 Makefile.in
-rw-r–r–. 1 david david 68387 Jan 11 2013 Makefile.tpl
-rw-r–r–. 1 david david 6544513 May 22 06:36 MD5SUMS
-rwxr-xr-x. 1 david david 11419 Aug 22 2009 missing
-rwxr-xr-x. 1 david david 2179 Jul 22 2000 mkdep
-rwxr-xr-x. 1 david david 3538 Aug 22 2009 mkinstalldirs
-rwxr-xr-x. 1 david david 2648 Feb 12 2011 move-if-change
-rw-r–r–. 1 david david 640303 May 22 05:14 NEWS
drwxrwxr-x. 6 david david 4096 Jul 16 23:53 prev-x86_64-unknown-linux-gnu
-rw-r–r–. 1 david david 1026 Jul 16 2012 README
-rw-rw-r–. 1 david david 13 Jul 16 22:47 serdep.tmp
drwxrwxr-x. 6 david david 4096 Jul 16 23:01 stage1-x86_64-unknown-linux-gnu
-rw-rw-r–. 1 david david 7 Jul 17 00:11 stage_current
-rw-rw-r–. 1 david david 7 Jul 16 22:47 stage_final
-rw-rw-r–. 1 david david 7 Jul 17 00:11 stage_last
-rwxr-xr-x. 1 david david 2265 Jul 13 2005 symlink-tree
drwxrwxr-x. 12 david david 4096 Jul 17 00:17 x86_64-unknown-linux-gnu
-rwxr-xr-x. 1 david david 6179 Aug 22 2009 ylwrap
drwxr-xr-x. 14 david david 4096 May 22 05:12 zlib
[david@localhost gcc-4.8.3]$

Written by meditationatae

July 17, 2014 at 4:23 am

Posted in History

GCC-4.8.3

leave a comment »

I downloaded the tar bzip2 file for gcc 4.8.3 .

I put it in /home/david/scratch3/

and un-tarred the archive, and un-bzipped it.

The instructions suggest choosing an OBJDIR different from SRCDIR (source directory), but I don’t know how to do that.

So I did all in:
/home/david/scratch3/gcc-4.8.3/

[david@localhost gcc-4.8.3]$ ./configure –enable-languages=c,c++,fortran –disable-multilib

[blah blah]

then:

*** This configuration is not supported in the following subdirectories:
gnattools target-libada target-libgo target-libffi target-libbacktrace target-zlib target-libjava target-libobjc target-boehm-gc
(Any other directories should still work fine.)

What???

[david@localhost gcc-4.8.3]$ make

I don’t believe it will work.

Written by meditationatae

July 17, 2014 at 3:05 am

Posted in History

Configuring GCC 4.9.1 for build

leave a comment »

This is what I did in ./configure, and the “build” is still going:

./configure says:

configure: error: I suspect your system does not have
32-bit developement libraries (libc and headers).
If you have them, rerun configure with –enable-multilib.
If you do not have them, and want to build a 64-bit-only compiler,
rerun configure with –disable-multilib.

[ So, this time, I try: --disable-multilib as follows: ]

[david@localhost Build]$ /home/david/scratch2/gcc-4.9.1/configure –disable-multilib

and then:

[david@localhost Build]$ make

Written by meditationatae

July 16, 2014 at 10:05 pm

Posted in History

gcc 4.9.1

leave a comment »

I did the moral equivalent of
–disable-multilib

in ./configure .

Previously, I had put: –enable-multilib
because I thought I had 32-bit libraries.

The option to ./configure is far up the page.

Written by meditationatae

July 16, 2014 at 9:30 pm

Posted in History

Follow

Get every new post delivered to your Inbox.