This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]