Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
59 user(s) are online (48 user(s) are browsing Forums)

Members: 1
Guests: 58

Raziel, more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 ... 4 5 6 (7)


Re: Porting to AmigaOS4 thread
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5468
@Raziel
Quote:

But, wouldn't this be a bug in ScummVM's Amiga part then?
Or even a bug in the system itself?
Or could it be simply that ScummVM's Amiga part is old enough to have outlived the coding necessaties of the current system?


As Salas00 says its bug in public newlib version. For me Barony also crashes with that IDOS 0x00000000 only on public version of os4 , while didn't on beta ones with newer newlib. So while when i test it localy all works fine, when i release it ppls report crashes , and for make it works on public versions i had to do those workarounds.

In other words, made that change localy for your own builds only, without commiting those changes to scummvm repo, as its bug in our side which already fixed just didn't released.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: Porting to AmigaOS4 thread
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3509
@kas1e

It's already up as PR, but i'll add a note that this behaviour has been fixed in beta and should be removed once this beta has hit the streets.

Thank you very much for the help again

Also thank you to all who contributed

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: Porting to AmigaOS4 thread
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3509
@kas1e

You got PM

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: Porting to AmigaOS4 thread
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3509
@all

So, i have a bunch of shared objects which i want to strip in one go, preferably with only one command.

I read the manual for strip and tried doing it this way
Quote:

strip shareddir/*

which actually seems to work, but it only seems so, as all of the stripped binaries are broken afterwards.

They do have the same size they'd have if i used strip shareddir/sharedlib -o othersubdir/sharedlib, but they are rejected by my program, so i'm assuming something wennt wrong.

My question is:
Is strip shareddir/* supposed to work?
Might that be a bug in our binutils/strip command?
Might it be that on-the-fly stripping/altering of shared libs are not supported or broken?

Is there any other way i could automate the stripping of more than one shared objects WITHIN a makefile?

I know how to do it with "list lformat" and executing the corresponding batch file afterwards, but i'd rather do it in the makefile.

Thanks a lot

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: Porting to AmigaOS4 thread
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3509
Another sh/shell/makedir question

I've got a makedir file which features a
for loop
for p in plugins/*
    do
        echo "strip $p -o amigaospath/$p"
    done


Now, while the above works perfectly in a shell (within a text file, started with "sh test.sh") it errors out in the makefile with
Quote:

for p in plugins/*
T:gmake.sh.256.JEHKAK[1]: syntax error: `for' unmatched

and i'm puzzled as to why?

Any pointers?

Thank you

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: Porting to AmigaOS4 thread
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3509
@Raziel

I *think* i know the reason.

While processing the makefile a temporary file is created in T: and it seems that the for loop holds just the first line instead of the four that needs to be processed.

It errors because the one line does not match a complete loop.
Need to find a way to pack everything in one line then.

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: Porting to AmigaOS4 thread
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3509
@Raziel

This one works with "sh test.sh", but will produce empty $p in the makefile script
for p in plugins/*; do "strip $p -o path/$p"; done


Edit:
Hmm, something fishy is going on here.

With this line
for _plugin in plugins/*; do "echo $_plugin"; done

i get this output
Quote:

for _plugin in plugins/*; do "echo plugin"; done
T:gmake.sh.249.ZOLVUI[1]: echo plugin: not found


Why is my variable name cut (missing it's leading underscore) instead of it's entry read out?
And who is responsible?
I don't think it's the makefile per se, rather the temporary command in T: seem to cut my variable.

Any help appreciated...


Edited by Raziel on 2019/10/21 13:31:15
Edited by Raziel on 2019/10/21 13:32:05
_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top


« 1 ... 4 5 6 (7)



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project