[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Compilation on MacOS X



Hi, I was wondering if anybody had managed to get ns and its components 
to install on MacOS X.  otcl fails to compile with the error

gcc -c -g -O2 -DNDEBUG -DHAVE_STL -DUSE_SHM -fpic -I. 
-I/Users/gary/NS/ns-allinone-2.1b7a/include 
-I/Users/gary/NS/ns-allinone-2.1b7a/include -I/usr/X11R6/include 
-I/include  otcl.c
otcl.c: In function `OTclErrArgCnt':
otcl.c:122: internal error--unrecognizable insn:
(insn 21 20 23 (set (reg:SI 4 r4)
         (symbol_ref:SI ("*LC0"))) -1 (nil)
     (expr_list:REG_EQUAL (symbol_ref:SI ("*LC0"))
         (nil)))
make: *** [libotcl.so] Error 1

I'm using the version of gcc that comes with MacOS X, i.e.

[localhost:~/NS/ns-allinone-2.1b7a/otcl-1.0a6] gary% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs
Apple Computer, Inc. version gcc-926, based on gcc version 2.95.2 
19991024 (release)

Thanks for your help...