Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-25-2003, 10:38 PM   #1
Registered: Feb 2003
Distribution: VectorLinux 5.1
Posts: 116

Rep: Reputation: 15
gcc environment variables

I'd like to know what environment variables gcc uses, and where these are set. If anyone could enlighten me, or at least point me some direction, it would be greatly appreciated. I've looked over the first few thousand lines of the gcc man page without any luck, maybe someone has a better way of parsing it?

Old 03-25-2003, 11:13 PM   #2
Registered: Feb 2003
Distribution: VectorLinux 5.1
Posts: 116

Original Poster
Rep: Reputation: 15
After some more exhaustive searching, I discovered that g++ uses the env vars:


Not sure if these are set anywhere by default, though, after setting them in my .bashrc (concatenating what I needed), g++ complained a little about it. Also, they were blank until I set them, which leads me to believe defaults are also set in some other fashion.

Any further comment on the matter would be tremendously appreciated.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
environment variables naren Linux - Software 1 12-15-2004 06:44 AM
environment variables Prakhardeep Linux - Software 3 10-06-2004 03:30 AM
environment variables in c++ s3b0 Programming 6 08-27-2004 09:19 AM
environment variables. jISV Linux - General 0 04-05-2002 06:01 AM
environment variables aethereal Linux - Newbie 7 12-19-2001 09:34 AM

All times are GMT -5. The time now is 07:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration