Skip to content

edaschau/ns2_35_arm_mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Modified ns2.35 for ARM and x86 platform without gcc4.8 and g++4.8

Install

Download the tar.gz package, Alternative download: Google Drive

If you've deleted .bashrc in your home folder (Normally you shouldn't delete this!), please recreate this file! Please place the tar.gz package under your home folder or anywhere you want to install, then right click the folder Open in terminal, press ctrl+shift+v to paste the following commands into your terminal. Then install with (the following script is only what you need! Including automatically configure PATH):

sudo apt-get update
sudo apt-get install build-essential autoconf automake libxmu-dev xorg-dev
tar -xzvf ns-allinone-2.35-eda.tar.gz
cd ns-allinone-2.35-eda
./install
./env_config.sh

Notes:

Try this package I modified (this package could be used directly).

I've tested with my Samsung Phone on Snapdragon 8+gen1 with Android 14, using Termux environment to run Ubuntu 22.04. Also my Intel x86 PC with Ubuntu22.04 installed without any problem. My friend tested on M series MacBook and also succeed. If you have any problem with Mac, let me know!

Modifications:

ns-2.35/Makefile.in

CFLAGS += $(CCOPT) $(DEFINE) -std=c++03

So no need to do the compiler stuff.

All config.sub and config.guess have replaced with the newest version from the link it prompted when installing, so ARM platform can be recognized correctly.

nam-1.15/Makefile.in

CXXFLAGS = @V_CXXFLAGS@ -Wno-narrowing

Otherwise the nam will build error. Also the line 137 this-> (already mentioned)

About

Modified ns2.35 capable for ARM platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published