Path64

Path64

Path64 was a commercial Compiler named EkoPath 4 now made open source under the GPLv3 License.
(Even though it is named Path64 it can't (yet) compile wine64 due to missing support for some gcc extensions.)

Build Path64

  • Get the source: git clone https://github.com/path64/compiler.git

  • run its configure
  • you may need to adjust the Makefile by turning \n\t into a linebreak and a tab
  • run make

Build Wine with Path64

 export PATH=$PATH:/path/to/path64/build/bin/
 CC=pathcc ./configure
 make

As of Wine 1.3.23 and Path64 commit 61a6ac1b96098c5007bbaaa433b136ee10e0b30d

You will see a lot of warnings like:

  • Warning: variable foo in bar might be used uninitialized

ignore them for now


This sometimes fails when winebuild runs ld in d3dx9_36:

  • /usr/bin/ld: Dwarf Error: Could not find abbrev number 117.

  • /usr/bin/ld: Dwarf Error: mangled line number section (bad file number).

  • pathcc INTERNAL ERROR: /usr/bin/ld died due to signal 11

  • winegcc: pathcc failed

    • As Path64 depends on libdwarf it may be my version of it: 20091012-1 (reported to work with 20100214-1)

Using gcc as a workaround to compile this dll lets us get further.


Next failure while compiling dlls/msvcp90/exception.c:

  • /tmp/pathcc-s-74b0dc51.s: Assembler messages:

  • /tmp/pathcc-s-74b0dc51.s:494: Error: attempt to move .org backwards

    • here i found a .org 0x0
  • /tmp/pathcc-s-74b0dc51.s:505: Error: attempt to move .org backwards

    • here i found a .org 0x10

Using gcc as a workaround to compile this dll lets us get further building.

then the same for much more files like dlls/msvcrt/cpp.c


Next failure is with winebuild trying to create ntdll.dll.so:

  • sync.o:(.debug_info+0x19e1f): undefined reference to .Lt_70_3842

  • sync.o:(.debug_info+0x19e23): undefined reference to .Lt_70_3586

  • winegcc: pathcc failed

Using gcc as a workaround to compile this dll lets us get further building.

then the same for programs/winhlp32.


Bugs:

https://github.com/path64/compiler/issues/46

https://github.com/path64/compiler/issues/47

https://github.com/path64/compiler/issues/48

https://github.com/path64/compiler/issues/49

https://github.com/path64/compiler/issues/50

Path64 (last edited 2011-06-30 19:38:35 by AndreHentschel)