From mboxrd@z Thu Jan 1 00:00:00 1970 From: jon <jon.murphy@ipfire.org> To: development@lists.ipfire.org Subject: Mini build while experimenting with C programming? Date: Sat, 21 Dec 2024 19:25:29 -0600 Message-ID: <57FC3509-B2F7-4F9A-B83D-131180796AA7@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8351318463557568186==" List-Id: <development.lists.ipfire.org> --===============8351318463557568186== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable All, Is there a way to compile a C program and not run the entire ipfire `make.sh = build`. And include the various ipfire `#include` items? I am attempting to compile an `rpzctrl.c` file for the `rpz.cgi` webgui. I a= m in the early stages of C programming and I am making lots of errors. And s= o each iteration of C code takes 2-3 hours for a `make.sh build`. I'd like to do something like: ``` gcc -I ./build_x86_64/usr/include rpzctrl2.c -o rpzctrl ``` I don't know which `include` files directory to reference so I just picked on= e. But running gcc throws lots of errors. Can you get me started? Merry Christmas all, =20 Jon --===============8351318463557568186==--