mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 06:26:35 +00:00
Default debugging format might not be stabs - pass -gstabs+ instead of -g to gcc. And did you know ld doesn't actually have a -g switch?
_Now_ we can upgrade to gcc 4.3.2 After a suggestion by hto from Bugzilla. Dmitry, start doing your own commits already See issue #3922 for more details. svn path=/trunk/; revision=37780
This commit is contained in:
parent
eaac85ec75
commit
c1338f0192
1 changed files with 5 additions and 5 deletions
|
@ -1655,7 +1655,7 @@ MingwModuleHandler::GenerateObjectFileTargets ()
|
|||
backend->GetFullPath ( *pchFilename ).c_str() );
|
||||
fprintf ( fMakefile, "\t$(ECHO_PCH)\n" );
|
||||
fprintf ( fMakefile,
|
||||
"\t%s -o %s %s %s -g %s\n\n",
|
||||
"\t%s -o %s %s %s -gstabs+ %s\n\n",
|
||||
module.cplusplus ? cppc.c_str() : cc.c_str(),
|
||||
backend->GetFullName ( *pchFilename ).c_str(),
|
||||
module.cplusplus ? cxxflagsMacro.c_str() : cflagsMacro.c_str(),
|
||||
|
@ -1894,7 +1894,7 @@ MingwModuleHandler::GenerateOtherMacros ()
|
|||
}
|
||||
else
|
||||
globalCflags += " -Wall -Wpointer-arith";
|
||||
globalCflags += " -g";
|
||||
globalCflags += " -gstabs+";
|
||||
if ( backend->usePipe )
|
||||
globalCflags += " -pipe";
|
||||
if ( !module.allowWarnings )
|
||||
|
@ -1948,7 +1948,7 @@ MingwModuleHandler::GenerateOtherMacros ()
|
|||
|
||||
fprintf (
|
||||
fMakefile,
|
||||
"%s_LFLAGS := $(PROJECT_LFLAGS) -g $(%s_LFLAGS)\n",
|
||||
"%s_LFLAGS := $(PROJECT_LFLAGS) $(%s_LFLAGS)\n",
|
||||
module.name.c_str (),
|
||||
module.name.c_str () );
|
||||
}
|
||||
|
@ -3028,7 +3028,7 @@ MingwBootProgramModuleHandler::GenerateBootProgramModuleTarget ()
|
|||
backend->GetFullName ( junk_cpy ).c_str (),
|
||||
backend->GetFullName ( junk_tmp ).c_str () );
|
||||
|
||||
fprintf ( fMakefile, "\t${ld} $(%s_LINKFORMAT) %s %s -g -o %s\n",
|
||||
fprintf ( fMakefile, "\t${ld} $(%s_LINKFORMAT) %s %s -o %s\n",
|
||||
module.buildtype.c_str (),
|
||||
linkDepsMacro.c_str (),
|
||||
backend->GetFullName ( junk_tmp ).c_str (),
|
||||
|
@ -3568,7 +3568,7 @@ MingwElfExecutableModuleHandler::Process ()
|
|||
|
||||
fprintf ( fMakefile, "\t$(ECHO_BOOTPROG)\n" );
|
||||
|
||||
fprintf ( fMakefile, "\t${gcc} $(%s_LINKFORMAT) %s %s -g -o %s\n",
|
||||
fprintf ( fMakefile, "\t${gcc} $(%s_LINKFORMAT) %s %s -gstabs+ -o %s\n",
|
||||
module.buildtype.c_str(),
|
||||
objectsMacro.c_str(),
|
||||
libsMacro.c_str(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue