Hi Eljay, Yes, I have tried -g and -ggdb options and they do work, but I was wondering why the other options does NOT work. - Nirav Eljay Love-Jensen To: nirav.dalal@xxxxxxxxxxxx, gcc-help@xxxxxxxxxxx <eljay@xxxxxxxxx cc: > Subject: Re: debugging switches/options with x86 target? 03/02/2004 12:31 PM Hi Nirav, Have you tried this... g++ -mdll -DBUILD_DLL -O3 -c -fno-exceptions -g foo.cpp ...? --Eljay