Forum Discussion
Altera_Forum
Honored Contributor
20 years agouse of vfork() instead of fork() in uClinux
Hi all, I ported pppd from busybox on the Nios2. Actually, I just did two things : - add the -Wl,-elf2flt linker flags to convert the binary file - changed calls to fork() by vfork() ...
Altera_Forum
Honored Contributor
20 years agoYou aren't supposed to change all of hte calls manually in the source code.. you can add a compile flag -Dfork=vfork ... or something like that (look at the compile for busybox). That will automatically change them for you. But it should be safe doing this, in most instances..