<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Erwin,<br>
<br>
I don't know if the gcc is really the problem - but if yes, see below
an instruction how to build an older gcc version with a newer one. I
use that for compiling esp-r- which also has trouble with gcc4.xx.<br>
<br>
Then you have two gcc versions in parallel. Be careful while
installing: you have to use the <i>make bootstrap </i>otherwise you
can destroy your system (if you install it as root it replaces the
existing libraries - I once destroyed my system with that....) <br>
Before using programs compiled under gcc3.x, you have to set the
library path to the related lib-path ( export
LD_LIBRARYPATH=/opt/gcc33/lib or similar).<br>
<br>
Good luck!<br>
<br>
Jan<br>
<br>
------------- Instruction to build an gcc 3.3.6, using gcc4.xx
---------------------------<br>
<br>
Get gcc-core from from GCC Mirrors Page<br>
<br>
Compiling GCC-3.3.6:<br>
<br>
Untar the source then configure with:<br>
./configure --prefix=/opt/gcc33 --program-suffix=-3.3<br>
WARNING: Do NOT configure it with the default prefix! It is recommended
to compile it with this prefix else you can damage your system!<br>
Now compile it with make bootstrap and after that install it with make
install. <br>
<br>
<br>
<br>
<br>
<br>
<br>
Gregory J. Ward wrote:
<blockquote cite="mid:96E7552E-4368-413C-99EF-949E639880F4@gmail.com"
type="cite">Sorry, Erwin. I tried. It isn't easy for me to debug
something using a compiler I don't have on a machine I don't have.
<br>
<br>
-Greg
<br>
<br>
<blockquote type="cite">From: "Erwin Zierler"
<a class="moz-txt-link-rfc2396E" href="mailto:radiance@rendigo.com"><radiance@rendigo.com></a>
<br>
Date: October 7, 2008 9:56:34 PM PDT
<br>
<br>
I have tried your patch but it didn't change things really. Out of
curiosity I compiled the current head on a 32bit machine (also under
Linux) and I get the exact same behavior (using the original
3ds2mgf.c).
<br>
So I finally tried an older binary of 3ds2mgf (Radiance 3.6a) on the
same system and this one works just fine. Unfortunatly I dont have the
sources anymore to see what happens if I compile them
<br>
Somehow I get a feeling it might have to do with the gcc version I am
using on all these systems nowadays:
<br>
<br>
# gcc --version
<br>
gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.1)
<br>
<br>
For all older compilations I am pretty sure I was still using gcc 3.*.
<br>
Just in case that helps.
<br>
Erwin
<br>
</blockquote>
<br>
_______________________________________________
<br>
Radiance-dev mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Radiance-dev@radiance-online.org">Radiance-dev@radiance-online.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.radiance-online.org/mailman/listinfo/radiance-dev">http://www.radiance-online.org/mailman/listinfo/radiance-dev</a>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dipl.-Ing. Jan Wienold
Project Manager
Fraunhofer-Institut für Solare Energiesysteme
Thermal Systems and Buildings, Lighting and Daylighting
Heidenhofstr. 2, 79110 Freiburg, Germany
Phone: +49(0)761 4588 5133 Fax:+49(0)761 4588 9133
<a class="moz-txt-link-abbreviated" href="mailto:jan.wienold@ise.fraunhofer.de">jan.wienold@ise.fraunhofer.de</a>
<a class="moz-txt-link-freetext" href="http://www.ise.fraunhofer.de">http://www.ise.fraunhofer.de</a>
In office:
Mo,Tue: 8:30-18:00
We,Thu: 8:30-16:00
Fr: 8:30-15:30
</pre>
</body>
</html>