GithubHelp home page GithubHelp logo

Comments (6)

kripken avatar kripken commented on August 27, 2024

Can you attach the .ll file that was generated? And, what OS are you on?

from emscripten.

axiomsofchoice avatar axiomsofchoice commented on August 27, 2024

Yes, sure. The box I'm runing on is:

Linux maclane 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 GNU/Linux

I've uploaded the .ll file here:

https://gist.github.com/1008855

from emscripten.

kripken avatar kripken commented on August 27, 2024

Thanks, and what specific command did you run to compile it?

from emscripten.

axiomsofchoice avatar axiomsofchoice commented on August 27, 2024

According to my bash history:

llvm-gcc -O3 --emit-llvm command.cpp -c -o command
llvm-dis command

Please note that the -show-annotations flag doesn't appear to work with my version of llvm-dis as it gives the following error:

llvm-dis: Unknown command line argument '-show-annotations'. Try: 'llvm-dis -help'

The version I'm using is the following:

$ llvm-dis --version
Low Level Virtual Machine (http://llvm.org/):
llvm version 2.7 ( 2.7-0ubuntu1)
Optimized build.
Built Apr 28 2010 (14:19:53).
Host: x86_64-pc-linux-gnu
Host CPU: core2

Registered Targets:
(none)

from emscripten.

axiomsofchoice avatar axiomsofchoice commented on August 27, 2024

Just spotted what might be going on: the version of llvm I've been using is 2.7 and not the 2.9 version required here: https://github.com/kripken/emscripten/wiki/Getting-started

from emscripten.

kripken avatar kripken commented on August 27, 2024

Ah yeah, I should have asked about the LLVM version. That is probably the cause.

from emscripten.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.