1

invalid command name "gcc" while executing "gcc rsa.c -o rsa -lm" (file "./run.sh" line 1)

does gcc-4.9.2 works correctly on ns-2.35 or is it gcc-4.4

earthmeLon
  • 11,658

1 Answers1

1

Instead of running the script as ./run.sh, be sure that the first line of the script is #!/bin/bash and run it with bash run.sh.

earthmeLon
  • 11,658