Re: Building gcc-4.4.0

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

 



Bill McEnaney wrote:

Everybody, Ian's advice helped, but my workstation still expects to find
tools.zip in a subdirectory of /home/gcc-4.4.0.  So I'll try rebuilding
gcc-4.4.0, and sending you part of the log.

Sounds weird that there could be any '.zip' files involved in the GCC
build, but in the 'libjava' parts there really is!  A Google search for
'tools.zip' (these search system are nice!) quickly gave a link to a message like :

----------- clip ----------------------------------
    * From: Andrew Haley <aph at redhat dot com>
* To: classpath-patches ml <classpath-patches at gnu dot org>, Java Patch List <java-patches at gcc dot gnu dot org>
    * Date: Wed, 05 Nov 2008 13:52:00 +0000
    * Subject: Exclude .svn directories from tools.zip

I found a lot of very surprising stuff in tools.zip; fixed thusly.
This doesn't affect straight Classpath builds, but it does affect gcj.

Andrew.


2008-11-05  Andrew Haley  <aph@xxxxxxxxxx>

	* tools/Makefile.am (UPDATE_TOOLS_ZIP, CREATE_TOOLS_ZIP): Exclude
	.svn directories.

Index: classpath/tools/Makefile.am
===================================================================
--- classpath/tools/Makefile.am	(revision 141575)
+++ classpath/tools/Makefile.am	(working copy)
@@ -380,11 +380,11 @@
 endif
----------- clip ----------------------------------

The 'classpath/tools' directory is in 'libjava' and doing a 'grep' there
gave :

----------- clip ----------------------------------
[root@Dell tools]# pwd
/data1/home/src/gcc-4.4.0/libjava/classpath/tools
[root@Dell tools]# grep tools.zip *
appletviewer.in:tools_cp=${tools_dir}/tools.zip
gappletviewer.in:tools_cp=${tools_dir}/tools.zip
gjar.in:tools_cp=${tools_dir}/tools.zip
gjarsigner.in:tools_cp=${tools_dir}/tools.zip
gjavah.in:tools_cp=${tools_dir}/tools.zip
gjdoc.in:tools_cp=${tools_dir}/tools.zip
gkeytool.in:tools_cp=${tools_dir}/tools.zip
gnative2ascii.in:tools_cp=${tools_dir}/tools.zip
gorbd.in:tools_cp=${tools_dir}/tools.zip
grmic.in:tools_cp=${tools_dir}/tools.zip
grmid.in:tools_cp=${tools_dir}/tools.zip
grmiregistry.in:tools_cp=${tools_dir}/tools.zip
gserialver.in:tools_cp=${tools_dir}/tools.zip
----------- clip -----------------------------------

But no 'tools.zip' was found in the sources...  The 'Makefile.in'
tells that this file will be tried to be created with '$(ZIP)',
so having the 'zip/unzip' utility programs seems to be one prerequisite
in a GCC build nowadays...

You can either try to build them from sources or download them as
prebuilt packages at Sunfreeware.com :

ftp://ftp.sunfreeware.com/pub/freeware/sparc/8/zip-3.0-sol8-sparc-local.gz
ftp://ftp.sunfreeware.com/pub/freeware/sparc/8/unzip-5.52-sol8-sparc-local.gz


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux