Skip to content

Add -mbig-obj flag for windows debug builds - #223

Open
andrjohns wants to merge 1 commit into
r-lib:mainfrom
andrjohns:mbig-obj-win
Open

Add -mbig-obj flag for windows debug builds#223
andrjohns wants to merge 1 commit into
r-lib:mainfrom
andrjohns:mbig-obj-win

Conversation

@andrjohns

Copy link
Copy Markdown

A long-standing gripe for windows devs of stan-based R packages is the too many sections error when using devtools::load_all(), caused by compiling packages with debug symbols and no optimisation.

Traditionally, we've just advised users to add the -Wa,-mbig-obj flag to their Makevars when developing, but the queries are still raised and there can be confusion about when to remove the flag.

Adding the flag in pkgbuild directly would be a big help (both for user experience and reducing queries!)

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant