Code Monkey home page Code Monkey logo

Comments (3)

TheSHEEEP avatar TheSHEEEP commented on September 17, 2024

Same for me (well, almost):

obj/Release/benchmark/benchmark.o : fatal error LNK1107: invalid or corrupt file: cannot read at 0x4CD0
clang.exe: error: linker command failed with exit code 1107 (use -v to see invocation)

from density.

neworldemancer avatar neworldemancer commented on September 17, 2024

well, I did a workaround by editing the already generated makefiles, to make it compile, but i don't have experience with premake to generate them properly automatically.
the point is you need
1)generate obj files:
LLC = llc
OBJECTS2 := $(OBJECTS:%.o=%.obj)
and then for each file call
$(SILENT) $(LLC) -filetype obj "$@" -o "$(@:%.o=%.obj)"

2)perform the linking for them by redefining LINKCMD
LINKCMD = $(AR) -rcs "$@" $(OBJECTS2)

If you need x86 build you can also easily do so by defining PLATFORM = -target i386-pc-windows-msvc.
Look my makefiles for details:

spookyhash.make.txt
density.make.txt
benchmark.make.txt

from density.

g1mv avatar g1mv commented on September 17, 2024

Fixed in 0.14.1

from density.

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.