Page 1 of 1

A beginner wrestles with make (etc) (SOLVED)

Posted: Sun May 21, 2023 11:32 am
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


Re: A beginner wrestles with make (etc)

Posted: Sun May 21, 2023 11:50 am
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.


Re: A beginner wrestles with make (etc)

Posted: Sun May 21, 2023 11:51 am
by p310don

Do you have the devx installed?

Usually make and other compiling bits and pieces are there.


Re: A beginner wrestles with make (etc)

Posted: Mon May 22, 2023 9:07 am
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.


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

Posted: Mon May 22, 2023 10:37 am
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. ;)