Author Topic: adding in library when building the C program??  (Read 3158 times)

0 Members and 1 Guest are viewing this topic.

Offline Colonel_Panic

  • Newbie
  • Posts: 54
    • View Profile
adding in library when building the C program??
« on: December 26, 2021, 06:45:08 pm »
I am (maybe) learning how to ask what i actually "want".

look at the following short text? Doesnt matter WHAT it is, whats important, is the part where they explain "this is so we BUILD the executable, and it contains everything, because we want it to run without any external libraries..." (paraphrasing)

Because the 'building' is just compiling a C program, its linux

I want the... "graphics stack" (??) compiled "into" a regular C program??

I want to have the QB64 "graphics commands" available for use when I execute, can i put the stuff in there at compile time? so I dont have to depend on some "window manager application"?

because right now, I need a certain "amount" (size...) of linux to be able to run graphics executables on it.... cant i just "bind" the damned graphics commands" into a (bigger) c-compilation?

I know I am not asking the exact right questions, but, maybe now you guys will have some perhaps better idea what I am asking for.

Offline Colonel_Panic

  • Newbie
  • Posts: 54
    • View Profile
Re: adding in library when building the C program??
« Reply #1 on: December 26, 2021, 06:53:03 pm »
Heres the short text excerpt I was talking about...

QUOTE
  This command creates new ".config" file, which contains the defaults for proper
   Busybox build process. Again, nothing extraordinary here.
   
      sed -i "s/.*CONFIG_STATIC.*/CONFIG_STATIC=y/" .config
   
   The command above is very important, because we inform the build process to build
   a static version of Busybox, meaning that the Busybox executable file will not
   be dependent on any external library. We cannot skip this step, otherwise our OS will
   fail with "kernel panic" when we try to boot.
   
      make busybox
   
   The command above compiles Busybox. Nothing interesting here. The build should be
   significantly faster compared to the kernel build.

Offline Colonel_Panic

  • Newbie
  • Posts: 54
    • View Profile
Re: adding in library when building the C program??
« Reply #2 on: December 26, 2021, 07:40:36 pm »
Hm.
apparently, after looking at lists of window managers,
I'm looking for something really basic...

I dont even want stackable/tileable window management, I dont think.

All i want, is ONE window, "desktop size"... and I can put what I want
with graphics commands ON that one screen.


Offline Colonel_Panic

  • Newbie
  • Posts: 54
    • View Profile
Re: adding in library when building the C program??
« Reply #3 on: December 26, 2021, 08:04:50 pm »