rich

Forum Replies Created

Viewing 8 posts - 61 through 68 (of 68 total)
  • Author
    Posts
  • in reply to: Installation #1527

    rich
    Keymaster

    Hi Gordon,

    That turned out to be a bug in LLVM that was subsequently fixed: http://llvm.org/bugs/show_bug.cgi?id=18643

    The fix has been incorporated in ELLCC.

    The good news is that you’re almost there. You are building the runtime libraries.

    You can get to a better place by

    cd ellcc
    # Get the latest sources/
    svn update
    # Build a new compiler.
    cd llvm-build
    make install
    # Build the libraries.
    cd ../libecc
    make
    

    -Rich

    in reply to: Installation #1520

    rich
    Keymaster

    Hi Trent,

    Could you post the errors you’re getting? I suspect your build is failing during the GNU part of the build because of some missing packages.

    -Rich

    in reply to: OSX Mavericks: Automake and Autoconf issue #1519

    rich
    Keymaster

    Hi Gordon,

    You may be able to fix the issue by going into /Users/gordon/Applications/ellcc/gnu/src/qemu/pixman/
    and running “autoreconf”. The GNU configure stuff is kind of a black box to me.
    -Rich

    in reply to: can't comment on blog entry #1502

    rich
    Keymaster

    Hi,

    Sorry about that. I restricted comments because I was getting a lot of spam. I loosened it up again. Maybe you’ll have better luck now.

    I guess I know more about tools, etc., than web stuff.

    -Rich

    in reply to: Freestanding ellcc #930

    rich
    Keymaster

    Hi,

    Thanks for asking about a freestanding ELLCC. It is high on my wish list also. I hope to start working on it soon (after I fix a few outstanding bugs and ELLCC successfully compiles the Linux kernel).

    -Rich

    in reply to: Error compiling binutils #687

    rich
    Keymaster

    I looked into it a bit more. This happened because the latest version of OS X (Mavericks) uses clang as its compiler and /usr/include/unistd.h has a deprecated declaration of sbrk().

    The solution was to add a -Wno-error=deprecated-declarations option to the CFLAGS for binutils. I also had to make a few other changes to complete the Max OS build. You can find the latest stuff in the ELLCC subversion tree.

    in reply to: Error compiling binutils #667

    rich
    Keymaster

    This error is occurring because sbrk() is deprecated on OSX, -Werror is enabled for the binutils build, and the compiler (in this case “gcc” is an alias for clang) rightly complains about the use of sbrk(). I’ll be looking into eliminating this error this weekend when I won’t have to be at my day job. 😉

    in reply to: clang & powerpc #404

    rich
    Keymaster

    Hi James. For now I modified clang to use double for long double on the PowerPC. eventually it would be nice if musl supported double-doubles.

Viewing 8 posts - 61 through 68 (of 68 total)