* Libffi errors while cross-compiling GHC 7.6.2 (Stage 1)
@ 2013-03-01 22:16 Nikita Karetnikov
2013-03-02 9:18 ` Andrew Haley
0 siblings, 1 reply; 3+ messages in thread
From: Nikita Karetnikov @ 2013-03-01 22:16 UTC (permalink / raw)
To: glasgow-haskell-users; +Cc: libffi-discuss
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
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.
[1] http://hackage.haskell.org/trac/ghc/wiki/CrossCompilation
[2] http://www.haskell.org/pipermail/ghc-tickets/2013-February/001240.html
[3] http://hackage.haskell.org/trac/ghc/ticket/7717
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Libffi errors while cross-compiling GHC 7.6.2 (Stage 1)
2013-03-01 22:16 Libffi errors while cross-compiling GHC 7.6.2 (Stage 1) Nikita Karetnikov
@ 2013-03-02 9:18 ` Andrew Haley
2013-03-23 23:41 ` Nikita Karetnikov
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Haley @ 2013-03-02 9:18 UTC (permalink / raw)
To: Nikita Karetnikov; +Cc: glasgow-haskell-users, libffi-discuss
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Libffi errors while cross-compiling GHC 7.6.2 (Stage 1)
2013-03-02 9:18 ` Andrew Haley
@ 2013-03-23 23:41 ` Nikita Karetnikov
0 siblings, 0 replies; 3+ messages in thread
From: Nikita Karetnikov @ 2013-03-23 23:41 UTC (permalink / raw)
Cc: glasgow-haskell-users, libffi-discuss
[-- Attachment #1: Type: text/plain, Size: 399 bytes --]
> Is /usr/bin/gcc a MIPS cross-compiler? If not, how do you expect it
> to work?
Right, I wasn't using a cross-compiler. That's the problem.
I haven't succeeded in cross-building yet. I'm using a distro with a
non-common directory structure and I still have to figure out how to
specify both GCCs. But it has nothing to do with the ticket. So I've
just closed it.
I apologize for the noise.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-23 23:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-01 22:16 Libffi errors while cross-compiling GHC 7.6.2 (Stage 1) Nikita Karetnikov
2013-03-02 9:18 ` Andrew Haley
2013-03-23 23:41 ` Nikita Karetnikov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).