Skip to content

glibc Cross Compile Configure Error

I would like to cross compile glibc. But, I ‘m getting an error. glibc version is 2.24. I tried compiling host and target i686-elf. My $MACHTYPE environment label is x86_64-pc-linux-gnu. Target directory includes binutils-2.27 and gcc-6.2.0. My PATH environment is: /home/ercan/cross/tools/tools_binaries…

Why GOT entry offset appears wrong?

I wrote simple shared library: Compiled/built: Disassembled, to see how some_func is referenced: Looked where .got.plt is located: What is the relocation: In 6aa-6bb we get absolute location of GOT: 6aa + 0x200956 = 0x201000 That agrees with readelf -S libtest.so ‘s output. We skip 3 reserved bytes in G…

DMD2 fails to compile shared library on Linux, amd64

I’ve been programming on a 32 bit machine, until recently, I upgraded to a 64 bit one. I’m using the latest version of DMD (amd64), on xubuntu 16.04 (amd64). Before the upgrade, I could easily compile shared libs using dmd -shared ‘FILES’, but now, it gives an error. I have a file name…

On a Mac can Mono be used to build with winsock2.h?

Want to practice with some Microsoft specific tools; specifically winsock2.h. I know Mono can be used to make C# programs, but before doing the install I hope to find out if it does more than that. Answer For APIs like winsock2.h, you’re talking about the direct win32 API and related libraries. Mono/C# …