L
L
leventov2015-10-23 00:03:20
C++ / C#
leventov, 2015-10-23 00:03:20

How are cross-platform C libraries being developed in 2015?

Initial: I want to make a small C library, the purpose of which is mainly to connect to languages ​​\u200b\u200blike Python / Go through bindings. But also a separate use. I would like to be able to use it with Windows, Linux and OS X. Perhaps the library will have dependencies.
I'm a little out of touch with C development, so the questions are stupid:
1) What should be done in this case for cross-platform? Compiling gcc and ... what else?
2) What assembly tool is in vogue now?
3) In what environment to develop under Windows?
4) What about dependencies? Do users still have to manually configure them from source?
In general, in general, did development in C acquire a human face by 2015, or not yet?
P.S. By the way, can anyone say something abouthttps://docs.gradle.org/current/userguide/nativeBi... ? For Java Gradle, this is the best tool. Or in the harsh world of C, these hipster Groovy-based build systems do not work, only make scripts?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
MiiNiPaa, 2015-10-23
@MiiNiPaa

1) GCC and... everything. You can also check clang, but there are no more normal developing C compilers like (Microsoft's C compiler is a rarity, unlike their C ++ compiler)
2) Сmake
3) Notepad. You can try Eclipse, it seems to be cross-platform, but I feel that the installation and configuration will be painful.
4) Cmake. I wrote the script once, everyone uses it.

O
Oleg Tsilyurik, 2015-10-23
@Olej

3) In what environment to develop under Windows?

None. Everything that is connected with C in Windows - through the ass.
Well, yes...
Actually, developments in C have had a human face for 40 years already...
...
Why didn't make make you happy?

D
deleted-StrangerInRed, 2015-10-30
@deleted-StrangerInRed

Clion (CMake + Idea) full crossplatform

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question