Luiz,

Do you know how to override GCC flags via program (include) files.

For example:

Given: I have a global optimization flags -O3
Wanted: For some files, I need to turn-off this -O3
Reason: Some programs do not like -O3 but I need -O3 as global flag.

Via pragma? GCC supports pragmas?

Thanks.

Andi

On Fri, 10 Aug 2012 00:07:02 -0300
"Luiz Rafael" <l...@xharbour.com.br> wrote:

> Andi
> 
> Simple
> 
> compile all sources with -g3
> 
> link the app with -g3
> 
> gdb app.exe
> run<enter>
> bt<enter>
> 
> Regards
> Luiz
> 
> -----Original Message----- 
> From: Andi Jahja
> Sent: Thursday, August 09, 2012 11:01 PM
> To: xHarbour Developers Mailing List
> Subject: [xHarbour-developers] Debugging MinGW/GCC ?
> 
> Hello,
> 
> I need info how to debug MinGW application to trace GPF.
> Anyone kind enough to give a quick highlight?
> 
> Thank you.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to