How to tell compiler to not to use GNU library (glibc)
I am compiling using cross compiler for ARM platform.It is giving
arm-unknown-linux-gnu/bin/ld:cannot find -lc.
When I searched for the above error it was found that this error will come when the compiler uses glibc utilities.
How to tell compiler to not to use glibc?It is not required to use glibc.Are there any flags?
Please help me.
If you're calling GCC/compiler-with-linker, try -nostdlib. Else, you can probably call compiler, assembler, linker seperately and have them do exactly what you want.
|All times are GMT -5. The time now is 11:34 PM.|