Compilation problems with GDC/GCC
DRex via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Apr 15 07:01:51 PDT 2017
On Saturday, 15 April 2017 at 13:08:29 UTC, DRex wrote:
> On Saturday, 15 April 2017 at 13:02:43 UTC, DRex wrote:
>> On Saturday, 15 April 2017 at 12:45:47 UTC, DRex wrote:
>
> Update to the Update,
>
> I fixed the lib failing to open by copying it to the location
> of my sources, and setting the ld to use libraries in that
> folder, however I am still getting the aforementioned undefined
> references :/ ..
Okay, so I decided to link using GDC in verbose mode to figure
out what gdc is passing to gcc/the linker, and I copied the
output and ld linked the files, but I still have a problem. The
program is linked and created but cant run, and ld produces the
following error:
ld: error in /usr/lib/gcc/x86_64-linux-gnu/5/collect2(.eh_frame);
no .eh_frame_hdr table will be created.
I haven't the foggiest what this means, and no Idea how to fix
it. Does anyone know how to fix this issue?
More information about the Digitalmars-d-learn
mailing list