Author Topic: Global compiler variables quest  (Read 2605 times)

Offline vangodp

  • Single posting newcomer
  • *
  • Posts: 2
Global compiler variables quest
« 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

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

Can you give an example if possible?
Thank you very much for your help!

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Global compiler variables quest
« Reply #1 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

Online stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
Re: Global compiler variables quest
« Reply #2 on: June 04, 2020, 09:45:03 pm »
You might try
Code
$(CODEBLOCKS)/MinGW

and see if it works.

Tim S.
« Last Edit: June 04, 2020, 09:46:52 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline vangodp

  • Single posting newcomer
  • *
  • Posts: 2
Re: Global compiler variables quest
« Reply #3 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! ;)