On Mon, Oct 7, 2013 at 10:44 AM, Selina Lai <[email protected]> wrote: > I found it's my typo. > My system is MIPSEL but I typed the command to mips-linux-gcc > > I can now 'make' without error. But when I execute './node hello.js' on the > mipsel system. > I got 'illegal instruction' error. > > I thus tried to configure with 'with-mips-float-abi=soft' and then make. > I got lots of warnings like below: > /opt/compiler/stbgcc-4.5.3-2.4/bin/../lib/gcc/mipsel-linux-uclibc/4.5.3/../../../../mipsel-linux-uclibc/bin/ld: > Warning: /home/selina/node-v0.10.20/out/Release/node uses hard float, > /home/selina/node-v0.10.20/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.a(snapshot-empty.o) > uses soft float > touch > /home/selina/node-v0.10.20/out/Release/obj.target/node_dtrace_header.stamp
That's probably an oversight on our part; --with-mips-float-abi only configures the float ABI for V8, node.js still uses the compiler's default. Should be pretty trivial to fix; if you open an issue, I'll look into it. > if configure with 'hard', no warnings and errors. > > But both './node hello.js' got 'illegal instruction' error. > Any clue? Thanks a lot. Does the target system have a FPU? `cat /proc/cpuinfo` should tell you. -- -- 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.
