Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


32-bit Solaris platform

Under SUN Solaris, ModelSim loads shared objects. Use these gcc or cc compiler commands to create a shared object:

gcc compiler:

gcc -c -I/<install_dir>/modeltech/include app.c
ld -G -B symbolic -o app.so app.o 

cc compiler:

cc -c -I/<install_dir>/modeltech/include app.c
ld -G -B symbolic -o app.so app.o 


Note: When using -B symbolic with ld, all symbols are first resolved within the shared library at link time. This will result in a list of undefined symbols. This is only a warning for shared libraries and can be ignored.

If app.so is not in your current directory you must tell Solaris where to search for the shared object. You can do this one of two ways:


Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase