Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
61 views

I have the following project structure, where libb.so depends on liba.so, libc.so depends on libb.so and libd.so depends on libc.so abcd ├── a │ ├── lib.cpp │ ├── lib.o │ └── liba.so ├── b │ ├─...
1 vote
1 answer
71 views

I am currently working with a project that generates its compiler- and linkerflags by reading a configuration file. The resulting linker-flags of interest are: -Wl,--defsym=__MPLAB_BUILD=1${...
3 votes
1 answer
73 views

I'm porting a tiny experimental 80286 kernel from pure assembler (NASM) to assembler+C (NASM+Open Watcom 1.9). Boot sector code loads the BIN kernel image at address 0x010000 and then jumps to that ...
2 votes
1 answer
130 views

I want to test code coverage of my tests over library L. Let L::foo() be a function in L that I do not use in my tests. Therefore the object code of foo() is removed/opted out I think by the linker ...
dwto's user avatar
  • 827
2 votes
1 answer
144 views

How can I figure out why gcc is failing to link my library (with only a lib constructor) when built with GCC 11 on Ubuntu 22.04? I set up a tiny example here to try to replicate the problem: https://...
Matt's user avatar
  • 2,080
1 vote
1 answer
442 views

I have a hybrid app created with Ionic that was originally running on Cordova, but we moved it to Capacitor a year ago and everything has been working as expected. Recently, while trying to make ...
0 votes
1 answer
706 views

I had been working on generation of shared libraries, while installing linpack i accidentally replaced cp linpack-fpm/lib/liblinpack.a /usr/bin/ld , I had tried referring to various solutions like ...
0 votes
0 answers
67 views

I'm trying to re-create MSVC's behavior of the /export:myfunction=upstreamlib.myfunction linker flag in gcc/llvm (specifically Rust but I think this is a linker question rather than rust) which ...
1 vote
1 answer
468 views

I am making a game in c++ with sdl2, and I am currently compiling the program with g++ using the following flags: DEBUG_FLAGS = -g -Og -DDEBUG RELEASE_FLAGS = -O3 -DNDEBUG -mwindows -s I want the ...
1 vote
0 answers
50 views

Initially my module consisted of both backend and frontend. When putting into an executable, cmd opened up, but with the -ldflags "-H windowsgui" it went away. Eventually, I wanted backend ...
2 votes
1 answer
150 views

The rules regarding linking are getting jumbled in my head. I have this little C file that I want to turn into a shared library. For the purpose of illustration, I'm calling a libuv function, but it ...
2 votes
1 answer
389 views

I have a project that is to be compiled for Linux and Windows. Compilation for the former is done in a Linux environment, and compilation for the latter is done in w64devkit, i.e. I don't need to ...
1 vote
0 answers
210 views

In the past, this call worked fine to compile a 32 bit version of my app for Windows (using cygwin/mingw). Now I get an error: CGO_CFLAGS="-I/Users/Volker/src/includes/third-party/ -I/...
Volker's user avatar
  • 507
0 votes
0 answers
83 views

I am creating an Android native application, where I have many cpp files and few kt files. With the use of cpp files, I am compiling static libraries which gives me .a extension files and as a whole I ...
0 votes
1 answer
1k views

My main goal is to use cmake with the ninja generator to build a C++ project with the LLVM clang compiler. I am trying to get two libraries linked so when cmake tests the compilers, the compilers will ...

15 30 50 per page
1
2 3 4 5
...
9

AltStyle によって変換されたページ (->オリジナル) /