> It should be ‘CROSS_LIBRARY_PATH’ instead.

# cat foo.c
int main() {return 0;}

# 
/nix/store/khdyz3i5aih56lxfk6hjvp3884apm7qb-gcc-cross-mips64el-linux-gnu-4.7.2/bin/mips64el-linux-gnu-gcc
 foo.c
/nix/store/khdyz3i5aih56lxfk6hjvp3884apm7qb-gcc-cross-mips64el-linux-gnu-4.7.2/libexec/gcc/mips64el-linux-gnu/ld:
 cannot find crt1.o: No such file or directory
/nix/store/khdyz3i5aih56lxfk6hjvp3884apm7qb-gcc-cross-mips64el-linux-gnu-4.7.2/libexec/gcc/mips64el-linux-gnu/ld:
 cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status

# echo $CROSS_LIBRARY_PATH
/nix/store/mifp2p1zjlvb4ndslw1r8grkpglybqjf-glibc-cross-mips64el-linux-gnu-2.17/lib

Attachment: pgpdS7_VekfFA.pgp
Description: PGP signature

Reply via email to