Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm newbie in Bash and I'm using MinGW as a GCC compiler.

I have .profile in my home directory which sets building environment. Here is .profile content.

What's a difference in commented/uncommented lines? Why GCC doesn't work with uncommented lines?

export LDFLAGS=-L/home/Toktik/lib
export CFLAGS=-I/home/Toktik/include
# export LDFLAGS=$LDFLAGS:/home/Toktik/lib/
# export CFLAGS=$CFLAGS:" -I/home/Toktik/include/"
share|improve this question
up vote 1 down vote accepted

The commented lines add new options and directories to the existing values of those variables. The uncommented lines overwrite the previous values of those variables.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.