![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Installing Firefox and now ended up installing latest glibc | scriptingmani | Linux | 1 | 08-09-2007 01:28 PM |
| SUNWglmr -- rasctrl environment monitoring driver for i2c or SCSI device driver ? | roygoodwin | SUN Solaris | 1 | 12-26-2006 07:59 PM |
| To Driver | Computekwes | Post Here to Contact Site Administrators and Moderators | 13 | 09-20-2004 01:21 PM |
| Installing driver in linux redhat... what am I doing wrong? | Minnesota Red | UNIX for Dummies Questions & Answers | 7 | 06-21-2003 08:22 PM |
| NIC Driver | s_aamir | UNIX for Advanced & Expert Users | 1 | 11-20-2002 03:03 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Installing a driver
Hi All,
I am trying to install a driver for a CAN card of a machine running Ubuntu 8.04. It cames with three .tgz files for gcc2, gcc3, and k26. The current version of gcc is 4.2.1, which is causing me problems. I installed gcc-3.3 using sudo apt-get install gcc-3.3 But when I run the make command for the driver, it still is using gcc 4.2.1, and as a result is not compiling. How do I switch the PATH so that I am using gcc-3.3 to install the driver. I am very new to Linux, please help. Thanks, Brian |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
export PATH=/some/path:/some/other/path:/and/another/path:.....
The PATH variable is a list of directory names separated by colons. The list of directories is searched in the order in which they appear in this list. Find out where gcc 3.3 is and add this directory to the beginning of the current value of $PATH: PATH=/some/new/directory:$PATH Display the $PATH variable to make sure everything was done correctly: echo $PATH You might get a list which reads like: /some/new/directory:/bin:/etc:/usr/bin:/usr/bin/X11:/usr/ucb:.... or something such. This should do it. Probably you have to change the library paths and other parts of the environment too when you change the compiler version. I hope this helps. bakunin |
|||
| Google The UNIX and Linux Forums |