Question about building binaries with debug symbols

All development related issues welcome

Moderator: Moderator Team

Post Reply
wuhao09
Posts: 5
Joined: Thu Dec 14, 2017 4:50 am

Question about building binaries with debug symbols

Post by wuhao09 »

Hi Guys! I'm trying to build no stripped version of ReactOS. I've tried to set the environment variable ROS_BUILDNOSTRIP to yes, but it doesn't work when using ninja to build. The WIKI says that it works with make, so I've used "configure.sh makefiles" to generate the necessary make files. But when using make to build, there are build errors related to rtl_pch.h.gch. Do you know what's the correct way to keep debug symbols? Any help is appreciated!
learn_more
Developer
Posts: 207
Joined: Fri Dec 19, 2014 10:00 pm

Re: Question about building binaries with debug symbols

Post by learn_more »

ReactOS is not really stripped, but uses it's own debug format (rsym).
assuming you are using gcc, the 'norsym' patch from https://jira.reactos.org/browse/CORE-7372 might be a starting point.
wuhao09
Posts: 5
Joined: Thu Dec 14, 2017 4:50 am

Re: Question about building binaries with debug symbols

Post by wuhao09 »

Hi learn_more, thank you for your reply!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest