--
You received this message because you are subscribed to the Google Groups "minix3" group.
To post to this group, send email to min...@googlegroups.com.
To unsubscribe from this group, send email to minix3+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/minix3?hl=en.
> I could compile successfully and no warning or error. But failed in
> running(Only print "\" on the screen but could not return successfully).
> I debugged step by step and found that the program could enter
> shell_main() successfully but failed to return. I compiled the code
> above(unchange the function name, still used main) in linux with ELF
> format and found that it could both compile and run successfully. Is it
> the problem in the function name of "main"? I was not sure . I only
> remembered that the name of "main" was not a "must" , for it could be
> another name instead(such as shell_main). Just made sure to the command
> of jmp/call to shell_main was correct........
Still, my advice would be to use objdump to check out the generated
binaries. Who knows what magic the C compiler may do to main to 'help'
the run-time start-off.
With kind regards,
Erik