answersLogoWhite

0

The name of the program should be saved as .pc

example:hello.pc

install the glomosim in your computer

move to nirmal@ubuntu:~/glomosim/glomosim-2.03/parsec/redhat-7.2/bin$

then use the following commands

1.nirmal@ubuntu:~/glomosim/glomosim-2.03/parsec/redhat-7.2/bin$pcc -lm -c hello.pc

2. nirmal@ubuntu:~/glomosim/glomosim-2.03/parsec/redhat-7.2/bin$pcc -user_main hello.o -lm -o hello

3. nirmal@ubuntu:~/glomosim/glomosim-2.03/parsec/redhat-7.2/bin$./hello

thats it then the output will be displayed as

Hello World

and followed by the time limits

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

I have installed Glomosim software successfully but don't know to how to write or run a program?

Having never heard of this program I tried googling it. There appears to be some excellent resources available to help you along. I've included a few in the related links.


Where to download glomosim simulator?

Glomosim simulator project a popular simulation tool which is freely for education, research and developed from springer paper. Models of layers in Glomosim simulator. Glomosim network simulation environment.


What is glomosim?

GloMoSim * Global Mobile Information System Simulator (GloMoSim) is a scalable simulation environment for large wireless and wireline communication networks.* GloMoSim uses a parallel discrete-event simulation capability provided by Parsec.


Can you get some sample programs in GLOMOSIM?

i want glomosim related code in AODV,but i can't got.


How do you install glomosim to Windows Vista?

qweasd790


How do you add the new protocol in glomosim?

To add a new protocol in GlomoSim, you need to create a new protocol file in the appropriate directory, typically under the protocols folder. Define the protocol's parameters and behaviors in this file, following the existing protocols as a template. After implementing the protocol, update the configuration files to register it within the GlomoSim framework. Finally, recompile the source code to ensure the new protocol is integrated into the simulation environment.


Where and how can I run a program?

You can run a program in any OS. For example an executable program can be run in windows by .exe file extension.


Will a program run if it is placed into ROM?

a program will only run if it is first place into


The program which automatically run and continues to run as long as Windows is running is?

Program Manager


Can you run java program without applying main method?

yes we can run java program without using main. we can run program by declaring the variable static..


Which program would you run to check for possible disk errors and where is the program located?

program would you run to check for possible disk errors


What is execution of program?

Exec. Of program is the compilation of document or the run of a type program.