Sega Saturn Development > General Jo Engine Help

Compiling Jo Engine under GCC 7.2.0

<< < (2/3) > >>

neoraph:
Hello  :)

Any news about that question?

I am working on a Mac, and I wonder to use a docker image based on a linux (probably debian) and if I can use the latest gcc, it should be nice :)

mindslight:
Hi, I'm sorry, I don't have enough time to work on the Engine today, but It will change. I hope  :)

mindslight:
You have to recompile the standard C library and add the path in your environment.

The library currently used in the project is available here: "Compiler\SH_COFF\sh-coff\sh-coff\lib\libc.a"

If you look closer into the "compile.bat script", you will see paths :


--- Code: ---
SET PATH=%COMPILER_DIR%\SH_COFF\Other Utilities;%COMPILER_DIR%\SH_COFF\sh-coff\bin;%COMPILER_DIR%\TOOLS;%PATH%
--- End code ---

You will find in attachement the C library compiled (ELF Format) (old version but enough)

deevus:
Any luck with this? I'm interested in compiling on linux without wine. However I'm not very familiar with compilation for different targets.

abrasive:
I was able to do this without much fuss with GCC 7.3.0 (sh-none-elf).

You can use the included COFF libc.a. You need to make sure -lc comes after all the $(LIBS) though. In my case I used:

LIBS += -L./lib/joengine/Compiler/SH_COFF/sh-coff/sh-coff/lib/ -lc -Wl,--format=elf32-sh -lgcc

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Sitemap 1 2 3 4 5 6 7 8 9 10 
Go to full version