English Amiga Board


Go Back   English Amiga Board > Other Projects > project.WHDLoad

 
 
Thread Tools
Old 16 November 2022, 20:28   #1
KKR75
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
KKR75 is offline  
Old 16 November 2022, 21:17   #2
jotd
This cat is no more
 
jotd's Avatar
 
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.
jotd is offline  
Old 16 November 2022, 23:01   #3
CFou!
Moderator
 
CFou!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 50
Posts: 4,277
i use Barfly + CygnusEd 4.2 (68020+)
CFou! is offline  
Old 16 November 2022, 23:31   #4
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,196
Quote:
Originally Posted by CFou! View Post
i use Barfly + CygnusEd 4.2 (68020+)

that's what I used when I coded on my Amiga (no emulator). Not bad, but cross compilation is 1000 times better
jotd is offline  
Old 16 November 2022, 23:58   #5
CFou!
Moderator
 
CFou!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 50
Posts: 4,277
Quote:
Originally Posted by jotd View Post
that's what I used when I coded on my Amiga (no emulator). Not bad, but cross compilation is 1000 times better
I'am coding on WinUAE with JIT and a 5900x CPU, it's very fast!!

here is my development environment:
CFou! is offline  
Old 17 November 2022, 00:22   #6
CFou!
Moderator
 
CFou!'s Avatar
 
Join Date: Sep 2004
Location: France
Age: 50
Posts: 4,277
hto be more exact here is my real development environment

CFou! is offline  
Old 17 November 2022, 08:52   #7
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
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.
Galahad/FLT is offline  
Old 17 November 2022, 09:38   #8
KKR75
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.
KKR75 is offline  
Old 30 September 2023, 12:30   #9
jotd
This cat is no more
 
jotd's Avatar
 
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
jotd is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:54.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08057 seconds with 13 queries