Gentoo Archives: gentoo-user

From: "Attila Boczkó" <xbx7336@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Contribution: Python C Code builder, Simple Build
Date: Thu, 20 Jan 2022 16:27:14
Message-Id: CADfVOs4HRUFemQ+Mq-=cOT6T6Yp0n3-BCSC19jFnd_mEFd8gJg@mail.gmail.com
1 Dear Gentoo Users Developers!
2
3 I would like to send a little python program that runs GCC to compile the C
4 code. The C Code can put multiple sub directories in the main SRC
5 directory. The python code uses os.walk method to find all C Code files and
6 pass it to GCC.
7
8 The pkg-config program used to find out how to name the library to pass it
9 to the GCC compiler.
10
11 The program builds only one binary with the one build file.
12
13 The build file have to be the following configuration options:
14 [ConfigSection]
15 ProjectName="MariaDB-C-Connect-2"
16 LinkLibrary=["libmariadb"]
17 SourceDirectory="SRC_DIR_MDB_1"
18 BuildBinaryName="execute-MariaDB-C-1"
19 ===
20
21 I think this is so minimal. :)
22
23 See the attached file for the program.
24
25 Sincerely xbx.

Attachments

File name MIME type
PyCCodeBuilder_SimpleBuild.tar.gz application/gzip

Replies

Subject Author
Re: [gentoo-user] Contribution: Python C Code builder, Simple Build Matt Connell <matthewdconnell@×××××.com>