From: "Attila Boczkó" <xbx7336@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Contribution: Python C Code builder, Simple Build
Date: Thu, 20 Jan 2022 17:12:54 +0100 [thread overview]
Message-ID: <CADfVOs4HRUFemQ+Mq-=cOT6T6Yp0n3-BCSC19jFnd_mEFd8gJg@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 726 bytes --]
Dear Gentoo Users Developers!
I would like to send a little python program that runs GCC to compile the C
code. The C Code can put multiple sub directories in the main SRC
directory. The python code uses os.walk method to find all C Code files and
pass it to GCC.
The pkg-config program used to find out how to name the library to pass it
to the GCC compiler.
The program builds only one binary with the one build file.
The build file have to be the following configuration options:
[ConfigSection]
ProjectName="MariaDB-C-Connect-2"
LinkLibrary=["libmariadb"]
SourceDirectory="SRC_DIR_MDB_1"
BuildBinaryName="execute-MariaDB-C-1"
===
I think this is so minimal. :)
See the attached file for the program.
Sincerely xbx.
[-- Attachment #1.2: Type: text/html, Size: 1022 bytes --]
[-- Attachment #2: PyCCodeBuilder_SimpleBuild.tar.gz --]
[-- Type: application/gzip, Size: 482246 bytes --]
next reply other threads:[~2022-01-20 16:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-20 16:12 Attila Boczkó [this message]
2022-01-21 2:32 ` [gentoo-user] Contribution: Python C Code builder, Simple Build Matt Connell
2022-01-21 4:19 ` Andrew Lowe
2022-01-21 8:50 ` Atharva Amritkar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADfVOs4HRUFemQ+Mq-=cOT6T6Yp0n3-BCSC19jFnd_mEFd8gJg@mail.gmail.com' \
--to=xbx7336@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox