A way to compile PRU user apps on host PC

Hello there,
I was wondering either it is possible to compile user applications for BeagleBone Black, that require lprussdrv linker flag? So far I have copied the libs:

libprussdrv.a 1

that were created on BeagleBone Black, to the cross gcc lib directory on my host pc. Then I am able to compile and link the code with -lprussdrv flag, but when trying to execute it I am getting segmentation fault (when running remotelly) or this output when running from BeagleBone Black:

File ./test.bin open passed

The program then hangs and I have to kill it.
I would really appreciate all help in this matter!