Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
124 user(s) are online (88 user(s) are browsing Forums)

Members: 0
Guests: 124

more...

Support us!

Headlines

 
  Register To Post  

« 1 2 (3)
Re: A1222 support in the SDK and problems
Just popping in
Just popping in


See User information
@Maijestro

The log file is in ffbuild/config.log.

That is not a standard location, normally it should be in the same directory where you ran configure.

Go to top
Re: A1222 support in the SDK and problems
Quite a regular
Quite a regular


See User information
@FlynnTheAvatar

Quote:
FlynnTheAvatar wrote:@Maijestro

The log file is in ffbuild/config.log.

That is not a standard location, normally it should be in the same directory where you ran configure.


Ok I tried again with version 6.1.1 of FFMPEG and get the following error message "Unknown OS 'amigaos'." probably I have to set a target.

But it doesn't matter at the moment as long as I can't build the compile with "SPE" optimizations at all. The normal compile would make no sense here as there is already a FFMPEG version 6.1.1 on Os4Depot.

log FFMPEG Build:

mktemp -u XXXXXX
configure
[4590]: mktempnot found
test_ld cc
test_cc
BEGIN 
/T/ffconf....1783026048/test.c
    1    int main
(void){ return 0; }
END /T/ffconf....1783026048/test.c
gcc 
--/T/ffconf....1783026048/test./T/ffconf....1783026048/test.c
gcc 
-/T/ffconf....1783026048/test /T/ffconf....1783026048/test.o
check_cxxflags 
-std=c++11
test_cxx 
-std=c++11
BEGIN 
/T/ffconf....1783026048/test.cpp
    1    int x
;
END /T/ffconf....1783026048/test.cpp
g
++ -D_ISOC99_SOURCE -D__STDC_CONSTANT_MACROS -std=c++11 --/T/ffconf....1783026048/test./T/ffconf....1783026048/test.cpp
test_cflags_cc 
-std=c11 ctype.h __STDC_VERSION__ >= 201112L
test_cc 
-std=c11
BEGIN 
/T/ffconf....1783026048/test.c
    1    
#include <ctype.h>
    
2    #if !(__STDC_VERSION__ >= 201112L)
    
3    #error "unsatisfied condition: __STDC_VERSION__ >= 201112L"
    
4    #endif
END /T/ffconf....1783026048/test.c
gcc 
-D_ISOC99_SOURCE -std=c11 --/T/ffconf....1783026048/test./T/ffconf....1783026048/test.c
check_cppflags 
-D_FILE_OFFSET_BITS=64
test_cpp 
-D_FILE_OFFSET_BITS=64
BEGIN 
/T/ffconf....1783026048/test.c
    1    
#include <stdlib.h>
END /T/ffconf....1783026048/test.c
gcc 
-D_ISOC99_SOURCE -std=c11 -D_FILE_OFFSET_BITS=64 --/T/ffconf....1783026048/test./T/ffconf....1783026048/test.c
check_cppflags 
-D_LARGEFILE_SOURCE
test_cpp 
-D_LARGEFILE_SOURCE
BEGIN 
/T/ffconf....1783026048/test.c
    1    
#include <stdlib.h>
END /T/ffconf....1783026048/test.c
gcc 
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -std=c11 -D_LARGEFILE_SOURCE --/T/ffconf....1783026048/test./T/ffconf....1783026048/test.c
check_host_cflags 
-std=c99
test_host_cc 
-std=c99
BEGIN 
/T/ffconf....1783026048/test.c
    1    int x
;
END /T/ffconf....1783026048/test.c
gcc 
-std=c99 --/T/ffconf....1783026048/test./T/ffconf....1783026048/test.c
check_host_cflags 
-Wall
test_host_cc 
-Wall
BEGIN 
/T/ffconf....1783026048/test.c
    1    int x
;
END /T/ffconf....1783026048/test.c
gcc 
-std=c99 -Wall --/T/ffconf....1783026048/test./T/ffconf....1783026048/test.c
check_host_cflags 
-O3
test_host_cc 
-O3
BEGIN 
/T/ffconf....1783026048/test.c
    1    int x
;
END /T/ffconf....1783026048/test.c
gcc 
-std=c99 -Wall -O3 --/T/ffconf....1783026048/test./T/ffconf....1783026048/test.c
test_code cc  int test
[2*(sizeof(void *) > 4) - 1]
test_cc
BEGIN 
/T/ffconf....1783026048/test.c
    1    int main
(void) { int test[2*(sizeof(void *) > 4) - 1]; return 0; }
END /T/ffconf....1783026048/test.c
gcc 
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c11 --/T/ffconf....1783026048/test./T/ffconf....1783026048/test.c
/T/ffconf....1783026048/test.cIn function 'main':
/
T/ffconf....1783026048/test.c:1:22errorsize of array 'test' is negative
 int main
(void) { int test[2*(sizeof(void *) > 4) - 1]; return 0; }
                      ^~~~
Unknown OS 'amigaos'.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne A1222plus AmigaOs4.1 FE
Go to top
Re: A1222 support in the SDK and problems
Just can't stay away
Just can't stay away


See User information
@Maijestro, but if you build "without SPE" it builds correctly?

if yes, the it's a matter to "find" the correct "switches/options". but no friggin' idea TBH.

Go to top
Re: A1222 support in the SDK and problems
Quite a regular
Quite a regular


See User information
@jabirulo

Quote:
jabirulo wrote:@Maijestro, but if you build "without SPE" it builds correctly?

if yes, the it's a matter to "find" the correct "switches/options". but no friggin' idea TBH.


Yes, I wanted to build it for testing purposes with a simple "./configure" without SPE optimized functions, but even that fails.

I'm also not sure if after ",/configure" further options like "-taget amigaos" or similar have to be specified.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne A1222plus AmigaOs4.1 FE
Go to top
Re: A1222 support in the SDK and problems
Home away from home
Home away from home


See User information
@Maijestro

Configure is Lnux sh script,
AmigaOS is barely an existing OS.
you might need to generate makefiles for linux
target or posix and modify the makefile and makefile.in etc script as needed.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: A1222 support in the SDK and problems
Quite a regular
Quite a regular


See User information
@all

Ok I give up, the best would probably be a cross compiler over Linux, but I only have the possibility to use MacOs, so I'm out for now.

If there is someone who could provide a clip4 version of FFMPEG including "SPE" optimization that would be excellent. If not it's ok and I'll use the things as they are available.

Thanks anyway everyone for the help.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne A1222plus AmigaOs4.1 FE
Go to top
Re: A1222 support in the SDK and problems
Just can't stay away
Just can't stay away


See User information
@Maijestro
dont give up!!!
I know is a pita sometimes, but...


using crosscompiler (via docker or whatever):
./configure --host=ppc-amigaos --target=ppc-amigaos

https://www.amigans.net/modules/newbb/viewtopic.php?topic_id=8122

Go to top
Re: A1222 support in the SDK and problems
Not too shy to talk
Not too shy to talk


See User information
@Maijestro

Quote:
If there is someone who could provide a clip4 version of FFMPEG including "SPE" optimization that would be excellent. If not it's ok and I'll use the things as they are available.


I can build you ffplay under SPE with clib4 only with flags under CPU. I don't have access to the A1222 I am not able to make you other things under SPE and even check it.
The code generated under SPE will not work for me.


It is a pity that the A1222 has been announced for so many years, even some people had access to it and nobody was interested in its life after it was released.

Go to top
Re: A1222 support in the SDK and problems
Just popping in
Just popping in


See User information
@smarkusg

It’s released and sells a lot (multiple of tens, maybe hundreds). There’s definitely some interest.

Go to top
Re: A1222 support in the SDK and problems
Just popping in
Just popping in


See User information
Someone has to release a new SDK with full support for A1222 to let new apps, and rebuild of the existing ones, to take advantage of new vector unit, reduce slow fpu emulation and avoid crashes/gurus/grim reapers.
I hope also to have full integration of afx clib in next release.

Memento audere semper!
Go to top
Re: A1222 support in the SDK and problems
Quite a regular
Quite a regular


See User information
@flash

Until recently I used AmigaOs4.1 exclusively on my MacStudio with Qemu and that was for almost 2 years before I bought the A1222. Many things work just as quickly as the experience I had with Qemu.

But of course there are also things that simply work worse, especially when they come into contact with emulation or software that is not compatible. Everything that is ported and used with Clib4 works really well.

I agree with you that a customized SDK for the A1222 will be essential, we should not forget that the A1222 may be the last PPC hardware released for AmigaOs4.1, so I think it is all the more important that the last platform should be supported, even if Tabor's actual call is unfounded. But like everything, it will take time, a lot of time....

So I accept things as they are and I knew there would be limitations anyway, but the box is still really fun.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne A1222plus AmigaOs4.1 FE
Go to top

  Register To Post
« 1 2 (3)

 




Currently Active Users Viewing This Thread: 5 ( 0 members and 5 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project