Plink编译unix框错误的代码

我试图使用plink连接到Windows的aix框,并试图编译代码。 它成功地连接到了这个盒子,但是当编译开始时,它不能够在“.profile”文件中提到的任何path。 因此它不了解这些常见variables。 有人能帮我解决这个问题吗? 如何设置基于.profile文件的plink会话?

使用的命令:

plink -pw buildpoc [email protected] -m command.txt

Command.txt包含:

 cd scripts pwd /prod/f1/buildpoc/scripts/buildlibs.scr bb 

显示的错误是:

 [E:\Putty]sc.bat rem plink -pw buildpoc [email protected] plink -pw buildpoc [email protected] -m command.txt /prod/f1/buildpoc/scripts /usr/bin/sh: xlC_r: not found. <<<<<<<<<<<<< which is present in /user/vacpp/bin Running for make file libmakefile.aix52 Removing libraries -- COMPILING LIBRARYS -- xlC_r -c -bmaxdata:2147483648 -g -M -DOCI_80 -I/c/include -I/rdbms/ -I/plsql/public -I/rdbms/public athread.C