public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Mini build while experimenting with C programming?
@ 2024-12-22  1:25 jon
  2024-12-22 10:17 ` Matthias Fischer
  2024-12-23 11:23 ` Michael Tremer
  0 siblings, 2 replies; 3+ messages in thread
From: jon @ 2024-12-22  1:25 UTC (permalink / raw)
  To: development

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

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 am in the early stages of C programming and I am making lots of errors.  And so 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 one.  But running gcc throws lots of errors.

Can you get me started?

Merry Christmas all,  
Jon



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

end of thread, other threads:[~2024-12-23 11:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-22  1:25 Mini build while experimenting with C programming? jon
2024-12-22 10:17 ` Matthias Fischer
2024-12-23 11:23 ` Michael Tremer

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