Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] Need help to compile a minimal wine

44 views
Skip to first unread message

tu...@posteo.de

unread,
Sep 23, 2017, 2:30:04 PM9/23/17
to
Hi,

I want to compile wine to execute a single commandline tool.
That's it.

The commandline tool is the AVR-assembler made by ATmel to recompile
a FORTH interpreter for the AVR-line of microcontrollers of
ATMEL/Micorchip:

avrasm2.exe: PE32 executable (console) Intel 80386, for MS Windows

Most GENTOO related tutorials on how to compile/install wine were
made for those of us who want to use wine as kind a "bootloader" for
games (NO pune intended!).

I tried to compile wine ... but all end with an compilation error.

To save time and hassle:
Is there any wine version out there, which is currentlu compilable
and/or recommended?

Is there any tutorial which covers my intended use case for wine?

(My system is not multilib.)

Thanks a lot for any help in advance!
Cheers
Meino

Christoph Böhmwalder

unread,
Sep 23, 2017, 2:40:04 PM9/23/17
to
Hi Meino,

I haven't tried this, but may I ask why you're not using the ATmel AVR Toolchain [0] that's readily available for Linux?

[0] http://www.atmel.com/tools/atmelavrtoolchainforlinux.aspx

--
Regards,
Christoph

R0b0t1

unread,
Sep 23, 2017, 2:50:03 PM9/23/17
to
On Sat, Sep 23, 2017 at 1:21 PM, <tu...@posteo.de> wrote:
> Hi,
>
> I want to compile wine to execute a single commandline tool.
> That's it.
>
> The commandline tool is the AVR-assembler made by ATmel to recompile
> a FORTH interpreter for the AVR-line of microcontrollers of
> ATMEL/Micorchip:
>

Are you sure you need the assembler as released by Atmel? Most of
their development work seems to have gone to AVR-GCC. Is the syntax of
avrasm2 unique and are there any features that are not implemented in
GNU as?

> avrasm2.exe: PE32 executable (console) Intel 80386, for MS Windows
>
> [...]
>
> (My system is not multilib.)
>

As "WINE is Not an Emulator" it seems to me like you will either need
to reinstall as a multilib system, or set up an x86 chroot or
container to run the assembler.

There is a small possibility that WINE's WOW64 support (the thing that
runs Win32 executables on Win64) does not require multilib, but if so
then they would have needed to reimplement large parts of multilib and
certain kernel facilities. It does not seem likely that they would
have done this.

Looking at https://wiki.winehq.org/Building_Wine#Shared_WoW64 it seems
like there is an implicit dependency on a multlib system. Most Linux
distributions are multilib, likely because it is necessary to support
many closed source Linux programs.

Cheers,
R0b0t1

tu...@posteo.de

unread,
Sep 25, 2017, 1:30:03 AM9/25/17
to
Yes, unfortunately I am sure that I need the ATmel-thingy...

Amforth as Flashforth are written in ATmel Assembler and based
on/compiled with avrasm2...I talked to the developers in beforehand.

How can I compile a minimal wine (as described) for my puposes?

Cheers
Meino
0 new messages