Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
The standard C library defines a standard set of functions that can be expected in a conforming compiler implementation. AFAIK, this does not include fork() or any OS-specific functions. The compiler (toolchain, to be more correct) that you would use to compile C code for your target board must know about the target architecture in order to correctly compile code for the target. If the toolchain was built for your target, then object code generated for the target host by compiling C source code should run. The toolchain may be either a native toolchain, or a cross toolchain (compile on x86, run object code on Panda Board), but in either case, it needs to be specifically targeted to the runtime host.