Replies: 1 comment 4 replies
-
Thanks! The biggest problem is that I simply don’t have enough time, though I’ve been slowly working towards it, like c01d673 allows us to run build on dependencies.
Yep, I think you are right. I simply didn't have enough time to sort them out.
Basically, yes. But I think there would be a lot of (annoying) implementation details, such as naming and location (output directory) conventions.
If we want to start with the dependency solver, we can use the existing code in
I think this is why we need to establish naming and location conventions.
Yes, I agree. This would be simpler. |
Beta Was this translation helpful? Give feedback.
-
So I've been working towards an MVP of a package server from the discussion here, but I've been stumbling over the fact that poac can only use header only (or system/pkg-config) libraries. I'm sure this is already on the radar, but what are the biggest hurdles to overcome at the moment?
To get the discussion going, here's my understanding of the problem: when you build an executable, you need to know the object dependencies, and you need to know the order of the dependencies. Poac currently doesn't support building libraries, but that doesn't seem like a huge hurdle unless I'm missing something.
So then:
1 seems trivial(?). Effectively we just need to run
ar
. I don't think worrying about shared libraries is necessary yet.2 seems also not too hard, though we need to make sure we specify the libraries in the correct order. We also need to be able to resolve where the library will be generated so that we can use it in the master Makefile. I'm guessing the best solution would be to keep all the Makefiles separate. I'd like some input as I'm going to be shifting focus to this until it's in a usable state!
Beta Was this translation helpful? Give feedback.
All reactions