uclibc-ng icon indicating copy to clipboard operation
uclibc-ng copied to clipboard

Trying to run the tests and need a bit of direction...

Open JonathanBelanger opened this issue 6 years ago • 1 comments

I'm attempting to build uClibc from scratch using a combination of CMake and clang and/or gcc. I'd like to test my builds and have the uclibc-ng-test respository. I'd prefer not to actually install the libraries, but I want the build for the test code to use the code from the directory where I built it. I've tried using LD_LIBRARY_PATH, but want to see what would be the best way to do this and not use the libraries that are actually installed. Any direction someone can give me would be greatly appreciated.

JonathanBelanger avatar Jul 09 '19 19:07 JonathanBelanger

I'd build an uClibc x86_64 toolchain using buildroot for that purpose ... but if you want to test your build system of uClibc ... then I don't know. I'd try to see if I can just add some -nostdlib -lc -Lpath/to/libc.a or something to LDFLAGS in uclibc-ng-test builds.

fallen avatar Jul 24 '19 06:07 fallen