User guide

3-32
Compiling and Elaborating Your Design
Setting up the Compiler and Linker
Before running the 64-32-bit cross-compilation, Synopsys
recommends that you check the VCS Release Notes for currently
supported compilers and linkers. In general, you can use gcc for
compiling. The release notes also indicate the required library and
assembler patches.
Memory Setup
In order to run the 64-32-bit cross-compilation process, make sure
you are running on a machine with at least 8 GB of available memory.
The 8 GB can comprise available physical memory plus available
swap space.
You can check for the amount of available physical memory and swap
space by running the top utility, as shown in the following example:
% top
% 0 processes: 58 sleeping, 1 running, 1 on cpu
CPU states: 95.2% idle, 0.2% user, 4.6% kernel, 0.0%
iowait, 0.0% swap
Memory: 512M real, 294M free, 60M swap in use, 1333M swap free
In general, the amount of swap space should be at least 2.5 times
the amount of physical memory. The more the entire process can run
using physical memory, the less swapping will occur, giving better
overall performance.
If you encounter memory issues, try changing the system limits to
values similar to the following example:
UNIX> datasize 3070000
UNIX> stacksize 200000