> Congratulations! I tried the build and it worked without problem.

How can I try it?

I set the LIBRARY_PATH variable:

export 
LIBRARY_PATH=/nix/store/mifp2p1zjlvb4ndslw1r8grkpglybqjf-glibc-cross-mips64el-linux-gnu-2.17/lib

and tried to compile a test file 'foo.c':

int main() {return 0;}

However, 'ld' failed to find 'crt1.o' and 'crti.o':

# 
/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

Is it necessary to set any other variables?

Attachment: pgp3k2pQMK063.pgp
Description: PGP signature

Reply via email to