cadence IC5 install under ubuntu 6.06. cadence IC50 安装总结,在ubuntu6.06下.

来源:互联网 发布:酒店员工流失率数据 编辑:程序博客网 时间:2024/06/05 04:49
First, if your tar version is 1.5, change it to 1.4. 1.5 seems have a bug and can not operate properly.
execute SETUP.SH
exit when asked if to run softload
go to the install directory and find the following file:
modify io_fltr.c
    line 33 add: #include <errno.h>, also add #include <stdlib.h> at the file top
    line 54 add: #define lnx86
    line 68 change: "/bin/uncompress -c"
modify process_file.c
    line 511: change 1280 to 10000
gcc -o io_fltr io_fltr.c
gcc -o process_file process_file.c
modify vld:
    line 424 & 425: delete +2 -3
then do the following step:
./softload
(1) load available products
(1) local
(2) other
don't view readme file
(4) cadence catalog
(a) all of the above
(2) list installed products
(3) linux operating system(lnx86)
(q)

copy license.dat to cdsroot/share/license/
ln -s tools.lnx86 tools
you need the following environment variable:
CDSDIR=
CDS_ROOT=
CDS_INST_DIR=
# the above three is the root directory of cadence
CDS_INSTALL_DIR=root_of_cds/tools/dfII
export CDS_LIC_FILE=(the path to license)
export PATH=$CDS_ROOT/TOOLS/BIN:$CDS_INSTALL_DIR/BIN:$CDS_ROOT/TOOLS/SPECTRE/BIN:$PATH

copy everything under /tools/dfII/sample/local to /tools/dfII/local
change cdsinit to .cdsinit

sudo apt-get install libstdc++2.10-glibc2.2
you also need the following environment variable:
export LD_ASSUME_KERNEL=2.4.21
do this under your /usr/lib:
sudo ln -sf libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2
libcwait.c file is:
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/wait.h>
pid_t
__libc_wait (int *status)
{
    int res;
    asm volatile ("pushl %%ebx/n/t"
            "movl %2, %%ebx/n/t"
            "movl %1, %%eax/n/t"
            "int $0x80/n/t"
            "popl %%ebx"
            : "=a" (res)
            : "i" (__NR_wait4), "0" (WAIT_ANY), "c" (status), "d" (0),
            "S" (0));
    return res;
}
compile the file using the following command:
gcc -shared -o libcwait.so -fpic -O2 libcwait.c (NOTICE: "O" is not zero but letter o of upper case)
use also need this environment variable:
export LD_PRELOAD=/usr/lib/my/libcwait.so
(libcwait.so is generated by the previous command.
you'd better export LANG=POSIX to avoid some fonts problems when using cadence.
type icfb& in a terminal
then, enjoy ...
 
原创粉丝点击