Category "linker"

How to configure a non-standard linker for an autotooled build?

I wanted to configure an autotooled project to invoke a non-standard linker (the gold linker), using the stock autotools of Linux Mint 16/Ubuntu 13.10 I belie

GetProcAdress vs Linker

After doing some research on linking DLLs I came across two different methods for loading DLLs. The first method was using the linker. I added the paths to the

error linking uWSGI

i'm trying to compile uwsgi from pip on rhel6, but i get a linking error: can someone help please? $ sudo /usr/bin/pip install uwsgi ... *** uWSGI linking ***

dll loacation Error by running a testcode

I am learning how to use dlls and how to export them. I have created a small program that calls the different components(classes, methods, functions, ect.. ) of

LNK2001 Error even though .cpp is being compiled

I'm working on a project where I'm using Bullet3 to add a Physics Simulation Component-System to EntityX. I'm getting link errors when compiling code, and I ca

gcc linker options "--format binary"?

What is the meaning/usage of '--format binary' options in below command ?. ld -m elf_x86_64 --format binary --oformat elf64-x86-64 -r stub -o stub-image.o

Unable to link libclang with cmake on VS2017

A while ago I wrote a code generation program to use in my 3D game engine. I added a target to my cmake files, linked libclang with it as I'm using that for par

How do I change order of Libs in a cmake file?

Link order matters. I have observed that when I compile my program with: gcc `pkg-config --cflags --libs gtk+-2.0` program.cpp -o program which produces a nu

SDL_TTF : undefined reference to "TTF_INIT"

I'm trying to learn how to use SDL_TTF library. But i'm unable to solve an error of type : undefined reference to "TTF_INIT" here is the simple code that im t

When should NVRTC compilation produce a CUBIN?

If I understand the workflow description in the NVRTC documentation correctly, here's how it works: Create an NVRTC program from the source text. Compile the NV