Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Cross Development using Makefile
2013-01-25 14:45
Burglar

Registered: Dec 2004
Posts: 1027
Cross Development using Makefile

Weekend didn't even start for most of you yet, but here it is ;)

Cross Development using Makefile

comments and improvements are of course very welcome.

enjoy and may your build times be short!

make -j16
 
... 37 posts hidden. Click here to view all posts....
 
2022-08-16 15:41
Bacchus

Registered: Jan 2002
Posts: 154
@krill - of course. I am exploring moving away from bat files.

@groepaz - This is under Windows 11 and my shell has support for MAKE via the Embarcadero installation of Delphi I have. So MAKE work without any additional installation for me (I do have MSYS2 for building VICE as I presume you already know ;-)

The particular issue I had with segments in KickAssembler was solved. In the makefile define the address of where the patch is (so I can reuse that address for the calling address of the cruncher) and then the general build of the "import binary, patch and save a patched copy" is like this:

*=$0801

.segmentout [allowOverlap=true, segments="themain,themainpatch"]

.segment themain []

* = $0801

.import c64 "depacked/x.prg"

.segment themainpatch []

*=cmdLineVars.get("InsertCode").asNumber(16)
2022-08-16 19:33
hollowman

Registered: Dec 2001
Posts: 474
Quote: Quote:
Just to say it once: Forget the advice about cygwin. These days please use msys2 - which is nicer in every aspect.


anyone tried that jizzle with WSL2 with, say, debian? should even work with starting WinVice on the desktop!?


Yes, running Vice on the Windows desktop using WSL2 works fine for me so far. I use Windows 11 with WSL2 and Ubuntu 20 as Linux distribution.

And for development you can use Visual Studio Code with the remote WSL extension, so you have the VS Code UI running on the Windows desktop and the VS Code Server and your command line tools running under Linux in WSL2.
2022-08-16 21:05
chatGPZ

Registered: Dec 2001
Posts: 11088
Doesnt VS Code run in WSL2?
2022-08-16 21:29
Danzig

Registered: Jun 2002
Posts: 428
Quote: Doesnt VS Code run in WSL2?

No, worse, Electron app alias Browser :-D
2022-08-16 21:37
chatGPZ

Registered: Dec 2001
Posts: 11088
*gets the garlic out*
2022-08-16 22:13
hollowman

Registered: Dec 2001
Posts: 474
Quote: Doesnt VS Code run in WSL2?

When running VS Code in WSL2 the VS Code server is running in WSL2, while the UI on the Windows desktop is the regular VS Code for Windows application acting as a client.


When running Vice in WSL2 the UI on the Windows desktop is an RDP session into the WSLg X/Wayland/Pulse Audio server.
2022-08-16 22:41
Silver Dream !

Registered: Nov 2005
Posts: 107
Quote: When running VS Code in WSL2 the VS Code server is running in WSL2, while the UI on the Windows desktop is the regular VS Code for Windows application acting as a client.


When running Vice in WSL2 the UI on the Windows desktop is an RDP session into the WSLg X/Wayland/Pulse Audio server.


Is there any special reason for doing this kind of things instead of simply running GNU/Linux? Even in a VM if for some Very Important Reasons somebody cannot live w/o Windows on their machines?
2022-08-17 10:43
Krill

Registered: Apr 2002
Posts: 2804
Quoting Silver Dream !
Is there any special reason for doing this kind of things instead of simply running GNU/Linux? Even in a VM if for some Very Important Reasons somebody cannot live w/o Windows on their machines?
Boggles the mind. Besides, native Windows builds of make and other relevant *NIX tools exist, as mentioned above. =)
2022-08-17 21:23
Silver Dream !

Registered: Nov 2005
Posts: 107
Quoting Krill
Besides, native Windows builds of make and other relevant *NIX tools exist

Right. And not since yesterday either. I remember even in my (and Oliver's) "Universal Makefile" effort was put to make it compatible with native [GNU] make on Windows and it's been over a decade ago :-)

https://wiki.cc65.org/doku.php?id=cc65:project_setup
2022-08-17 21:33
chatGPZ

Registered: Dec 2001
Posts: 11088
It also shows some of the horrors you encounter when dealing with make on cmd.exe :)
Previous - 1 | 2 | 3 | 4 | 5 | 6 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
deetsay
Mason/Unicess
Perff/No Name
fandenvoldsk
Bansai/BSILabs
Jucke
Doc Snyder/ONS
hedning/G★P
Guests online: 327
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Fullscreen Graphicians
1 Carrion  (9.8)
2 Joe  (9.8)
3 Duce  (9.8)
4 Mirage  (9.7)
5 Facet  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.054 sec.