Re: Libffi errors while cross-compiling GHC 7.6.2 (Stage 1)

2013-03-23 Thread Nikita Karetnikov
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

Libffi errors while cross-compiling GHC 7.6.2 (Stage 1)

2013-03-01 Thread Nikita Karetnikov
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]