theborg
KBitdefender Programierer
Hi ich hab nen kleines Problem und zwar möchte ich mit nem crosscompiler nano compiliren nano braucht pcab und ncurses wie bekomme ich die beiden statisch mit ins programm gelinkt ?
libgcc .. geht ja mit -static-gcc
meine compilerzeile sieht bis jetzt so aus:
./configure --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu CC= mipsel-linux-gcc CFLAGS="-Os -W -Wall -pipe -march=4kc -Wa,--trap" OPTFLAGS="-D_FILE_OFFSET_BITS=32 -D_VER_MAJOR=2 -D_VER_MINOR=3" LDFLAGS="-static"
libgcc .. geht ja mit -static-gcc
meine compilerzeile sieht bis jetzt so aus:
./configure --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu CC= mipsel-linux-gcc CFLAGS="-Os -W -Wall -pipe -march=4kc -Wa,--trap" OPTFLAGS="-D_FILE_OFFSET_BITS=32 -D_VER_MAJOR=2 -D_VER_MINOR=3" LDFLAGS="-static"