$ echo 'int main() {return 0;}' >програма.c
$ guix shell --container gcc-toolchain -- gcc програма.c -o програма.o
$ ls *.o
'????????????????.o'
$ rm *.o
$ # binutils overrides the built-in ld-wrapper, which breaks some libraries, 
but fixes this example
$ guix shell --container gcc-toolchain binutils -- gcc програма.c -o програма.o
$ ls *.o
програма.o
$ # c files and executables are rarely named with unicode, but this behavior 
makes some build systems unusable, as they pass a full path, e.g. 
/home/user/Документи/... to gcc and ld
$



Reply via email to