Page 1 of 1

Purebasic 6 command line

Posted: Wed Feb 09, 2022 10:52 am
by MushroomHead
Hello,

Apologies if I posted this in the wrong forum. I am using Purebasic 6 beta 4 compiler, I would like to know if it's possible to dump out the full command lines (i.e. options) the C backend is passing to gcc and linker? Thanks

Re: Purebasic 6 command line

Posted: Wed Feb 09, 2022 11:42 am
by ChrisR

Re: Purebasic 6 command line

Posted: Wed Feb 09, 2022 12:06 pm
by MushroomHead
Cheers, I'll take a look at it.

Re: Purebasic 6 command line

Posted: Wed Feb 09, 2022 9:46 pm
by Bitblazer
You could always find out which tools are actually called, for example with WinAPIOverride and then replace any of them with your own tool, rename the original with an appended underscore. Your own tool logs all command parameters and calls the original tool with these parameters. That way, you can also manipulate the parameters as you wish.