Hi Nikita,

I found this message that I had left unanswered.  Did you make any
progress in the meantime?  If not, could you share your current patch?
I could try to investigate.

Thanks,
Ludo’.

Nikita Karetnikov <[email protected]> skribis:

>>>> So, if you specify --target=mips64el-linux-gnuabi64,
>>>> it should automatically build glibc for n64.
>>>
>>> But 'guix build' doesn't have '--target'.  How can I specify it?
>
>> It’s a ‘configure’ flag; it’s passed automatically when libc is
>> cross-built.
>
> OK.  How can I build the bootstrap binaries, then?
>
>> Can you run ‘file’ on the above libc_pic.a, or the files it contains?
>
> # objdump -a 
> /tmp/nix-build-glibc-cross-mips64el-linux-gnuabi64-2.17.drv-1/build/libc_pic.a
>  | grep 'file format' | head
> init-first.os:     file format elf64-little
> libc-start.os:     file format elf64-little
> sysdep.os:     file format elf64-little
> version.os:     file format elf64-little
> check_fds.os:     file format elf64-little
> dso_handle.os:     file format elf64-little
> unwind-resume.os:     file format elf64-little
> errno.os:     file format elf64-little
> errno-loc.os:     file format elf64-little
> iconv_open.os:     file format elf64-little
>
>> Could you paste (from the log) the command that built it?
>
> I can't find it in the log.
>
>> (BTW, note that we’re making actual progress!  :-))
>
> Yep, thanks.

Reply via email to