public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Contribution: Python C Code builder, Simple Build
@ 2022-01-20 16:12 Attila Boczkó
  2022-01-21  2:32 ` Matt Connell
  0 siblings, 1 reply; 4+ messages in thread
From: Attila Boczkó @ 2022-01-20 16:12 UTC (permalink / raw
  To: gentoo-user


[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Contribution: Python C Code builder, Simple Build
  2022-01-20 16:12 [gentoo-user] Contribution: Python C Code builder, Simple Build Attila Boczkó
@ 2022-01-21  2:32 ` Matt Connell
  2022-01-21  4:19   ` Andrew Lowe
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Connell @ 2022-01-21  2:32 UTC (permalink / raw
  To: gentoo-user

On Thu, 2022-01-20 at 17:12 +0100, Attila Boczkó wrote:
> 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.

So, you've reinvented makefiles?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Contribution: Python C Code builder, Simple Build
  2022-01-21  2:32 ` Matt Connell
@ 2022-01-21  4:19   ` Andrew Lowe
  2022-01-21  8:50     ` Atharva Amritkar
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Lowe @ 2022-01-21  4:19 UTC (permalink / raw
  To: gentoo-user

On 21/1/22 10:32 am, Matt Connell wrote:
> On Thu, 2022-01-20 at 17:12 +0100, Attila Boczkó wrote:
>> 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.
> 
> So, you've reinvented makefiles?
> 
> 

	There have been a few "weird" posts lately, authors "Attilla" & "xbx", 
and subjects, amongst others, "Technical Docum....". Is this someone 
trying to contribute or a spam/spear phishing attack?

	Andrew



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Contribution: Python C Code builder, Simple Build
  2022-01-21  4:19   ` Andrew Lowe
@ 2022-01-21  8:50     ` Atharva Amritkar
  0 siblings, 0 replies; 4+ messages in thread
From: Atharva Amritkar @ 2022-01-21  8:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

Andrew: Agreed. Recently people have been sending binaries in mailing list.
On Fri, 21 Jan 2022, 9:49 am Andrew Lowe, <agl@wht.com.au> wrote:

> On 21/1/22 10:32 am, Matt Connell wrote:
> > On Thu, 2022-01-20 at 17:12 +0100, Attila Boczkó wrote:
> >> 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.
> >
> > So, you've reinvented makefiles?
> >
> >
>
>         There have been a few "weird" posts lately, authors "Attilla" &
> "xbx",
> and subjects, amongst others, "Technical Docum....". Is this someone
> trying to contribute or a spam/spear phishing attack?
>
>         Andrew
>
>
>

[-- Attachment #2: Type: text/html, Size: 1264 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-21  8:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-20 16:12 [gentoo-user] Contribution: Python C Code builder, Simple Build Attila Boczkó
2022-01-21  2:32 ` Matt Connell
2022-01-21  4:19   ` Andrew Lowe
2022-01-21  8:50     ` Atharva Amritkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox