Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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
add comment

1 Answer

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
add comment

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.