Charles
Charles

Reputation: 987

gfortran include path with space

I have a space in my directory, and when I try to use the -Idir compiler option, it doesn't recognize the path (because of the space). Is there any way around this? Or should I just rename my path?..

Upvotes: 0

Views: 315

Answers (1)

Employed Russian
Employed Russian

Reputation: 213799

Is there any way around this?

Did you quote the path with space? You must: "-Idir with space" (single or double quotes are required here).

Or should I just rename my path?

Avoiding paths with spaces may be the best solution.

Upvotes: 2

Related Questions