Opened 13 years ago
Last modified 13 years ago
#32634 closed enhancement
building R with debug symbols — at Initial Version
Reported by: | macporter90210@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | haspatch | Cc: | |
Port: | R |
Description
I want to build R with debug symbols so I can more easily debug my C extensions and how they interact with R. I modified the portfile to use apple's gcc and the -g flag. It installed fine, but it seems that the debug symbols aren't found by gdb.
- What should I do so that when I compile with -g, the symbols can be found?
- Do I need to use apple's rather than the mp gcc to do this?
- I think other people might find this useful so it would be nice if the debug variant, after appropriate corrections can be added to the port.
I attach the port diff.
Note: See
TracTickets for help on using
tickets.
portfile diff to add debug variant - doesn't seem to work