Keithcat1

Results 58 comments of Keithcat1

0.2 works, or at least gives the impression of working since it spat out some kind of thing. However, this doesn't work: C:\py\cosmopolitan>llvm-objcopy.exe -SO binary hello.com.dbg hello.com llvm-objcopy.exe: error: too...

I followed your steps and I think the binary works, but I'm on a 32-bit computer and it seems that Cosmopolitan only supports 64-bit binaries so I am unsure. The...

I'm having problems with WSL2 similar to issue #6 C:\py\git>wsl keith@Keith-PC:/mnt/c/py/git$ cd cosmopolitan keith@Keith-PC:/mnt/c/py/git/cosmopolitan$ make ERROR Thompson Shell Backwards Compatibility Issue Detected DETAILS Actually Portable Executable assumes stock Linux configuration....

Did a bisection and found it. Unfortunately, my computer died yesterday so the original git bisect message is lost. Here is the commit that I found, though it looks like...

It turns out I am having trouble actually running the resulting binaries. They build find, but hello.com.dbg runs fine, printing 'Hi!' as expected, but if I run hello.com from Windows...

Apparently the secret is to build Cosmopolitan with LLVM. It works now.

Why would it be a windows thing? We're targeting Linux, and I think I also got the same relocation linker error when trying to compile Cosmopolitan 1.0 from within WSL....

I went and built a hello world example with Clang, using the exact same invocation: clang -g -Ofast -static -nostdlib -nostdinc -fno-pie -mno-red-zone -fno-omit-frame-pointer %* --include cosmopolitan.h -Wl,-T,ape.lds -include cosmopolitan.h...

@jart You could try raising an issue over at [https://bugs.launchpad.net/bugs/bugtrackers/llvm-bugs](The LLVM bug tracker) with all the r/relevant info, I don't understand what the problem is.

No, I was mostly asking about LTO because I wanted to try using it on Python to see if it made it smaller or faster. I don't know too much...