bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Initial cross-compilation support


From: Ludovic Courtès
Subject: Re: Initial cross-compilation support
Date: Mon, 20 May 2013 21:40:04 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux)

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 <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]