16 November 2022, 20:28 | #1 |
Registered User
Join Date: Aug 2018
Location: Beirut / Lebanon
Posts: 93
|
Slave compilation from source
In the interest of fun and learning experiments, I've decided to setup a winuae dev box so that I can compile whdload source files from the game I own or downloaded.
I have setup the dev environment under os3.2.1, setup all the includes, libs, from the 3.2 SDK, as well as added the whdload custom libs and lvos from the site. I installed Barfly, ran it against a slave, say tv sports basketball (which was written in Barfly, so it says in the source) and it compiled without a hitch. I then tried to compile Midwinter, but got many errors in Barfly. I then tried to install asm-one, tried it there, and receive another set of totally different errors. My question is this : is there a standard way of setting up my devbox so I can re-compile any slave I want , without having to modify the code ? Thanks |
16 November 2022, 21:17 | #2 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,196
|
generally slaves will compile with Barfly (I used that, and so did Bert IIRC). I recommend vasm on Windows though... That's how I create all my new versions of slaves.
If you need to build a particular slave where you have issues, please expose the issues here. Sometimes we don't have the source anymore, or some custom includes are missing (Girv slaves), but everything can be fixed. If you want to help with slave issues or add stuff, be our guest. https://mantis.whdload.de is full of unassigned issues, or even assigned but not solved. If the assignee/author is active, I suggest getting in touch with them for first release, though. |
16 November 2022, 23:01 | #3 |
Moderator
Join Date: Sep 2004
Location: France
Age: 50
Posts: 4,277
|
i use Barfly + CygnusEd 4.2 (68020+)
|
16 November 2022, 23:31 | #4 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,196
|
|
16 November 2022, 23:58 | #5 |
Moderator
Join Date: Sep 2004
Location: France
Age: 50
Posts: 4,277
|
|
17 November 2022, 00:22 | #6 |
Moderator
Join Date: Sep 2004
Location: France
Age: 50
Posts: 4,277
|
hto be more exact here is my real development environment
|
17 November 2022, 08:52 | #7 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,994
|
I use Devpac on my own stuff, invariably PHXass on other peoples source if its picky.
|
17 November 2022, 09:38 | #8 |
Registered User
Join Date: Aug 2018
Location: Beirut / Lebanon
Posts: 93
|
merci beaucoup @jotd et @CFou!. point taken regarding the bugtracker and posting issues here.
|
30 September 2023, 12:30 | #9 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,196
|
Angus wanted to get into the whdload adventure and it was difficult for him to start from the ground up with zero-knowledge of build tools (not even talking about assembly, because even if you know assembly you may have a hard time building on windows)
So I created an easy plug-n-play archive (windows only, but easily adaptable to linux) with vasm & make, with system includes & whdload includes, with Worms slave (kickemu) that builds into a slave with one click on "build.bat". No installation, no configuration, portable. It's here, enjoy. https://www.dropbox.com/scl/fi/gm9gz...8i3vlggns&dl=0 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using octamed as a slave | Kola | New to Emulation or Amiga scene | 3 | 10 April 2021 20:36 |
Slave for WorkBench | Retro1234 | project.WHDLoad | 36 | 02 May 2020 10:59 |
Slave Update | CmdrVimes | project.WHDLoad | 3 | 19 December 2018 13:30 |
First Slave problem | BippyM | project.WHDLoad | 114 | 06 March 2007 22:03 |
Who hides behind the handle "Source / The Source"? | andreas | Retrogaming General Discussion | 15 | 04 January 2005 16:02 |
|
|