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