<div dir="ltr">Hi Pierre and Tomas,<div><br></div><div>thank you for your help but I am totally confused and do not know how to compile the compiler from snapshot.</div><div><br></div><div>Could you help me, please? Thank you.</div>
<div><br></div><div>I downloaded fpcbuild.zip, unpacked to Z:\fpcbuild and I got these errors:</div><div><br></div><div><div>Z:\fpcbuild>make go32v2zip</div><div>z:/pp/bin/go32v2/make.exe zipinstall OS_TARGET=go32v2</div>
<div>make.exe[1]: Entering directory `z:/fpcbuild'</div><div>z:/pp/bin/go32v2/make.exe -C fpcsrc build</div><div>make.exe[2]: Entering directory `z:/fpcbuild/fpcsrc'</div><div>z:/pp/bin/go32v2/make.exe compiler_cycle RELEASE=1</div>
<div>make.exe[3]: Entering directory `z:/fpcbuild/fpcsrc'</div><div>z:/pp/bin/go32v2/make.exe -C compiler cycle</div><div>make.exe[4]: Entering directory `z:/fpcbuild/fpcsrc/compiler'</div><div>z:/pp/bin/go32v2/make.exe OS_TARGET= CROSSBINDIR= BINUTILSPREFIX= CROSSCYCLEBOOT</div>
<div>STRAP=1 rtlclean rtl</div><div>make.exe[5]: Entering directory `z:/fpcbuild/fpcsrc/compiler'</div><div>z:/pp/bin/go32v2/make.exe -C clean</div><div><b>make.exe: Entering an unknown directory</b></div><div>make.exe: *** clean: No such file or directory (ENOENT). Stop.</div>
<div>make.exe: Leaving an unknown directory</div><div>make.exe[5]: *** [rtlclean] Error 2</div><div>make.exe[5]: Leaving directory `z:/fpcbuild/fpcsrc/compiler'</div><div>make.exe[4]: *** [cycle] Error 2</div><div>make.exe[4]: Leaving directory `z:/fpcbuild/fpcsrc/compiler'</div>
<div>make.exe[3]: *** [compiler_cycle] Error 2</div><div>make.exe[3]: Leaving directory `z:/fpcbuild/fpcsrc'</div><div>make.exe[2]: *** [build-stamp.-go32v2] Error 2</div><div>make.exe[2]: Leaving directory `z:/fpcbuild/fpcsrc'</div>
<div>make.exe[1]: *** [fpcsrc/build-stamp.-go32v2] Error 2</div><div>make.exe[1]: Leaving directory `z:/fpcbuild'</div><div>make.exe: *** [go32v2zip] Error 2</div></div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Nov 8, 2013 at 2:05 PM, Tomas Hajny <span dir="ltr"><<a href="mailto:XHajT03@hajny.biz" target="_blank">XHajT03@hajny.biz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
On Fri, November 8, 2013 12:31, Pierre Free Pascal wrote:<br>
<br>
<br>
Hi,<br>
<div class="im"><br>
> I think that your problem comes from the fact that you are<br>
> using release go32v2 compiler version 2.6.2<br>
> to compile 2.6.3 snapshot IDE.<br>
> I was able to reproduce this problem.<br>
> The error comes from the fact that there are several variations<br>
> of the environ pchar array ...<br>
> The assembler symbol can be _environ or __environ<br>
> and there is an incompatibility between 2.6.3 rtl and 2.6.2<br>
> compiler that generates a laoding of crt1.o object from<br>
> libgdb.a library. This should not happen, and of course,<br>
> when it does, leads to multiply defined symbols and the error<br>
> you got.<br>
><br>
> You should first compiler the snapshot 2.6.3 compiler,<br>
> and use this freshly generated snapshot compiler to<br>
> recompile rtl packages and finally compile the IDE<br>
> with libgdb.<br>
><br>
> Could you test if this works for you also?<br>
<br>
</div>Alright, this is my fault then - I wasn't aware of this change in 2.6.3<br>
RTL for GO32v2 and hoped to simplify things for the original poster by not<br>
requiring him to go through the full building cycle. If this is necessary,<br>
using the fpcbuild.zip instead of just fpc.zip (while still unpacking the<br>
downloaded libgdb into fpcsrc/libgdb/go32v2) and running "make go32v2zip"<br>
(with the respective additional parameters, i.e. "OPT=-gl -O- -Xs-" to get<br>
executable providing the backtrace source line information in case of<br>
crash) is probably an easier option than first installing the snapshot<br>
compiler and then ensuring that this one is used rather than the last<br>
release... Anyway, sorry. :-(<br>
<span class=""><font color="#888888"><br>
Tomas<br>
</font></span><div class=""><div class="h5"><br>
<br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br></div></div></div>