winehq arm64 build - dlltool

Questions about Wine on Linux
Locked
moserwi
Newbie
Newbie
Posts: 1
Joined: Thu Dec 01, 2022 6:25 am

winehq arm64 build - dlltool

Post by moserwi »

Running into troubles:
Linux pinebook 5.10.43-rockchip64 #21.05.4 SMP PREEMPT Wed Jun 16 08:02:12 UTC 2021 aarch64 GNU/Linux
debian bullseye: 11.5

process:
git clone https://gitlab.winehq.org/wine/wine.git
apt-get build-dep wine
apt-get install xorg-dev libx11-dev gcc-10-locales mingw*
apt install binutils-mingw-w64-x86-64* libusb* samba-dev*
apt install wine64-tools*
dpkg --add-architecture i386
dpkg --add-architecture amd64
./configure
make depend
make
winebuild: cannot find the 'dlltool' tool
make install
..................
unfortunatly there is no information about dlltool. It should be in binutils or binutils-mingw but
make: *** [Makefile:121846: dlls/ucrtbase/aarch64-windows/libucrtbase.a] Fehler 1

locate dlltool
/usr/bin/i686-w64-mingw32-dlltool
/usr/bin/x86_64-w64-mingw32-dlltool
/usr/i686-w64-mingw32/bin/dlltool
/usr/share/man/man1/i686-w64-mingw32-dlltool.1.gz
/usr/share/man/man1/x86_64-w64-mingw32-dlltool.1.gz
/usr/x86_64-w64-mingw32/bin/dlltool

Soo..???

Thank you for any guidance...
configure or make options???
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: winehq arm64 build - dlltool

Post by invisible kid »

Just a regular user here with general linux knowledge. You might want to wait for an answer that addresses your issue specifically. When I build wine, I have to instruct it where the mingw related stuff is because I don't want it in my PATH variable all the time. So before I build wine I need to do a

Code: Select all

export PATH=${PATH}:/opt/mingw-w64/bin:/opt/mingw-w32/bin
This adds those locations to a list to check when you type an executable name. In your case, this might help:

Code: Select all

export PATH=${PATH}:/usr/x86_64-w64-mingw32/bin
It will only be in effect in that terminal window while it is open, it won't permanently change your PATH variable. You would need to enter it before the ./configure command.
Locked