[bitc-dev] Issues in compiling/starting bitcc

Jonathan S. Shapiro shap at eros-os.org
Wed Apr 7 10:36:43 PDT 2010


I put in a different change that should work - we only use gc/gc.h, so I
removed the check for the other. It's a legacy header anyway, and we
certainly won't work with any version of libgc that is quite that old.

I have absolutely no idea what is going on with libgmp, but it sort of looks
like you may have a 32-bit compile of BitC trying to load a 64-bit version
of libgmp. Did you build this 32-bit or 64-bit, or did you just let
configure default the selection?

shap
On Wed, Apr 7, 2010 at 3:27 AM, Pierre THIERRY <nowhere.man at levallois.eu.org
> wrote:

> I just tried to compile and use the last BitC source code, and ran into
> two issues:
>
> First, ./configure checks for gc.h AND gc/gc.h, and on my system will
> find only the latter, so I had to use the first attachment patch.
>
> Second, with BitC in /usr/local/stow/bitc and stowed to /usr/local, I
> tried to run it:
>
> ----------8<-------------------------------8<---------------------------
> pierre at pape:~$ bitcc
> bitcc: error while loading shared libraries: libgmp.so.3: cannot open
> shared object file: No such file or directory
> pierre at pape:~$ LD_LIBRARY_PATH=/usr/lib bitcc
> bitcc: error while loading shared libraries: libgmp.so.3: wrong ELF class:
> ELFCLASS64
> ----------8<-------------------------------8<---------------------------
>
> Although I did compile it on the same machine (without any change to the
> code, just running make).
>
> Laboriously,
> Pierre
> --
> nowhere.man at levallois.eu.org
> OpenPGP 0xD9D50D8A
>
> _______________________________________________
> bitc-dev mailing list
> bitc-dev at coyotos.org
> http://www.coyotos.org/mailman/listinfo/bitc-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.coyotos.org/pipermail/bitc-dev/attachments/20100407/8e311fb1/attachment.html 


More information about the bitc-dev mailing list