![]() |
![]() |
#361 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
|
|
![]() |
![]() |
#362 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Awesome! Thanks =)
|
![]() |
![]() |
#363 |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
It's been a while since I did some testing, so I'd like to get in on this compiling MilkyTracker thing.
![]() I've cloned this git repo: https://github.com/milkytracker/MilkyTracker But I don't see any makefile, only a cmake directory, so I'm confused. How do I compile this? (cygwin-32/win7-64) |
![]() |
![]() |
#364 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
it requires premake4 to create the makefile. I'm not done with optimizations, so currently it only runs at a decent speed in UAE-JIT 040. Just fyi. Browsing files inside milkytracker doesn't work either, so you have to load files from commandline. So it's far from usable at this point. My plan is to "remove" SDL and add in CGX RTG support instead and go straight for AHI myself, in hopes for getting some improvements by removing overhead. I'd like it to at least run on a Vampire accelerated Amiga in a foreseeable future. Last edited by Marlon_; 20 June 2017 at 20:30. |
|
![]() |
![]() |
#365 | |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
Quote:
Code:
$ ./build_gmake ./build_gmake: regel 2: premake4: opdracht niet gevonden |
|
![]() |
![]() |
#366 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
I have included premake4 and premake4.exe, first being for linux, second for windows. You just need to modify the build_gmake file to run the included executable. But this is off topic discussion, if you need further help, send me a PM. |
|
![]() |
![]() |
#367 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
And I added a new switch: --mytools Code:
./toolchain-m68k build --mytools --threads 8 --prefix /opt/amiga >& b.log => speeds up build process :-) |
|
![]() |
![]() |
#368 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Hah! Gotcha
![]() Oh, so if I only need to update gcc and no other surrounding tools, --mytools will suffice? But the linker and stuff still gets built, right? |
![]() |
![]() |
#369 |
Registered User
Join Date: May 2017
Location: Belgium
Age: 50
Posts: 334
|
|
![]() |
![]() |
#370 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Hmm, still get "Program aborted" with -O1, -O2 and -O3, then UAE locks up.
Do you get it to run after it's compiled? |
![]() |
![]() |
#371 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
It dies at SDL_SYS_CreateThread, because DOSBase is 0. And DOSBase is not an alias for __DOSBase which is initialized... |
|
![]() |
![]() |
#372 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
![]() EDIT: How do you debug by the way? I need to sort that out so I can develop this properly. |
|
![]() |
![]() |
#373 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
hm - I dislike the linker - library order matters a lot
-> will check the link specs and compare with previous versions... ... and then math stuff will break again ... /sigh |
![]() |
![]() |
#374 | |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
I unfortunately know nothing about that stuff and am afraid I would just break it further. :P Do you have a patreon or something to show you support? |
|
![]() |
![]() |
#375 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
OK - I tries different older revisions - and none worked out. Always the same crash.
SDL-1.2.15.lha is crashing. Then I tried a different libSDL.a and finally an empty window shows up plus some complaints in the console window about a missing audio device... Which libSDL.a is the correct one to use? |
![]() |
![]() |
#376 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
PUSH should I get more than this complaint? "SDL: failed to open audio device! ..."? with my UAE? And consider using Code:
-fno-rtti -fno-exceptions |
|
![]() |
![]() |
#377 | ||
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
Quote:
What I get when I start the application is an actual SDL window, the "intro"-screen, then when it's supposed to show the actual program contents I get "Program aborted" and the SDL window just stays. Quote:
Thanks for the tip! |
||
![]() |
![]() |
#378 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
Now I have an empty window - no abort - no complaints. Do I need further libraries? |
|
![]() |
![]() |
#379 |
AmigaDev.com
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
|
only the ones stated in my github repo readme. I get the MilkyTracker logo in the window, that then fades out to black and should show the actual tracker interface. But when it's supposed to show the tracker interface it aborts.
I haven't tried your latest changes yet though. ![]() |
![]() |
![]() |
#380 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
And btw: I am using my old old old hard disk image which I was using 20+ years ago on my A2000/040 then A3000/030 - don't ask but there are loads of libs in ancient versions... ... maybe I should setup a new vanilla wb... PS: new there is now a milkytracker_config file |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New GCC based dev toolchain for AmigaOS 3.x | cla | Coders. Releases | 8 | 24 December 2017 10:18 |
Issue with photon/xxxx WinUAE Toolchain | arpz | Coders. Asm / Hardware | 2 | 26 September 2015 22:33 |
New 68k gcc toolchain | arti | Coders. C/C++ | 17 | 31 July 2015 03:59 |
Hannibal's WinUAE Demo Toolchain 5 | Bobic | Amiga scene | 1 | 23 July 2015 21:04 |
From gcc to vbcc. | Cowcat | Coders. General | 9 | 06 June 2014 14:45 |
|
|