[thorne@ldas-pcdev1 mat_test]$ /ldcg/matlab_r2007b/bin/matlab -nodisplay < M A T L A B > Copyright 1984-2007 The MathWorks, Inc. Version 7.5.0.338 (R2007b) August 9, 2007 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. >> getenv('ARCH') ans = glnxa64 >> mcc -mv magicsquare.m Warning: Unable to open display ':0.0'. You will not be able to display graphics on the screen. Warning: Duplicate directory name: /archive/home/thorne/matlab. Warning: Duplicate directory name: /ldcg/matlab_r2007b/toolbox/local. Warning: Duplicate directory name: /archive/home/thorne/matlab. Compiler version: 4.7 (R2007b) Processing /ldcg/matlab_r2007b/toolbox/matlab/mcc.enc Processing include files... 2 item(s) added. Processing directories installed with MCR... The file mccExcludedFiles.log contains a list of functions excluded from the CTF archive. 0 item(s) added. Generating MATLAB path for the compiled application... Created 35 path items. Begin validation of MEX files: Tue Jan 22 14:46:33 2008 Validating '/ldcg/matlab_r2007b/toolbox/compiler/deploy/deploywhich.mexa64'. No conflicting M-file found. Validating '/ldcg/matlab_r2007b/toolbox/compiler/deploy/readline.mexa64'. No conflicting M-file found. End validation of MEX files: Tue Jan 22 14:46:33 2008 Deleting 2 temporary MEX authorization files. Removing: '/tmp/fileOUWaFn_425.auth'. Removing: '/tmp/fileiYDaLW_425.auth'. Parsing file "/mnt/zfs1/thorne/mat_test/magicsquare.m" (Referenced from: "Compiler Command Line"). Parsing file "/ldcg/matlab_r2007b/toolbox/compiler/deploy/deployprint.m" (Referenced from: "Compiler Command Line"). Parsing file "/ldcg/matlab_r2007b/toolbox/compiler/deploy/printdlg.m" (Referenced from: "Compiler Command Line"). Generating file "magicsquare_main.c". Generating file "/mnt/zfs1/thorne/mat_test/run_magicsquare.sh". Generating file "/mnt/zfs1/thorne/mat_test/readme.txt". Generating file "magicsquare_mcc_component_data.c". Executing command: mbuild -O -v -output "magicsquare" "magicsquare_main.c" "magicsquare_mcc_component_data.c" -link exe ---------------------------------------------------------------- -> mbuildopts.sh sourced from directory (DIR = $HOME/.matlab/$REL_VERSION) FILE = /archive/home/thorne/.matlab/R2007b/mbuildopts.sh ---------------------------------------------------------------- -> TMW_ROOT = /ldcg/matlab_r2007b -> CC = gcc -> CC flags: CFLAGS = -ansi -D_GNU_SOURCE -fexceptions -I/ldcg/matlab_r2007b/extern/include -DUNIX -DX11 -pthread CDEBUGFLAGS = -g COPTIMFLAGS = -O -DNDEBUG CLIBS = -Wl,-rpath-link,/ldcg/matlab_r2007b/bin/glnxa64 -L/ldcg/matlab_r2007b/bin/glnxa64 -lmwmclmcrrt -lm -lstdc++ arguments = -> LD = gcc -> Link flags: LDFLAGS = -pthread LDDEBUGFLAGS = -g LDOPTIMFLAGS = -O arguments = ---------------------------------------------------------------- -> gcc -c -ansi -D_GNU_SOURCE -fexceptions -I/ldcg/matlab_r2007b/extern/include -DUNIX -DX11 -pthread -O -DNDEBUG magicsquare_main.c -> gcc -c -ansi -D_GNU_SOURCE -fexceptions -I/ldcg/matlab_r2007b/extern/include -DUNIX -DX11 -pthread -O -DNDEBUG magicsquare_mcc_component_data.c -> gcc -O -pthread -o magicsquare magicsquare_main.o magicsquare_mcc_component_data.o -Wl,-rpath-link,/ldcg/matlab_r2007b/bin/glnxa64 -L/ldcg/matlab_r2007b/bin/glnxa64 -lmwmclmcrrt -lm -lstdc++ >>