Notes on setting up Ubuntu Linux and MS/Win Dev-C++
Last Modified:
Linux
Starting with Ubuntu 7.10, wireless networking works on my Dell laptop
after installing the suggested proprietary drivers.
Look under System -> Administration -> Hardware Drivers
For wireless at Villanova,
see Ubuntu 10.04 examples
VUMobile
and Wireless Security.
For MS/Win and Mac, see
Wireless Access.
- Install Ubuntu from www.ubuntu.com.
I used Infra Recorder from
infrarecorder.sourceforge.net
as described in
BurningIsoHowto
to create the Ubuntu install CD under MS/Win.
- Install updates.
- Install extra packages:
sudo apt-get install ...packages...
where ...packages... are:
g++ manpages-dev flex bison nasm tcsh pdksh
- Install in /opt, latest JDK SE, docs, and strong crypto policy files
from java.sun.com
- Set Java plugin symlink in ~/.mozilla/plugins
libnpjp2.so -> /opt/jdk/jre/lib/i386/libnpjp2.so
MS/Win Dev-C++
- Get latest Dev-C++ from
www.bloodshed.net
- When installing, remove association of .c and .h file extensions, otherwise see next
step to remove later. If .c and .h file extensions are associated with Dev-C++,
then VECR and any web files with those extensions will launch Dev-C++ instead of
displaying in the browser.
- If .c and .h file extensions are associated with Dev-C++ or any other program,
remove those associations using Windows Explorer (i.e. "My Computer", not
Internet Explorer), under Tools -> Folder Options -> File Types
- In Dev-C++, under Tools -> Compiler Options -> Settings,
set "ANSI C" to yes.
- Under Tools -> Compiler Options -> Compiler,
add "-ansi -Wall" to compile options; unfortunately can't add "-pedantic"
because then Dev-C++'s own header files generate warnings.
- Under File -> New -> Project, choose console app
and make C the default. Replace
system("PAUSE");
with
getchar();
for portability, or skip those and run
executable from a terminal window in the project directory.