A beginner wrestles with make (etc) (SOLVED)

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
cobaka
Posts: 572
Joined: Thu Jul 16, 2020 6:04 am
Location: Central Coast, NSW - au
Has thanked: 94 times
Been thanked: 63 times

A beginner wrestles with make (etc) (SOLVED)

Post by cobaka »

Hello all:

This posting is about make and compiling C code to create an assembler for the 8-bit 6809

Context.
About 8 months ago I down-loaded Lennart Benshop's 6809 'sbc' (single--board computer) program package from git-hub.
I found a bug in the "C" program that built the assembler. Before I wrote code that fixed the bug I put the project aside.
Originally (as I wrote before) that was all done in uPupBB32. Now I am using uPupBB64. Before, when I ran 'make' the whole process of compiling the assembler and then assembling the source (written in 6809 assembly language) produced code I could run under the simulator.

Not now, running the 64-bit OS.
I'm new to using make, "C", (and so on). I think I'm competent in assembly language. But my problem (I think involves interaction between the OS and 'make'). Here is the terminal, looking for 'make':

root# find / -iname 'make'
root#

It appears uPupBB doesn't have make. Is that the case?

When I made the same search using S15 - a 64-bit Slacko puppy - I got:

/etc/file/magic/make
/initrd/pup_ro2/etc/file/magic/make

Repeating: It seems make is missing from uPupBB64. My "Q": should I go back to uPupBB32, or move my programming work to Slacko?
Am I right? Is my problem a missing 'make' utility in uPupBB64? I can say I am a beginner with 'make' and 'C'.

Help appreciated!

cobaka

Last edited by cobaka on Mon May 22, 2023 9:08 am, edited 1 time in total.

собака --> это Русский --> a dog
"c" -- say "s" - as in "see" or "scent" or "sob".

User avatar
Jasper
Posts: 2067
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 854 times
Been thanked: 480 times

Re: A beginner wrestles with make (etc)

Post by Jasper »

Are you referring to GNU Make?

https://www.gnu.org/software/make/

If so, you will find it contained within your build's DevX SFS.

User avatar
p310don
Posts: 356
Joined: Tue Dec 03, 2019 7:17 am
Location: Brisbane, Australia
Has thanked: 72 times
Been thanked: 103 times

Re: A beginner wrestles with make (etc)

Post by p310don »

Do you have the devx installed?

Usually make and other compiling bits and pieces are there.

User avatar
cobaka
Posts: 572
Joined: Thu Jul 16, 2020 6:04 am
Location: Central Coast, NSW - au
Has thanked: 94 times
Been thanked: 63 times

Re: A beginner wrestles with make (etc)

Post by cobaka »

@p310don
Thank you for your help. I'm running uPupBB64 to compile C source. Without devX 'make' does not work.
I found a copy of devX (or devx) here: http://distro.ibiblio.org/puppylinux/pu ... onicpup64/ and downloaded it.
Installation was simple. I put one copy of devx in a safe place (I may need it on another PC) and clicked the original.
That installed (or loaded) devx into the appropriate directory and bingo! Now 'make' works. I'm a happy camper!

Thank you!

cobaka.

собака --> это Русский --> a dog
"c" -- say "s" - as in "see" or "scent" or "sob".

User avatar
mikewalsh
Moderator
Posts: 6155
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 793 times
Been thanked: 1979 times

Re: A beginner wrestles with make (etc) (SOLVED)

Post by mikewalsh »

@cobaka :-

I keep both the DevX and kernel-source packages in their own sub-directory at /mnt/home, alongside all the other Puppy SFS files/kernel, etc. I then just copy it into /mnt/home if I need it, use it, then unload it and delete again.....

You find your own favourite way of doing things, obviously..!

Mike. ;)

Post Reply

Return to “Users”