Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
1 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 1

more...

Browsing this Thread:   1 Anonymous Users



« 1 2 (3) 4 5 »


Re: Error linking binary - Milkytracker for AROS ABI-v1

Joined:
2016/8/9 0:17
From Sweden
Group:
Member
Posts: 28
Offline
I am trying to set up an ABI-v0 cross compiler to get it to run on the various distros currently available, but I'm running into issues compiling the ancient gcc used for cross compiles in ABI-v0. :/

Posted on: 5/7 3:55
Transfer the post to other applications Transfer


Re: Error linking binary - Milkytracker for AROS ABI-v1

Joined:
2007/4/16 6:26
From Norway
Group:
Member
Posts: 4172
Offline
Marlon: Works good for me too now. Thx for the AROS version :)

Posted on: 5/7 11:22
_________________
www.aspireos.com
Transfer the post to other applications Transfer


Re: Error linking binary - Milkytracker for AROS ABI-v1

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1365
Offline
marlon, can you check if in line 16 of src/compression/unlzx.cpp

static unsigned char *version_string

can be converted to

static const char *version_string

and if this is fine for other systems?

Posted on: 5/10 11:06
Transfer the post to other applications Transfer


Re: Error linking binary - Milkytracker for AROS ABI-v1

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1365
Offline
btw what compiler are you using? bebbos 6.x?
aros one doenst seem to understand
#pragma optimize("", on) (and off)

and another question, it relies on drivers/sdl/AudioDriver_SDL.h

Posted on: 5/10 11:40

Edited by wawa on 2018/5/10 12:02:15
Transfer the post to other applications Transfer


Re: Error linking binary - Milkytracker for AROS ABI-v1

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1365
Offline
to answer myself morning later:

Quote:

#pragma optimize("", on) (and off)


#should probably be
#pagma GCC optimize

and another question, it relies on drivers/sdl/AudioDriver_SDL.h[/quote]

no, should rely on AudioDriver_AHI, based on above, but it needs some love to compile with aros.

Posted on: 5/11 2:06
Transfer the post to other applications Transfer


Re: Error linking binary - Milkytracker for AROS ABI-v1

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1365
Offline
btw the code generates lots of warnings among others reorder and delete-non-virtual-dtor, i started to fix, but got tired with it and in the end simply added ignore flags. i think the code will either be fixed upstream one day or not at all so ill revert these changes, otherwise my patch will become completely blown out of proportion.

im building with cmake in one go. the makefile and conservative cmake file changes are almost ready. i need to get that ahi interface compile and fight the linking issues later.

Posted on: 5/11 2:10
Transfer the post to other applications Transfer


Re: Error linking binary - Milkytracker for AROS ABI-v1

Joined:
2010/8/30 7:20
Group:
Member
Posts: 1365
Offline
so, the changes and the makefile is ready. milkytracker compiles and seems to work on x86 abiv1. couldnt test if it actually plays anything as i have no sound enabled. it compiles for m68k as well but for some reason i cant tell atm the exe doesnt seem to load.

diff in attachment.

Attach file:


diff mt.diff Size: 9.00 KB; Hits: 10

Posted on: 5/11 10:53
Transfer the post to other applications Transfer


Re: Error linking binary - Milkytracker for AROS ABI-v1

Joined:
2016/8/9 0:17
From Sweden
Group:
Member
Posts: 28
Offline
the AHI thing is totally unfinished, use the SDL one. I use bebbo's gcc6 for 68k. unsure if the version string can be a constant, but could be possible.

Posted on: 5/11 11:11
Transfer the post to other applications Transfer


Re: Error linking binary - Milkytracker for AROS ABI-v1

Joined:
2016/8/9 0:17
From Sweden
Group:
Member
Posts: 28
Offline
And there's a reason I use premake instead of cmake... Cmake relies in SDL2. I made lots of edits to the source to keep the SDL1.2 compatibility, and CMake does not account for that at all.

Posted on: 5/11 11:13
Transfer the post to other applications Transfer


Re: Error linking binary - Milkytracker for AROS ABI-v1

Joined:
2016/8/9 0:17
From Sweden
Group:
Member
Posts: 28
Offline
All Amiga based fixes in my Milkytracker source falls under the define __AMIGA__ and AMIGA. And I add define AROS and __AROS__ to that for AROS specific code.

One does not exclude the other.

Posted on: 5/11 11:16
Transfer the post to other applications Transfer



« 1 2 (3) 4 5 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4454
2 nikolaos
nikolaos
4172
3 magorium
magorium
4095
4 phoenixkonsole
phoenixkonsole
3942
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2809
7 mazze
mazze
2222
8 clusteruk
clusteruk
2113
9 damocles
damocles
1789
10 BSzili
BSzili
1530
© 2004-2018 AROS Exec