search for: dno_vsnprintf

Displaying 1 result from an estimated 1 matches for "dno_vsnprintf".

Did you mean: no_vsnprintf
2007 Sep 21
2
[LLVMdev] Compiling zlib to static bytecode archive
...or "configure": AR="llvm-ar r" RANLIB=llvm-ranlib CC=llvm-gcc CFLAGS=--emit-llvm \ ./configure The creation of "libz.a" works, but after that, zlib's Makefile wants to compile and link some example programs. The linking step fails: llvm-gcc --emit-llvm -DNO_vsnprintf -DUSE_MMAP -o example example.o \ -L. libz.a example.o: file not recognized: File format not recognized collect2: ld returned 1 exit status I can link it by hand using llvm-ld instead of llvm-gcc, like this: llvm-ld -o example example.o libz.a However, it is not possible to let the zli...