💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2023-09-16.txt captured on 2024-06-16 at 13:28:29.
⬅️ Previous capture (2023-11-04)
-=-=-=-=-=-=-
[2023-09-16T01:57:26Z] <Doomking> I was wondering how I can turn my compiled packages into a binary? [2023-09-16T01:58:45Z] <Doomking> also can i build a package in a kiss vm, and then turn that into a binary package? [2023-09-16T04:36:25Z] <sad_plan> Doomking: kiss creates those for you. you prebuilt packages by default will be in $HOME/.cache/kiss/bin/ [2023-09-16T04:36:59Z] <sad_plan> those packages can be shared with other systems if you like. just remember to build them with generic flags. else others might not be able to run them [2023-09-16T07:23:07Z] <Doomking> sad_plan: can you give me an example of a generic flag? I have seen a github of some kiss binary, but unsure where they put the packages to download it. like do they put the packages on their own server or github? since github only allows a limited size [2023-09-16T07:23:31Z] <Doomking> wouldn’t a normal kiss b have generic flag? [2023-09-16T07:27:14Z] <sad_plan> use those which came with kiss initially. CFLAGS="-mtune=generic -march=x86_64" [2023-09-16T07:27:38Z] <sad_plan> kiss uses w/e flags youve put in your .profile, or shrc files [2023-09-16T07:27:43Z] <sad_plan> or exported in that terminal [2023-09-16T07:29:08Z] <sad_plan> so no, just doing kiss b wont give you any generic flags. infact, if youve set no flags, by default, youd have no flags at all set besides w/e the package youre building has already set themselfes [2023-09-16T07:41:12Z] <Doomking> Oh I see, my flag was export CFLAGS="-march=native -Os" [2023-09-16T07:41:22Z] <Doomking> I’ll need to edit it to make it generic [2023-09-16T07:41:52Z] <Doomking> btw is there any performance impact from having a generic flag? [2023-09-16T07:47:13Z] <sad_plan> you dont have to, unless you plan on sending your tarballs to other people. but sure. ive seen others having generic flags by default. [2023-09-16T07:47:30Z] <sad_plan> performance, yeah probably, but would it be noticable? probably not [2023-09-16T07:48:54Z] <Doomking> oh, so the generic flag is for other people’s machine, but if the tarbell is for my own machine then i don’t need it [2023-09-16T07:49:15Z] <Doomking> i’ll test it out with a vm and see if the binary package can be installed onto my laptop [2023-09-16T07:49:30Z] <Doomking> hopefully there won’t be any errors, but who knows [2023-09-16T07:49:50Z] <sad_plan> generic flags is so that it works for everyone. if youve set -mtune=native -march=native, it might not work for others [2023-09-16T07:50:18Z] <sad_plan> a vm or not, it should still work on the same machine, regardless if youve set native flags. because youre still running on same hardware [2023-09-16T07:55:46Z] <Doomking> gotcha [2023-09-16T07:56:16Z] <Doomking> i think it’s best to use a stronger machine to compile than to let my n3060 cpu do it 💀 [2023-09-16T07:56:48Z] <Doomking> it’s basically the same as a raspberry pi 4 model B cpu lol [2023-09-16T08:01:31Z] <sad_plan> well yeah, if you have a better performing one, youd probably be better off with using that to compile instead, and just copy everything over to the weakest one [2023-09-16T08:09:05Z] <Doomking> And just wondering, you can also have a binary package in the depends file of a binary package as well right? [2023-09-16T08:09:30Z] <Doomking> For example, installing a xorg-server with cmake and llvm binaries in the depends should work right? [2023-09-16T08:11:37Z] <sad_plan> youre overthinking this way too much [2023-09-16T08:12:43Z] <sad_plan> if a package is already built. all you have to do is install it. now it works. aslong as it isnt built with hardware specific flags that just dont work with the hardware youre using it on. hence generic flags [2023-09-16T08:18:04Z] <Doomking> I understand now [2023-09-16T08:18:21Z] <Doomking> Yeah, I need to stop worrying and overthinking [2023-09-16T22:59:13Z] <asimovsh> Hey guys [2023-09-16T22:59:16Z] <asimovsh> Need help [2023-09-16T22:59:56Z] <asimovsh> Get a new laptop and i don't remember how i can find my video cards firmwares