bug-guix
[Top][All Lists]
Advanced

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

Re: Initial cross-compilation support


From: Nikita Karetnikov
Subject: Re: Initial cross-compilation support
Date: Sat, 30 Mar 2013 02:06:43 +0400

>>> 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.

Attachment: pgpNrhzgIQrLr.pgp
Description: PGP signature


reply via email to

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