Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: vangodp on June 04, 2020, 09:00:31 pm

Title: Global compiler variables quest
Post by: vangodp on June 04, 2020, 09:00:31 pm
I m a spanish guy and mi inglish is very bad sry. :'(

I have a question, if someone can answer me, i appreciate it.

the question is... Is it possible to use relative paths to indicate the path of the compiler in "Global compiler variables"?

Example:
https://prnt.sc/stw716 (https://prnt.sc/stw716)

Mi compiler is default codeblocks mingw portable.
https://prnt.sc/stwc92 (https://prnt.sc/stwc92)

Can you give an example if possible?
Thank you very much for your help!
Title: Re: Global compiler variables quest
Post by: BlueHazzard on June 04, 2020, 09:04:07 pm
Relative to what? To the project?

It should be possible, you probably have to use
Code
./MinGW

notice the point and slash at the beginning.

If you still have problem please post a build log:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
Title: Re: Global compiler variables quest
Post by: stahta01 on June 04, 2020, 09:45:03 pm
You might try
Code
$(CODEBLOCKS)/MinGW

and see if it works.

Tim S.
Title: Re: Global compiler variables quest
Post by: vangodp on June 04, 2020, 10:27:35 pm
You might try
Code
$(CODEBLOCKS)/MinGW

and see if it works.

Tim S.


It works perfectly! Thank you! ;)