Skip to main content

Questions tagged [linking]

1 vote
0 answers
118 views

I'm reading this article explaining the node_modules structure of pnpm. https://pnpm.js.org/en/symlinked-node-modules-structure It states next to the bolded text avoid circular symlinks that ...
Gwater17's user avatar
  • 255
0 votes
4 answers
1k views

Assume we have two files a.cc #include <iostream> int timesTwo(int in); int main(){ std::cout << timesTwo(5) << std::endl; return 0; } b.cc int timesTwo(int in){ return in*2; ...
Alex's user avatar
  • 9
9 votes
2 answers
12k views

Context: I have an open source project which uses JNI. While it's possible to build it yourself, I expect most users will use standard Java tools like Maven, Gradle, or SBT to download the JAR, which ...
Robert Fraser's user avatar
6 votes
1 answer
3k views

I am looking into assembler and I am trying to understand the whole compilation process. During the linking step I use: ld -m elf_i386 -s -o hello hello.o Everything works fine, but I do not ...
AK_is_curious's user avatar
-1 votes
1 answer
85 views

I have a large shared library, a collection of functions created from numerous .a files into libeverything.so. The code for the .a files is obviously compiled with -fPIC. I also have libeverything.a ...
juhist's user avatar
  • 2,579
0 votes
2 answers
1k views

I know how to actually do the linking, but I'm not sure what the best practice is for actually getting those libraries downloaded and into my repository. Should I just straight-out include them using ...
markasoftware's user avatar
5 votes
4 answers
2k views

Upon inspecting Twitter's URL shortening service http://t.co, I noticed that, instead of redirecting to the goal URL using a Location HTTP header and a 3xx HTTP status code, it redirects using the ...
Decent Dabbler's user avatar
1 vote
1 answer
214 views

I'm trying to union many functions so that they will all run in the same small section of ram but be loaded from elsewhere. I have done this for several sections explicitly with a sections command ...
Eph's user avatar
  • 199
9 votes
2 answers
483 views

Recently digitized and turned into a repo, the original Apollo 11 guidance computer source code has been made available for viewing on Github. In MAIN.agc, the repo author comments that they split ...
8protons's user avatar
  • 1,389
1 vote
2 answers
417 views

I wrote a command-line utility and I want to develop a GUI for it. I saw that almost every tool on linux comes command-line, and it eventually has a GUI which interacts with the command line utility ...
BackSlash's user avatar
  • 211
16 votes
3 answers
4k views

I'm relatively new to C++, so I'm not sure how I should best handle small dependencies (e.g., a scripting language, or a JSON/YAML/XML Parser). Should I create separate projects and link them as ...
Michael Stum's user avatar
  • 1,778
3 votes
2 answers
822 views

I know the difference between static and dynamic linking. I know why the notion of a library is important. And I even know why you'd want to link something like OpenGL, platform-specific APIs, or ...
JesseTG's user avatar
  • 657
4 votes
1 answer
1k views

First off, I'm relatively new to C - I know the language somewhat, but never looked too much into the whole build process. From what I'm seeing, if I want to use a third party library and have it in ...
Michael Stum's user avatar
  • 1,778
3 votes
3 answers
5k views

I would like to ask how optimizer software written in C/C++ can be linked to simulator software written in FORTRAN or any other language. I have copied the section of journal article of Singh and ...
Surajit's user avatar
  • 47
10 votes
2 answers
10k views

I want to write a closed-source desktop application that uses a piece of GPL software in the background. I know that I can't link to a GPL library (libgit.a). But if I embed a GPL application (git....
Ned Twigg's user avatar
  • 519

15 30 50 per page