This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: Libffi errors while cross-compiling GHC 7.6.2 (Stage 1)
- From: Andrew Haley <aph at redhat dot com>
- To: Nikita Karetnikov <nikita at karetnikov dot org>
- Cc: glasgow-haskell-users at haskell dot org, libffi-discuss at sourceware dot org
- Date: Sat, 02 Mar 2013 09:18:40 +0000
- Subject: Re: Libffi errors while cross-compiling GHC 7.6.2 (Stage 1)
- References: <87y5e6wyrb.fsf@karetnikov.org>
On 03/01/2013 10:17 PM, Nikita Karetnikov wrote:
> I'd like to cross-build GHC 7.6.2. I got stuck when I was trying to build a Stage 1 compiler [1]. Here's a bug report: [2,3].
>
> I'm not sure that it's a bug; maybe I misunderstood the process. Could anyone advise?
>
> I have no experience with C. Though, I'll try to help out.
I don't want to be cruel, but if you have no experience with C,
why are you trying to do this?
> Steps to reproduce: $ ./configure --target=mips64el-linux --with-gcc=/usr/bin/gcc \ --with-ld=/usr/bin/ld --with-nm=/usr/bin/nm
>
> Did I specify the wrong binaries? These are the same I used for Stage 0 and libs boot phases.
Is /usr/bin/gcc a MIPS cross-compiler? If not, how do you expect it
to work?
Andrew