On Tue, Jun 18, 2013 at 4:45 PM, richard -rw- weinberger
<[email protected]> wrote:
> Hi!
>
> I'm trying to cross compile nodejs on my x86_64 box for a i586 target.
> But linking the beast fails.
> For reasons I don't understand the nodejs build system passes "-m32"
> and "-pthread" to ld, which is wrong.
> "-m32" is wrong because this is already a ia32 build, no emulation is
> needed, and -m32 is gone anyways. It's -melf_i386 now.
> And "-pthread" is wrong too, ld does not support this flag, it's a gcc thing.
>
> Are this issues known?

Never mind...
I had to set the LD variable to g++ instead to ld...

--
Thanks,
//richard

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to