2

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/"

1 Answer 1

1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .