> Since I'm using Nios, then I don't think they are supporting (yet) XIP
> or PIC.
> So I'll see if I can solve it by using the exec function.

I'm using NIOS, too.

Did you find the Nios2-dev mailing list
(http://sopc.et.ntust.edu.tw/cgi-bin/mailman/listinfo/nios2-dev) ?

And, yep, the current tool chain does not support XIP/PIC. The upcoming
MMU-enabled toolchain will have fork() and so I don't suppose we ever
will see XIP in the non-MMU-version.

Regarding fork: as said before, if you want to spawn a separate program,
you can easily use vfork(), but if you want to run the same code
multiple times, using pthreadlib should be the way to go. But here again
the current tool chain has some4 limitations that will go away with the
upcoming one.

-Michael
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to