Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



Linux .login file

deki
09-22-2005, 11:52 PM
Hi, I'm trying to install intel c++ 9.0 on my debian sarge, I got it working if i'm in the directory of the installed compiler running as root, but the thing is I would like to do two things:
1. I need to set enviroment variables in the .login file, I cant find .login file
2. How do I create the shortcut to the directory so I can click on it and start the compiler with
variables set already, and just do vi file, then g++ , a.out, so I dont have to go through bunch of directories to get to it?I'm just trying to make it easily accssesible.
Any linux experts, or anyone who have this compiler installed?

Nodsu
09-23-2005, 03:24 AM
Once you have set the variables in your login scripts there is no need to set them again in the shortcut. You will have to choose wheteher to set them globally in login a script or locally.

The login scripts depend on the shell you use and the specific Linux distro. Look for files .bash_profile and .bashrc in your home dirs. Or /etc/profile /etc/bashrc or something similar.

How to create a desktop shortcut depends on the window manager you use.

Ad
09-23-2005, 03:24 AM
  

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

TechSpot Blog: Disable Windows automatic check for solutions after a program crashes

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Sony: PlayStation 3 to be 3D-capable via firmware update

iSuppli: DDR3 to account for over half of DRAM shipments by Q2 2010

Facebook named third most popular video website behind YouTube and Hulu

Patriot introduces new PS-100 SSD series

Sony working on digital store for music, movies, books

More Tech News

  
 Software Downloads

Norton Virus Definitions 2003-07 November 20, 2009

AVG Anti-Virus Updates November 20, 2009

Norton Virus Definitions 2008-09 November 20, 2009

avast! Virus Definitions November 20, 2009

McAfee SuperDAT Update 5808

Kaspersky Anti-Virus Update November 20, 2009

Google SketchUp 7.1.6087

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.