Re: Relocation error

2021-08-04 Thread SealabJaster via Digitalmars-d-learn
On Wednesday, 4 August 2021 at 20:24:28 UTC, SealabJaster wrote: .. Oops, please ignore, put it into lflags instead of dflags

Re: Relocation error

2021-08-04 Thread SealabJaster via Digitalmars-d-learn
On Wednesday, 4 August 2021 at 19:47:42 UTC, Paul Backus wrote: ... I am now getting this error: ``` /usr/bin/ld: -f may not be used without -shared ``` Adding -shared: ``` /usr/bin/ld: .dub/build/test-debug-linux.posix-x86_64-dmd_v2.097.1-3DC2262935789AAE4203853EDDD1C5A4/libd.o:

Re: Relocation error

2021-08-04 Thread Paul Backus via Digitalmars-d-learn
On Wednesday, 4 August 2021 at 18:52:40 UTC, SealabJaster wrote: However, I'm now running into the following linker error that I really don't know what to do with: ``` /usr/bin/ld: .dub/build/test-debug-linux.posix-x86_64-dmd_v2.097.1-6FDCEE655D96859081886B42E500F838/libd.o: relocation

Re: Relocation error

2021-08-04 Thread SealabJaster via Digitalmars-d-learn
On Wednesday, 4 August 2021 at 18:52:40 UTC, SealabJaster wrote: ... Forgot to mention: Build with `dub run --compiler=dmd -c test`

Relocation error

2021-08-04 Thread SealabJaster via Digitalmars-d-learn
I'm currently working on a libc-less standard library for myself, and was working on Posix support recently. However, I'm now running into the following linker error that I really don't know what to do with: ``` /usr/bin/ld: