Adding User-Written Code : Running User Code on Solaris 2.9 or 2.10

Running User Code on Solaris 2.9 or 2.10

Running user code on Solaris 2.9 or 2.10 needs a special treatment regarding the libraries libscheduler.so and libsim_scheduler.a.

These libraries should be replaced with the following ones - libscheduler2_9.so and libsim_scheduler2_9.a.or libscheduler2_10.so and libsim_scheduler2_10.a.

Running Generated Code

In order to compile and run generated code on Solaris 2.9 or 2.10, the Solaris target file should be modified by replacing the following library options:

lscheduler2_9 or lscheduler2_10

libsim_scheduler2_9a or libsim_scheduler2_10a

Running a Simulation with User Code

No change is required. The correct library is selected automatically according to the operating system.
Compiling Runtime Libraries

Runtime libraries for Solaris 2.9/2.10 must be compiled on a Solaris 2.9 or 2.10 system. In addition, the following compilation flags are required:

“-D_MAKECONTEXT_V2_SOURCE -DSOLARIS_29

or

“-D_MAKECONTEXT_V2_SOURCE -DSOLARIS_210”