Ticket #624 (closed enhancement: fixed)
Opened 3 years ago
Last modified 3 years ago
Libelf port (bep and patch)
| Reported by: | munchausen | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | default | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Port of libelf. Tested building/installing on gcc2 and gcc4. Also building distribution packages.
Note:
This is my first haiku port. Thanks to augiedoggie and mmu_man for their help figuring out lots of stuff and giving me pointers.
Attachments
Change History
Changed 3 years ago by munchausen
- attachment libelf-0.8.13.bep added
Changed 3 years ago by munchausen
- attachment libelf-0.8.13.patch added
comment:1 Changed 3 years ago by munchausen
Patch is for building a dynamic library, otherwise it complains that haiku doesn't support building shared libs.
comment:2 Changed 3 years ago by munchausen
- Summary changed from Libelf port to Libelf port (bep and patch)
comment:3 follow-up: ↓ 4 Changed 3 years ago by munchausen
Guys, any chance of this and libdwarf getting added to ports? If it's a question of testing, libdwarf provides the dwarfdump utility for examining gcc debug data, and I will soon provide my own tool for examing elf data using libelf. Also, libdwarf and dwarfdump rely on libelf anyhow. Sorry, I know you're probably very busy. Thanks!
comment:4 in reply to: ↑ 3 Changed 3 years ago by scottmc
Replying to munchausen:
Guys, any chance of this and libdwarf getting added to ports? If it's a question of testing, libdwarf provides the dwarfdump utility for examining gcc debug data, and I will soon provide my own tool for examing elf data using libelf. Also, libdwarf and dwarfdump rely on libelf anyhow. Sorry, I know you're probably very busy. Thanks!
Is there an included test? Is so you can add a TEST { } section to the .bep which would be run if --test is passed to haikuporter.
comment:5 Changed 3 years ago by munchausen
No, there are no included tests with either library. I can assure you both work though - I am using them. And as I said, dwarfdump can be used (simply run it on a binary to see debug data) as it relies on both.
comment:6 Changed 3 years ago by scottmc
- Resolution set to fixed
- Status changed from new to closed
applied in r2049. thanks.

Bep for port