Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
109 user(s) are online (65 user(s) are browsing Forums)

Members: 1
Guests: 108

imagodespira, more...

Headlines

Forum Index


Board index » All Posts (AmigaBlitter)




Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@broadblues


sudo chown amidev:users /usr/local/amiga/adtools
chown: cannot dereference '/usr/local/amiga/adtools': No such file or directory

the directory must exist before chown

Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@MickJT

"you should only have to create /usr/local/amiga, and not any adtools directory inside that. Then, a directory symlink called "adtools" can be made there pointing to the original location."

Ah, interesting.

But if i don't create the inner directory /usr/local/amiga/adtools i can't execute the command:

sudo mkdir /usr/local/amiga
sudo chown <your-uwin-username>:users /usr/local/amiga
sudo chown <your-uwin-username>:users /usr/local/amiga/adtools

it gives me an error.

Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@stonecrackerQuote:
sudo ln -s /usr/local/amiga/adtools-ppc-uwin64-20170623-404 /usr/local/amiga/adtools


This symlink exists.

I created the symlink after creating the two directories:

/usr/local/amiga
/usr/local/amiga/adtools

and after "chowning" both for my user. Only after this i can create the symlink without an error. Then i set the export path, by executing it and by inserting it into bashrc file.





Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


Thank you both for the reply

@hans
the path is already showed @ post #80 http://www.amigans.net/modules/xforum ... id=108632#forumpost108632

@broadblues

No, 16th time reinstalled the entire UWin, repeating all the steps of the instructions to ensure that i've followed carefully the instruction. I even captured the images during the installation (39 images) and created an install script (posted in the previous post), script that i don't use cause i want to follow step by step the installation.

Only one shell is installed.


Edited by AmigaBlitter on 2017/11/20 14:13:23
Edited by AmigaBlitter on 2017/11/20 14:14:25
Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@broadblues

"Oh come on, please try a little harder on your own behalf, can you not see this near the top?"

"hat obviously doesn't include the cross compiler elements. I'm not sure why that should be though. "


Well, thank you.

The first installation worked. I even captured screenshots of all the steps, carefully observing all the procedure. Of course this is not related to SDL2, to --host, --build or --target.

This is my 16th or more installation.

thank you anyway

Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


Here's a link for the config.log. It's rather long (165 KB).
Seems ok.

https://drive.google.com/file/d/1mqmqx ... qn157wqf/view?usp=sharing

Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@broadblues

amidev@DESKTOP-C279FRF:~$ which ppc-amigaos-gcc
/usr/local/amiga/adtools-ppc-uwin64-20170623-404/bin/ppc-amigaos-gcc


amidev@DESKTOP-C279FRF:~$ whereis ppc-amigaos-gcc
ppc-amigaos-gcc: /usr/local/amiga/adtools-ppc-uwin64-20170623-404/bin/ppc-amigaos-gcc

Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@broadblues

Sorry for destroying the layout. I tried to keep the original output of the screen.

Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@Hans

Yes, i have that line.

However, as explained previously,...

"ls -hal /usr/local/amiga/adtools/bin"

gives me:

amidev@AmigaOne:~$ ls -hal /usr/local/amiga/adtools/bin
ls: cannot access '/usr/local/amiga/adtools/bin': No such file or directory

So it seems that the executables never built.

But... if i type ppc-amigaos-gcc -v i get

Using built-in specs.COLLECT_GCC=ppc-amigaos-gcc
COLLECT_LTO_WRAPPER
=/usr/local/amiga/adtools-ppc-uwin64-20170623-404/libexec/gcc/ppc-amigaos/5.4.0/lto-wrapper 
Target
ppc-amigaos 
Configured with
: /home/amidev/adtools/gcc/repo/configure --with-bugurl=https://github.com/sba1/adtools/issues --with-pkgversion='adtools build 5.4.0' --target=ppc-amigaos --prefix=/usr/local/amiga/adtools-ppc-uwin64-20170623-404 --enable-languages=c,c++ --enable-haifa --enable-sjlj-exceptions --disable-libstdcxx-pch --disable-tlsThread model: singlegcc version 5.4.0 (adtools build 5.4.0

Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@broadblues

in the makefile CC is set to gcc

@hans

tried --host=ppc-amigaos --build=ppc --target=ppc-amigaos

even the combinations of some of them... same result


Please have a look at the SDL2 configure output.


Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@AmigaBlitter

PATH

amidev@DESKTOP-C279FRF:~/Software/Development/sdl2-amigaos4-code-199-trunk$ echo $PATH
/home/amidev/bin:/home/amidev/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Skype/Phone:/mnt/c/TDM-GCC-32/bin:/mnt/c/Users/dc_am/AppData/Local/Microsoft/WindowsApps:/snap/bin:/home/amidev/adtools/bin:/usr/local/amiga/adtools-ppc-uwin64-20170623-404/bin
amidev
@DESKTOP-C279FRF:~/Software/Development/sdl2-amigaos4-code-199-trunk$


EXPORT

amidev@DESKTOP-C279FRF:~/Software/Development/sdl2-amigaos4-code-199-trunkexport
declare -x HOME="/home/amidev"
declare -x HOSTTYPE="x86_64"
declare -x LANG="en_US.UTF-8"
declare -x LESSCLOSE="/usr/bin/lesspipe %s %s"
declare -x LESSOPEN="| /usr/bin/lesspipe %s"
declare -x LOGNAME="amidev"
declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
declare -x NAME="DESKTOP-C279FRF"
declare -x OLDPWD="/home/amidev/Software/Development"
declare -x PATH="/home/amidev/bin:/home/amidev/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Skype/Phone:/mnt/c/TDM-GCC-32/bin:/mnt/c/Users/dc_am/AppData/Local/Microsoft/WindowsApps:/snap/bin:/home/amidev/adtools/bin:/usr/local/amiga/adtools-ppc-uwin64-20170623-404/bin"
declare -x PWD="/home/amidev/Software/Development/sdl2-amigaos4-code-199-trunk"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x TERM="xterm-256color"
declare -x USER="amidev"


ENV

amidev@DESKTOP-C279FRF:~/Software/Development/sdl2-amigaos4-code-199-trunkenv
SHELL
=/bin/bash
TERM
=xterm-256color
OLDPWD
=/home/amidev/Software/Development
USER
=amidev
NAME
=DESKTOP-C279FRF
LS_COLORS
=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
HOSTTYPE=x86_64
PATH
=/home/amidev/bin:/home/amidev/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Program Files (x86)/Skype/Phone:/mnt/c/TDM-GCC-32/bin:/mnt/c/Users/dc_am/AppData/Local/Microsoft/WindowsApps:/snap/bin:/home/amidev/adtools/bin:/usr/local/amiga/adtools-ppc-uwin64-20170623-404/bin
PWD
=/home/amidev/Software/Development/sdl2-amigaos4-code-199-trunk
LANG
=en_US.UTF-8
SHLVL
=1
HOME
=/home/amidev
LOGNAME
=amidev
LESSOPEN
=| /usr/bin/lesspipe %s
LESSCLOSE
=/usr/bin/lesspipe %%s
_
=/usr/bin/env
amidev
@DESKTOP-C279FRF:~/Software/Development/sdl2-amigaos4-code-199-trunk$


SDL2 configure output:
amidev@DESKTOP-C279FRF:~/Software/Development/sdl2-amigaos4-code-199-trunksudo ./configure --prefix=/sdk/local/newlib --host=ppc-amigaos --disable-altivec
checking build system type
... x86_64-pc-linux-gnu
checking host system type
... powerpc-unknown-amigaos
checking how to 
print strings... printf
checking 
for ppc-amigaos-gcc... no
checking 
for gcc... gcc
checking whether the C compiler works
... yes
checking 
for C compiler default output file name... a.out
checking 
for suffix of executables...
checking whether we are cross compiling... no
checking 
for suffix of object files... o
checking whether we are using the GNU C compiler
... yes
checking whether gcc accepts 
-g... yes
checking 
for gcc option to accept ISO C89... none needed
checking 
for a sed that does not truncate output... /bin/sed
checking 
for grep that handles long lines and -e... /bin/grep
checking 
for egrep... /bin/grep -E
checking 
for fgrep... /bin/grep -F
checking 
for ld used by gcc... /usr/bin/ld
checking 
if the linker (/usr/bin/ldis GNU ld... yes
checking 
for BSD- or MS-compatible name lister (nm)... no
checking 
for ppc-amigaos-dumpbin... no
checking 
for ppc-amigaos-link... no
checking 
for dumpbin... no
checking 
for link... link -dump
checking the name lister 
(nm) interface... BSD nm
checking whether ln 
-s works... yes
checking the maximum length of command line arguments
... 1572864
checking whether the shell understands some XSI constructs
... yes
checking whether the shell understands 
"+="... yes
checking how to convert x86_64
-pc-linux-gnu file names to powerpc-unknown-amigaos format... func_convert_file_noop
checking how to convert x86_64
-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking 
for /usr/bin/ld option to reload object files... -r
checking 
for ppc-amigaos-objdump... no
checking 
for objdump... objdump
checking how to recognize dependent libraries
... unknown
checking 
for ppc-amigaos-dlltool... no
checking 
for dlltool... no
checking how to associate runtime 
and link libraries... printf %s\n
checking 
for ppc-amigaos-ar... no
checking 
for ar... ar
checking 
for archiver @FILE support... @
checking for ppc-amigaos-strip... no
checking 
for strip... strip
checking 
for ppc-amigaos-ranlib... no
checking 
for ranlib... ranlib
checking 
for gawk... gawk
checking command to parse nm output from gcc object
... ok
checking 
for sysroot... no
checking 
for ppc-amigaos-mt... no
checking 
for mt... mt
checking 
if mt is a manifest tool... no
checking how to run the C preprocessor
... gcc -E
checking 
for ANSI C header files... yes
checking 
for sys/types.h... yes
checking 
for sys/stat.h... yes
checking 
for stdlib.h... yes
checking 
for string.h... yes
checking 
for memory.h... yes
checking 
for strings.h... yes
checking 
for inttypes.h... yes
checking 
for stdint.h... yes
checking 
for unistd.h... yes
checking 
for dlfcn.h... yes
checking 
for objdir... .libs
checking 
if gcc supports -fno-rtti -fno-exceptions... no
checking 
for gcc option to produce PIC... -fPIC -DPIC
checking 
if gcc PIC flag -fPIC -DPIC works... yes
checking 
if gcc static flag -static works... yes
checking 
if gcc supports --o file.o... yes
checking 
if gcc supports --o file.o... (cachedyes
checking whether the gcc linker 
(/usr/bin/ldsupports shared libraries... yes
checking whether 
-lc should be explicitly linked in... no
checking dynamic linker characteristics
... amigaos ld.so
checking how to hardcode library paths into programs
... immediate
checking whether stripping libraries is possible
... yes
checking 
if libtool supports shared libraries... yes
checking whether to build shared libraries
... yes
checking whether to build 
static libraries... yes
checking 
for ppc-amigaos-gcc... gcc
checking whether we are using the GNU C compiler
... (cachedyes
checking whether gcc accepts 
-g... (cachedyes
checking 
for gcc option to accept ISO C89... (cachednone needed
checking 
for ppc-amigaos-g++... no
checking 
for ppc-amigaos-c++... no
checking 
for ppc-amigaos-gpp... no
checking 
for ppc-amigaos-aCC... no
checking 
for ppc-amigaos-CC... no
checking 
for ppc-amigaos-cxx... no
checking 
for ppc-amigaos-cc++... no
checking 
for ppc-amigaos-cl.exe... no
checking 
for ppc-amigaos-FCC... no
checking 
for ppc-amigaos-KCC... no
checking 
for ppc-amigaos-RCC... no
checking 
for ppc-amigaos-xlC_r... no
checking 
for ppc-amigaos-xlC... no
checking 
for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g
++ accepts -g... yes
checking how to run the C
++ preprocessor... g++ -E
checking 
for ld used by g++... /usr/bin/ld
checking 
if the linker (/usr/bin/ldis GNU ld... yes
checking whether the g
++ linker (/usr/bin/ldsupports shared libraries... no
checking 
for g++ option to produce PIC... -fPIC -DPIC
checking 
if g++ PIC flag -fPIC -DPIC works... yes
checking 
if g++ static flag -static works... yes
checking 
if g++ supports --o file.o... yes
checking 
if g++ supports --o file.o... (cachedyes
checking whether the g
++ linker (/usr/bin/ldsupports shared libraries... no
checking dynamic linker characteristics
... amigaos ld.so
checking how to hardcode library paths into programs
... immediate
checking 
for a BSD-compatible install... /usr/bin/install -c
checking whether make sets 
$(MAKE)... yes
checking 
for ppc-amigaos-windres... no
checking 
for windres... no
checking 
for an ANSI C-conforming const... yes
checking 
for inline... inline
checking 
for working volatile... yes
checking 
for GCC -MMD -MT option... yes
checking 
for linker option --no-undefined... yes
checking 
for ANSI C header files... (cachedyes
checking 
for sys/types.h... (cachedyes
checking stdio
.h usability... yes
checking stdio
.h presence... yes
checking 
for stdio.h... yes
checking 
for stdlib.h... (cachedyes
checking stddef
.h usability... yes
checking stddef
.h presence... yes
checking 
for stddef.h... yes
checking stdarg
.h usability... yes
checking stdarg
.h presence... yes
checking 
for stdarg.h... yes
checking malloc
.h usability... yes
checking malloc
.h presence... yes
checking 
for malloc.h... yes
checking 
for memory.h... (cachedyes
checking 
for string.h... (cachedyes
checking 
for strings.h... (cachedyes
checking wchar
.h usability... yes
checking wchar
.h presence... yes
checking 
for wchar.h... yes
checking 
for inttypes.h... (cachedyes
checking 
for stdint.h... (cachedyes
checking limits
.h usability... yes
checking limits
.h presence... yes
checking 
for limits.h... yes
checking ctype
.h usability... yes
checking ctype
.h presence... yes
checking 
for ctype.h... yes
checking math
.h usability... yes
checking math
.h presence... yes
checking 
for math.h... yes
checking float
.h usability... yes
checking float
.h presence... yes
checking 
for float.h... yes
checking iconv
.h usability... yes
checking iconv
.h presence... yes
checking 
for iconv.h... yes
checking signal
.h usability... yes
checking signal
.h presence... yes
checking 
for signal.h... yes
checking 
for size_t... yes
checking 
for M_PI in math.h... yes
checking 
for working alloca.h... yes
checking 
for alloca... yes
checking 
for working memcmp... yes
checking 
for working strtod... yes
checking 
for mprotect... yes
checking 
for malloc... yes
checking 
for calloc... yes
checking 
for realloc... yes
checking 
for free... yes
checking 
for getenv... yes
checking 
for setenv... yes
checking 
for putenv... yes
checking 
for unsetenv... yes
checking 
for qsort... yes
checking 
for abs... yes
checking 
for bcopy... yes
checking 
for memset... yes
checking 
for memcpy... yes
checking 
for memmove... yes
checking 
for wcslen... yes
checking 
for wcscmp... yes
checking 
for strlen... yes
checking 
for strlcpy... no
checking 
for strlcat... no
checking 
for _strrev... no
checking 
for _strupr... no
checking 
for _strlwr... no
checking 
for strchr... yes
checking 
for strrchr... yes
checking 
for strstr... yes
checking 
for itoa... no
checking 
for _ltoa... no
checking 
for _uitoa... no
checking 
for _ultoa... no
checking 
for strtol... yes
checking 
for strtoul... yes
checking 
for _i64toa... no
checking 
for _ui64toa... no
checking 
for strtoll... yes
checking 
for strtoull... yes
checking 
for atoi... yes
checking 
for atof... yes
checking 
for strcmp... yes
checking 
for strncmp... yes
checking 
for _stricmp... no
checking 
for strcasecmp... yes
checking 
for _strnicmp... no
checking 
for strncasecmp... yes
checking 
for vsscanf... yes
checking 
for vsnprintf... yes
checking 
for fopen64... yes
checking 
for fseeko... yes
checking 
for fseeko64... yes
checking 
for sigaction... yes
checking 
for setjmp... yes
checking 
for nanosleep... yes
checking 
for sysconf... yes
checking 
for sysctlbyname... no
checking 
for getauxval... yes
checking 
for poll... yes
checking 
for pow in -lm... yes
checking 
for atan... yes
checking 
for atan2... yes
checking 
for acos... yes
checking 
for asin... yes
checking 
for ceil... yes
checking 
for copysign... yes
checking 
for cos... yes
checking 
for cosf... yes
checking 
for fabs... yes
checking 
for floor... yes
checking 
for log... yes
checking 
for pow... yes
checking 
for scalbn... yes
checking 
for sin... yes
checking 
for sinf... yes
checking 
for sqrt... yes
checking 
for sqrtf... yes
checking 
for tan... yes
checking 
for tanf... yes
checking 
for iconv_open in -liconv... no
checking 
for iconv... yes
checking 
for struct sigaction.sa_sigaction... yes
checking libunwind
.h usability... no
checking libunwind
.h presence... no
checking 
for libunwind.h... no
checking 
for GCC builtin atomic operations... yes
checking 
for GCC -mmmx option... yes
checking 
for GCC -m3dnow option... yes
checking 
for GCC -msse option... yes
checking 
for GCC -Wall option... yes
checking 
for necessary GCC -Wno-multichar option... no
checking 
for OpenGL ES v2 headers... yes
checking 
for pthreads... yes
checking 
for recursive mutexes... yes
checking 
for pthread semaphores... yes
checking 
for sem_timedwait... yes
checking 
for pthread_np.h... no
checking 
for pthread_setname_np... yes
checking 
for pthread_set_name_np... no
configure
creating ./config.status
config
.statuscreating Makefile
config
.statuscreating sdl2-config
config
.statuscreating sdl2-config.cmake
config
.statuscreating SDL2.spec
config
.statuscreating sdl2.pc
config
.statuscreating include/SDL_config.h
config
.status: include/SDL_config.h is unchanged
config
.statusexecuting libtool commands
config
.statusexecuting sdl2_config commands
config
.statusexecuting summary commands
SDL2 Configure Summary
:
Building Shared Libraries
Building 
Static Libraries
Enabled modules 
atomic audio video render events joystick haptic power filesystem threads timers file loadso cpuinfo assembly
Assembly Math   
mmx 3dnow sse
Audio drivers   
dummy amigaos4
Video drivers   
dummy amigaos4 opengl opengl_es2
Input drivers   
amigainput
Using libsamplerate 
NO
Using libudev       
NO
Using dbus          
NO
Using ime           
NO
Using ibus          
NO
Using fcitx         
NO


Edited by AmigaBlitter on 2017/11/15 19:00:52
Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@MickJT

"I don't know if it's been mentioned yet, but SDL2 can't be compiled with SDK 53.24 which is what is installed by the adtools Makefiles. You need 53.30."

Yes, that's the reason why i burned out my (sigh) unique functional UWin installation, cause SDL2 needed the 53.30 version of the SDK. The first installation of the UWin worked fine and configured SDL2 ok, targeting ppc machines. The SDL2 compile started ok, but halted showing errors related to the SDK version.

I think the problem is not related to SDL2 only. The problem is related to the UWin installation.

The problem could be related to symlink and paths.

I will post the EXPORT, PATH and SET outputs asap.






Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@Hans

Thank you for the link, Hans.
Very interesting.

I haven't tried yet using --target option.

Btw, as i said in a previous post, one installation of the UWin environment worked fine. I used this installation to configure the SDL R188 and the configure report was OK. As for the math, for example, the summary reported no assembly math, just as i had specified using the flag --disable-altivec. The compilation of the SDL2 started OK, until the compiler hitted the Amiga SDK requirements (i used the version 53.24).

For this reason i reinstalled everthing from scratch, trying to use the SDK 53.30.

But since then, i never been able again to put cross compiler environment to work.

Now, if i try to configure the SDL2, even specifying the --disable-altivec flag, i get in the summary that i have MMX, 3DNOW, SSE, SSE2 as math options. This is the first indication that the cross compiler is configured for x86 machine.
The second indication that tell me that i have a wrong CC setup is that as soon as i start the make command for the SDL2, i get in reply -strict -align error.


Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@stonecracker

Hello,

you can try to configure and compile the SDL2 source itself.

./configure --prefix=/sdk/local/newlib --host=ppc-amigaos --disable-altivec

then make install

It's seems that in my case the compiler used is not the correct compiler.

Can you suggest me some check to do, maybe some symbolic link?


Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@stonecracker

thank you.

I hope to do some compilation's test soon.


Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@stonecracker

Stonecracker , could you please shed some Light on what is happening here, why the wrong compiler is picked up?

Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@stonecracker

Stonecracker , could you please shed some Light on what is happening here, why the wrong compiler is picked up?

Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@Hans

Thank you for the info.

I will try in the next days.

Just to add some info, i had a working installation and using -host=ppc-amigaos worked fine. I uninstalled because the SDK 24 version 54_24 and not 54_30. Using the option --disable-altivec the final configure report told me "no assembly math", while now i get mmx, 3dnow, sse, sse2 that looks pretty x86ish.


Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@Hans

Yes, i've done by typing ./configure --host=ppc-amigaos

It worked only one time, bu sadly i uninstalled that version.


From stonecracker suggestions:

"Hmmm. Did the executables get built?

If you "ls -hal /usr/local/amiga/adtools/bin"

What do you see? I'm wondering if there's any ppc-amigaos-gcc executable even there/built."

If i try i get:

amidev@AmigaOne:~$ ls -hal /usr/local/amiga/adtools/bin
ls: cannot access '/usr/local/amiga/adtools/bin': No such file or directory

So it seems that the executables never built.

But... if i type ppc-amigaos-gcc -v i get

Using built-in specs.COLLECT_GCC=ppc-amigaos-gcc
COLLECT_LTO_WRAPPER
=/usr/local/amiga/adtools-ppc-uwin64-20170623-404/libexec/gcc/ppc-amigaos/5.4.0/lto-wrapper 
Target
ppc-amigaos 
Configured with
: /home/amidev/adtools/gcc/repo/configure --with-bugurl=https://github.com/sba1/adtools/issues --with-pkgversion='adtools build 5.4.0' --target=ppc-amigaos --prefix=/usr/local/amiga/adtools-ppc-uwin64-20170623-404 --enable-languages=c,c++ --enable-haifa --enable-sjlj-exceptions --disable-libstdcxx-pch --disable-tlsThread model: singlegcc version 5.4.0 (adtools build 5.4.0



Retired
Go to top


Re: Building Cross-Compiling adtools for Amiga OS4 PowerPC (ppc) with Cygwin/Bash on Ubuntu on Windows
Quite a regular
Quite a regular


@AmigaBlitter

I reinstalled again UWin, repeating all the steps. Still have the problem compiling SDL2. It's seems that the wrong cvompiler is used.

Retired
Go to top



TopTop
« 1 2 3 (4) 5 6 7 ... 30 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project