Can we please have access to the C-backend's compiler switches without having to resort to external scripts ?
Thanks!
Cheers,
Skipper
Get access to C-backend compiler switches?
Get access to C-backend compiler switches?
<< Win-11 (x64: XEON + i5) / Mint linux (x64: i3) / MacOS Monterey (Intel x64) >>
Re: Get access to C-backend compiler switches?
would be handy, you could also use pragma to some extent, like if you want to optimize a function or ignore a warning
you can test if it works like this
!#pragma optimize ("-O3");
procedure foo()
or to unroll a loop
!#pragma ivdep;
While(r > #size)
you can test if it works like this
!#pragma optimize ("-O3");
procedure foo()
or to unroll a loop
!#pragma ivdep;
While(r > #size)
Re: Get access to C-backend compiler switches?
Thanks for pointing this out. Would it work globally, for the entire application too? Going to test later today....idle wrote: Thu Sep 04, 2025 11:42 pm would be handy, you could also use pragma to some extent, like if you want to optimize a function or ignore a warning
you can test if it works like this
!#pragma optimize ("-O3");
procedure foo()
or to unroll a loop
!#pragma ivdep;
While(r > #size)
cheers
Skipper
<< Win-11 (x64: XEON + i5) / Mint linux (x64: i3) / MacOS Monterey (Intel x64) >>
Re: Get access to C-backend compiler switches?
I don't think it does it globally. you just do it before a function as far as I recall.


