GNU bug report logs -
#40677
Jami
Previous Next
Full log
Message #269 received at 40677 <at> debbugs.gnu.org (full text, mbox):
On Tue, 28 Apr 2020 09:19:01 +0200
Mathieu Othacehe <m.othacehe <at> gmail.com> wrote:
> Hello,
>
> >> --8<---------------cut here---------------start------------->8---
> >> guix build --target=aarch64-linux-gnu libnatpmp
> >> --8<---------------cut here---------------end--------------->8---
> >
> > It was built successfully, it works then I guess.
> >
> >
> >> to check it. Then, you probably need to do something similar as
> >> what is done in package "iw" (set CC variable at least).
> > Where can I read about this CC thing more? Is it needed when
> > cross-compilation works?
>
> The build may succeed but if the native GCC compiler was picked, then
> it's a native build and not a cross-build. You can run the following
> command:
>
> --8<---------------cut here---------------start------------->8---
> file the-binary-or-library
> --8<---------------cut here---------------end--------------->8---
>
> and see what it reports. You can also have a look to maradns package
> for an example of how to deal with CC variable.
>
> Don't hesitate if you have further questions,
>
> Mathieu
I copied the code from the "iw" package, and the output of file is
now "ARM aarch64" instead of the previous "x86-64". That's success,
right?
Jan Wielkiewicz
This bug report was last modified 5 years and 6 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.