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

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

1 Answer 1

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


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.