kubilus1 / gendev Goto Github PK
View Code? Open in Web Editor NEWGenesis development environment for Linux.
License: BSD 3-Clause "New" or "Revised" License
Genesis development environment for Linux.
License: BSD 3-Clause "New" or "Revised" License
Gendev itself built fine, with no errors. But when I'm trying to build the ROM...
/opt/toolchains/gen//m68k-elf/bin/m68k-elf-ld: cannot find /opt/toolchains/gen//m68k-elf/lib/gcc/m68k-elf/4.8.2/libgcc.a: No such file or directory
Makefile:135: recipe for target 'out.elf' failed
make: *** [out.elf] Error 1
This error appeared not so long ago, changing my linux distribution didn't help.
These two binaries are not stripped and take 100MB+ of space:
gendev/libexec/gcc/m68k-elf/6.3.0/cc1
gendev/libexec/gcc/m68k-elf/6.3.0/lto1
Once stripped they are ~15MB
Heh just realized the other bins are not stripped either, but for some reason they are only ~5MB (<1MB when stripped).
Is this on purpose? I guess the reason they are huge should be asked in the gcc mailing list, but that's another topic.
This would allow explicit tracking of the SGDK project and force builds of this project to occur when SGDK changes.
The directory structure of SGDK has changed, but there doesn't seeem to be any updated makefile for projects. Currently, all projects fail when trying to build; this includes the two examples.
I ported my project to the new SGDK version and had to make a couple changes to gendev:
There's 2 less mysteries for you to solve hopefully.
I have been trying to build some projects: some of them build nicely, others (including the 3d_examples) build but the generated ROM does not work. I have been tracing the problem, and it's because sometimes the main()
function included inside .text.startup
section is placed on the ROM before the startup code (exception vectors and ROM header). Other times the sequence is correct: vectors+ROM header and then the main()
function code in .text.startup
.
Unfortunately I don't know what triggers the wrong behaviour and how to fix the it... The same makefile is used on proyects that build and that doesn't, the link step invocation is the same (boot, archives, objects, libraries). Why does this sometimes fail? Could it be fixed maybe by modifying the linker files (.ld files)?
I'm trying to follow along this tutorial and found your project.
Your step "BUILDING SGDK PROJECTS" worked, and I have those files it created in another folder, but the tutorial mentions a file called "libmd.a" in the "lib" folder which doesn't appear in Gendev.
Another issue I'm having is "making". In gendev I find the sgdk folder and therein the "bin". But this bin doesn't have a "make" file and I can't compile the Hello World script from the tutorial.
Any ideas?
Thanks!
When I open gendev_0.3.2_all.deb in GNOME Software 3.28.1 in Xubuntu 18.04, the window shows "License: Proprietary". I would expect something like "License: GPLv3 or later" because the package contains GCC and GNU Binutils.
It would be nice to have the build be parallel. Currently even the setup target fails with parallel make, and it's a bit unconventional nowadays to require a serial build, with all these cores ;)
Thanks for maintaining this repo!
Could you describe the update process to a newer version of SGDK?
For now I found "SGDKVER=v1.60"
But what is the purpose of the diff's in gendev/sgdk/files/ and how are those generated?
Hello. While I was trying to get the Echo sound engine working with my game, I realised that it won't let me include <stdint.h>. So I created a new project with the absoloute bare minimum and the (bug?) is repeatable.
Here's my test rig:
And here's the error(s):
In file included from /opt/gendev/sgdk/inc/genesis.h:7:0, from main.c:1: /opt/gendev/sgdk/inc/types.h:142:21: error: conflicting types for 's8' #define int8_t s8 ^ /opt/gendev/sgdk/inc/types.h:79:14: note: previous declaration of 's8' was here typedef char s8; ^~
Any help getting this up and running would be greatly appreciated, and if it's an SGDK bug lemme know so I can put this bug report into SGDK. Meanwhile I'll try to find a solution
Hi,
I use debian 8.0 and gcc 4.9.2, when I git clone gendev and do a make I fall into an issue at this step :
+++ Building binutils-2.24 to build-binutils-m68k-elf-2.24...
mkdir -p build-binutils-m68k-elf-2.24
> /home/yoyz/build/gendev/work/logs/build-binutils-m68k-elf-2.24.log
cd build-binutils-m68k-elf-2.24; ../binutils-2.24/configure --target=m68k-elf --prefix=/opt/toolchains/gen/m68k-elf --enable-install-libbfd >> /home/yoyz/build/gendev/work/logs/build-binutils-m68k-elf-2.24.log 2>&1
make -C build-binutils-m68k-elf-2.24 all install DESTDIR= >> /home/yoyz/build/gendev/work/logs/build-binutils-m68k-elf-2.24.log 2>&1
../gen_gcc/makefile-gen:93: recipe for target 'build-m68k-binutils' failed
make[1]: *** [build-m68k-binutils] Error 2
make[1]: Leaving directory '/home/yoyz/build/gendev/work'
Makefile:49: recipe for target 'toolchain_build' failed
make: *** [toolchain_build] Error 2
I browse the web and found other guy who have the same issue.
Don't know if this workaround could harm.
$ rm -rf work/build-binutils-m68k-elf-2.24/
$ export CFLAGS="-Wno-error=unused-value"
$ make
EDIT : oopps, I've missed the error and lost my log file.
Anyway the problem is related to this kind of error which is describe in a lot of place :
../bfd/bfd.h:303:83: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
#define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE)
^
/home/mafm/prj/riscv/riscv-gnu-toolchain/src/binutils/gas/write.c:366:5: note: in expansion of macro ‘bfd_set_section_alignment’
bfd_set_section_alignment (stdoutput, seg, align);
https://github.com/riscv/riscv-gnu-toolchain/issues/3
The sixpack program is just copied. This is an issue, because it's 32-bit, and I'm on a 64-bit system. I could also be on non-x86, etc, and sixpack sources are included, so it makes sense it should be built.
I built the Docker image which executes the makefile.gen as described in the Readme, and it does not seem to be capable of compiling any of gendev's examples nor any of SGDK's samples.
:dleslie:pinebookpro [sprite]
#> alias make-gendev
alias make-gendev='docker container run --rm --name gendev'
:dleslie:pinebookpro [sprite]
#> make-gendev
mkdir -p src/boot
mkdir -p out
mkdir -p out/src
mkdir -p out/res
cp /opt/gendev/sgdk/src/boot/sega.s src/boot/sega.s
cp /opt/gendev/sgdk/src/boot/rom_head.c src/boot/rom_head.c
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/rom_head.c -o out/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/sgdk/md.ld -nostdlib --oformat binary -o out/rom_head.bin out/rom_head.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/gendev/sgdk/inc -I/opt/gendev/sgdk/res -B/opt/gendev/sgdk/bin -c src/boot/sega.s -o out/sega.o
echo "" > out/cmd_
/opt/gendev/bin/m68k-elf-gcc -B/opt/gendev/sgdk/bin -n -T /opt/gendev/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /opt/gendev/sgdk/lib/libmd.a /opt/gendev/sgdk/lib/libgcc.a -o out/rom.out
/opt/gendev/sgdk/lib/libmd.a(sys.o): In function `_start_entry':
sys.c:(.text+0x8a4): undefined reference to `main'
/opt/gendev/sgdk/lib/libmd.a(sys.o): In function `_reset_entry':
sys.c:(.text+0x8e2): undefined reference to `main'
collect2: error: ld returned 1 exit status
/opt/gendev/sgdk/mkfiles/makefile.gen:122: recipe for target 'out/rom.out' failed
make: *** [out/rom.out] Error 1
It looks like it's not compiling anything other than the rom header and sega structures.
Edit: I've corrected the build command and wrote a script to iterate through all the examples to attempt to build them. It seems like they still fail to build, but for several reasons.
The output is here:
https://gist.github.com/dleslie/80a59ee3fd278524fce252d7c9645683
And the repo I use for building the examples is here:
https://github.com/dleslie/genesis-dev/tree/master/examples/gendev
Errors
main.c:181:21: error: 'PLAN_A' undeclared (first use in this function)
BMP_init(FALSE, PLAN_A, FALSE, 0);
Both 3d examples fail with the above. PLAN_A was renamed in SGDK to BG_A, I think?
nm --plugin=liblto_plugin-0.dll -n out/rom.out > out/symbol.txt
nm: liblto_plugin-0.dll: cannot open shared object file: No such file or directory
I think something critical is missing from the Dockerfile? Most of the examples fail with this one.
I tried this nice project (the docker container version).
It happens that there are no definition of SPR_addSprite. I took a look on the web, and found that it should be in sprite_eng.h.
In your sprite_eng.h, I find an old sprite api, with SPR_initSprite.
Installed gendev without problems.
Create a new project with skeleton directory (with cp) and made a "hello world" in C when I run "make" ends with this error:
/opt/toolchains/gen//m68k-elf/bin/m68k-elf-gcc -o out.elf -T /opt/toolchains/gen//ldscripts/sgdk.ld -nostdlib boot/sega.o /opt/toolchains/gen//m68k-elf/lib/libmd.a /opt/toolchains/gen//m68k-elf/lib/gcc/m68k-elf//libgcc.a main.o -L/opt/toolchains/gen//m68k-elf/lib -L/opt/toolchains/gen//m68k-elf/lib/gcc/m68k-elf/ -L/opt/toolchains/gen//m68k-elf/m68k-elf/lib -lmd -lnosys
m68k-elf-gcc: error: /opt/toolchains/gen//m68k-elf/lib/gcc/m68k-elf//libgcc.a: No existe el fichero o el directorio (<- File not found in spanish)
Makefile:121: recipe for target 'out.elf' failed
make: ** [out.elf] Error 1
Looking a bit, I see that libgcc.a is in lib64 directory (I'm in a x86-64 machine). Any way to fix this ?
I've given up at this point... It works in SGDK but not Gendev.
I'm hoping someone can help me here...
So I have the bitmap tutorial with the moon. But I can't seem to get the damn thing to compile... :(
I'm getting this error.
src/main.c: In function ‘main’: src/main.c:12:17: error: ‘Image {aka const struct <anonymous>}’ has no member named ‘w’ u16 w = moon.w; ^ src/main.c:14:17: error: ‘Image {aka const struct <anonymous>}’ has no member named ‘h’ u16 h = moon.h; ^ src/main.c:24:29: error: ‘Image {aka const struct <anonymous>}’ has no member named ‘image’ VDP_loadBMPTileData(moon.image, 1, w / 8, h / 8, w / 8);
This also happens with the projects inside the sgdk-read-only sample directory.
Any help with me getting SGDK up and running on Linux would be greatly appreciated.
Cheers! 🥂
In ArchLinux, compilation ends with:
../../gcc-4.8.2/gcc/doc/gcc.texi: 88: warning: @tex should only appear at the begginning of a line
../../gcc-4.8.2/gcc/doc/gcc.texi: 208: there is no corresponding '@EnD text'
../../gcc-4.8.2/gcc/doc/gcc.texi: 208: there is no corresponding '@EnD multitable'
../../gcc-4.8.2/gcc/doc/gcc.texi: 208: there is no corresponding '@EnD titlepage'
With older versions of texinfo (6.1 in Fedora 24, for example) works well.
What steps will reproduce the problem?
1. cd skeleton
2. make
3.
What is the expected output? What do you see instead?
sys.c : undefined reference to main() errors
What version of the product are you using? On what operating system?
Ubuntu 14.04
Please provide any additional information below.
Will try rebuilding tonight and email output tomorrow!
Original issue reported on code.google.com by [email protected]
on 14 Aug 2014 at 3:59
What steps will reproduce the problem?
1 $ svn checkout http://gendev.googlecode.com/svn/trunk/ gendev-read-only
2 $ cd gendev-read-only
3 $ make
What is the expected output? What do you see instead?
> if [ xinfo = xinfo ]; then \
> makeinfo --split-size=5000000 --split-size=5000000 --no-split -I . -I
../../gcc-4.5.2/gcc/doc \
> -I ../../gcc-4.5.2/gcc/doc/include -o doc/cpp.info ../..
gcc-4.5.2/gcc/doc/cpp.texi; \
> fi
>../../gcc-4.5.2/gcc/doc/cppopts.texi:763: @itemx must follow @item
What version of the product are you using? On what operating system?
gendev rev 46
Debian Jessie, x86
texinfo 5.2.0.dfsg.1-1
Original issue reported on code.google.com by [email protected]
on 27 Oct 2013 at 7:48
Sorry I might be missing something, but i've followed the read me/wiki setup guide and i'm getting a build error after typing 'make':
newlib-1.19.0/libgloss/hp74x/checksum.c
newlib-1.19.0/libgloss/hp74x/hppa-defs.h
newlib-1.19.0/libgloss/unlink.c
newlib-1.19.0/libgloss/doc/
newlib-1.19.0/libgloss/doc/configure.in
newlib-1.19.0/libgloss/doc/Makefile.in
newlib-1.19.0/libgloss/doc/configure
newlib-1.19.0/libgloss/doc/porting.texi
newlib-1.19.0/libgloss/mn10300/
newlib-1.19.0/libgloss/mn10300/execv.c
newlib-1.19.0/libgloss/mn10300/trap.h
newlib-1.19.0/libgloss/mn10300/asb2303.ld
newlib-1.19.0/libgloss/mn10300/aclocal.m4
newlib-1.19.0/libgloss/mn10300/open.c
newlib-1.19.0/libgloss/mn10300/trap.S
newlib-1.19.0/libgloss/mn10300/crt0_cygmon.S
newlib-1.19.0/libgloss/mn10300/gettime.c
newlib-1.19.0/libgloss/mn10300/crt0.S
newlib-1.19.0/libgloss/mn10300/getpid.c
newlib-1.19.0/libgloss/mn10300/configure.in
newlib-1.19.0/libgloss/mn10300/creat.c
newlib-1.19.0/libgloss/mn10300/Makefile.in
newlib-1.19.0/libgloss/mn10300/eval.ld
newlib-1.19.0/libgloss/mn10300/lseek.c
newlib-1.19.0/libgloss/mn10300/access.c
newlib-1.19.0/libgloss/mn10300/crt1.c
newlib-1.19.0/libgloss/mn10300/crt0-eval.S
newlib-1.19.0/libgloss/mn10300/_exit.c
newlib-1.19.0/libgloss/mn10300/sim.ld
newlib-1.19.0/libgloss/mn10300/chmod.c
newlib-1.19.0/libgloss/mn10300/pipe.c
newlib-1.19.0/libgloss/mn10300/write.c
newlib-1.19.0/libgloss/mn10300/utime.c
newlib-1.19.0/libgloss/mn10300/test.c
newlib-1.19.0/libgloss/mn10300/close.c
newlib-1.19.0/libgloss/mn10300/wait.c
newlib-1.19.0/libgloss/mn10300/sbrk.c
newlib-1.19.0/libgloss/mn10300/read.c
newlib-1.19.0/libgloss/mn10300/chown.c
newlib-1.19.0/libgloss/mn10300/asb2305.ld
newlib-1.19.0/libgloss/mn10300/configure
newlib-1.19.0/libgloss/mn10300/stat.c
newlib-1.19.0/libgloss/mn10300/isatty.c
newlib-1.19.0/libgloss/mn10300/cygmon.c
newlib-1.19.0/libgloss/mn10300/kill.c
newlib-1.19.0/libgloss/mn10300/fstat.c
newlib-1.19.0/libgloss/mn10300/crt0_redboot.S
newlib-1.19.0/libgloss/mn10300/time.c
newlib-1.19.0/libgloss/mn10300/execve.c
newlib-1.19.0/libgloss/mn10300/unlink.c
newlib-1.19.0/libgloss/mn10300/fork.c
newlib-1.19.0/libgloss/mn10300/times.c
newlib-1.19.0/libgloss/mn10200/
newlib-1.19.0/libgloss/mn10200/execv.c
newlib-1.19.0/libgloss/mn10200/trap.h
newlib-1.19.0/libgloss/mn10200/aclocal.m4
newlib-1.19.0/libgloss/mn10200/open.c
newlib-1.19.0/libgloss/mn10200/trap.S
newlib-1.19.0/libgloss/mn10200/gettime.c
newlib-1.19.0/libgloss/mn10200/crt0.S
newlib-1.19.0/libgloss/mn10200/getpid.c
newlib-1.19.0/libgloss/mn10200/configure.in
newlib-1.19.0/libgloss/mn10200/creat.c
newlib-1.19.0/libgloss/mn10200/Makefile.in
newlib-1.19.0/libgloss/mn10200/eval.ld
newlib-1.19.0/libgloss/mn10200/lseek.c
newlib-1.19.0/libgloss/mn10200/access.c
newlib-1.19.0/libgloss/mn10200/crt1.c
newlib-1.19.0/libgloss/mn10200/_exit.c
newlib-1.19.0/libgloss/mn10200/sim.ld
newlib-1.19.0/libgloss/mn10200/chmod.c
newlib-1.19.0/libgloss/mn10200/pipe.c
newlib-1.19.0/libgloss/mn10200/write.c
newlib-1.19.0/libgloss/mn10200/utime.c
newlib-1.19.0/libgloss/mn10200/test.c
newlib-1.19.0/libgloss/mn10200/close.c
newlib-1.19.0/libgloss/mn10200/wait.c
newlib-1.19.0/libgloss/mn10200/sbrk.c
newlib-1.19.0/libgloss/mn10200/read.c
newlib-1.19.0/libgloss/mn10200/chown.c
newlib-1.19.0/libgloss/mn10200/configure
newlib-1.19.0/libgloss/mn10200/stat.c
newlib-1.19.0/libgloss/mn10200/isatty.c
newlib-1.19.0/libgloss/mn10200/kill.c
newlib-1.19.0/libgloss/mn10200/fstat.c
newlib-1.19.0/libgloss/mn10200/time.c
newlib-1.19.0/libgloss/mn10200/execve.c
newlib-1.19.0/libgloss/mn10200/unlink.c
newlib-1.19.0/libgloss/mn10200/fork.c
newlib-1.19.0/libgloss/mn10200/times.c
newlib-1.19.0/libgloss/frv/
newlib-1.19.0/libgloss/frv/aclocal.m4
newlib-1.19.0/libgloss/frv/crt0.S
newlib-1.19.0/libgloss/frv/sim-exit.S
newlib-1.19.0/libgloss/frv/getpid.c
newlib-1.19.0/libgloss/frv/configure.in
newlib-1.19.0/libgloss/frv/Makefile.in
newlib-1.19.0/libgloss/frv/sim-close.S
newlib-1.19.0/libgloss/frv/sim-unlink.S
newlib-1.19.0/libgloss/frv/sim-inbyte.c
newlib-1.19.0/libgloss/frv/sbrk.c
newlib-1.19.0/libgloss/frv/sim-lseek.S
newlib-1.19.0/libgloss/frv/sim-open.S
newlib-1.19.0/libgloss/frv/configure
newlib-1.19.0/libgloss/frv/stat.c
newlib-1.19.0/libgloss/frv/isatty.c
newlib-1.19.0/libgloss/frv/putnum.c
newlib-1.19.0/libgloss/frv/sim-time.c
newlib-1.19.0/libgloss/frv/print.c
newlib-1.19.0/libgloss/frv/sim-write.S
newlib-1.19.0/libgloss/frv/kill.c
newlib-1.19.0/libgloss/frv/fstat.c
newlib-1.19.0/libgloss/frv/sim-read.S
newlib-1.19.0/libgloss/microblaze/
newlib-1.19.0/libgloss/microblaze/xil_sbrk.c
newlib-1.19.0/libgloss/microblaze/sim-pgcrtinit.S
newlib-1.19.0/libgloss/microblaze/_program_init.S
newlib-1.19.0/libgloss/microblaze/crt0.S
newlib-1.19.0/libgloss/microblaze/configure.in
newlib-1.19.0/libgloss/microblaze/crt1.S
newlib-1.19.0/libgloss/microblaze/xilinx.ld
newlib-1.19.0/libgloss/microblaze/Makefile.in
newlib-1.19.0/libgloss/microblaze/xil_malloc.c
newlib-1.19.0/libgloss/microblaze/_exception_handler.S
newlib-1.19.0/libgloss/microblaze/crt4.S
newlib-1.19.0/libgloss/microblaze/pgcrtinit.S
newlib-1.19.0/libgloss/microblaze/sim-crtinit.S
newlib-1.19.0/libgloss/microblaze/sbrk.c
newlib-1.19.0/libgloss/microblaze/_program_clean.S
newlib-1.19.0/libgloss/microblaze/configure
newlib-1.19.0/libgloss/microblaze/crt2.S
newlib-1.19.0/libgloss/microblaze/timer.c
newlib-1.19.0/libgloss/microblaze/_hw_exception_handler.S
newlib-1.19.0/libgloss/microblaze/_interrupt_handler.S
newlib-1.19.0/libgloss/microblaze/crt3.S
newlib-1.19.0/libgloss/microblaze/crtinit.S
newlib-1.19.0/libgloss/sh/
newlib-1.19.0/libgloss/sh/sh3lcevb.ld
newlib-1.19.0/libgloss/sh/sh2lcevb.ld
newlib-1.19.0/libgloss/sh/sh1lcevb.ld
newlib-1.19.0/libgloss/sh/sh3bb.ld
newlib-1.19.0/COPYING.LIB
newlib-1.19.0/ltsugar.m4
newlib-1.19.0/Makefile.def
newlib-1.19.0/ltmain.sh
newlib-1.19.0/depcomp
newlib-1.19.0/Makefile.in
newlib-1.19.0/ChangeLog
newlib-1.19.0/Makefile.tpl
newlib-1.19.0/.cvsignore
newlib-1.19.0/ylwrap
newlib-1.19.0/makefile.vms
newlib-1.19.0/config.rpath
newlib-1.19.0/configure.ac
newlib-1.19.0/missing
newlib-1.19.0/COPYING.LIBGLOSS
newlib-1.19.0/texinfo/
newlib-1.19.0/texinfo/texinfo.tex
newlib-1.19.0/COPYING3.LIB
newlib-1.19.0/ltgcc.m4
newlib-1.19.0/config.sub
newlib-1.19.0/COPYING
newlib-1.19.0/configure
newlib-1.19.0/config.guess
newlib-1.19.0/libtool.m4
newlib-1.19.0/config/
newlib-1.19.0/config/lib-ld.m4
newlib-1.19.0/config/glibc21.m4
newlib-1.19.0/config/lib-link.m4
newlib-1.19.0/config/bootstrap-lto.mk
newlib-1.19.0/config/lthostflags.m4
newlib-1.19.0/config/mh-sco
newlib-1.19.0/config/inttypes-pri.m4
newlib-1.19.0/config/no-executables.m4
newlib-1.19.0/config/unwind_ipinfo.m4
newlib-1.19.0/config/largefile.m4
newlib-1.19.0/config/codeset.m4
newlib-1.19.0/config/mt-sde
newlib-1.19.0/config/warnings.m4
newlib-1.19.0/config/tls.m4
newlib-1.19.0/config/bootstrap-debug-lib.mk
newlib-1.19.0/config/multi.m4
newlib-1.19.0/config/stdint.m4
newlib-1.19.0/config/elf.m4
newlib-1.19.0/config/mt-spu
newlib-1.19.0/config/bootstrap-O1.mk
newlib-1.19.0/config/mt-alphaieee
newlib-1.19.0/config/mh-pa-hpux10
newlib-1.19.0/config/ChangeLog
newlib-1.19.0/config/mh-dgux386
newlib-1.19.0/config/bootstrap-O3.mk
newlib-1.19.0/config/cloog.m4
newlib-1.19.0/config/extensions.m4
newlib-1.19.0/config/mt-wince
newlib-1.19.0/config/mh-solaris
newlib-1.19.0/config/mh-x86omitfp
newlib-1.19.0/config/plugins.m4
newlib-1.19.0/config/inttypes.m4
newlib-1.19.0/config/mh-lynxrs6k
newlib-1.19.0/config/bootstrap-debug-big.mk
newlib-1.19.0/config/depstand.m4
newlib-1.19.0/config/proginstall.m4
newlib-1.19.0/config/mh-necv4
newlib-1.19.0/config/mh-cxux
newlib-1.19.0/config/mt-mips16-compat
newlib-1.19.0/config/mh-interix
newlib-1.19.0/config/nls.m4
newlib-1.19.0/config/gxx-include-dir.m4
newlib-1.19.0/config/mh-pa
newlib-1.19.0/config/mt-netware
newlib-1.19.0/config/mh-mingw
newlib-1.19.0/config/acx.m4
newlib-1.19.0/config/acinclude.m4
newlib-1.19.0/config/mh-sysv4
newlib-1.19.0/config/progtest.m4
newlib-1.19.0/config/mt-v810
newlib-1.19.0/config/mh-ncr3000
newlib-1.19.0/config/mt-gnu
newlib-1.19.0/config/dfp.m4
newlib-1.19.0/config/bootstrap-debug-ckovw.mk
newlib-1.19.0/config/tcl.m4
newlib-1.19.0/config/intdiv0.m4
newlib-1.19.0/config/mh-decstation
newlib-1.19.0/config/gettext.m4
newlib-1.19.0/config/inttypes_h.m4
newlib-1.19.0/config/lib-prefix.m4
newlib-1.19.0/config/futex.m4
newlib-1.19.0/config/gc++filt.m4
newlib-1.19.0/config/lcmessage.m4
newlib-1.19.0/config/mt-ospace
newlib-1.19.0/config/mh-ppc-aix
newlib-1.19.0/config/bootstrap-time.mk
newlib-1.19.0/config/ulonglong.m4
newlib-1.19.0/config/mh-sysv5
newlib-1.19.0/config/po.m4
newlib-1.19.0/config/iconv.m4
newlib-1.19.0/config/mh-cygwin
newlib-1.19.0/config/mt-d30v
newlib-1.19.0/config/lead-dot.m4
newlib-1.19.0/config/enable.m4
newlib-1.19.0/config/gettext-sister.m4
newlib-1.19.0/config/zlib.m4
newlib-1.19.0/config/mt-mips-elfoabi
newlib-1.19.0/config/mh-djgpp
newlib-1.19.0/config/override.m4
newlib-1.19.0/config/bootstrap-debug-lean.mk
newlib-1.19.0/config/uintmax_t.m4
newlib-1.19.0/config/ld-symbolic.m4
newlib-1.19.0/config/mh-darwin
newlib-1.19.0/config/stdint_h.m4
newlib-1.19.0/config/mt-mips-gnu
newlib-1.19.0/config/bootstrap-debug.mk
newlib-1.19.0/config/mt-mep
newlib-1.19.0/COPYING.NEWLIB
newlib-1.19.0/lt~obsolete.m4
newlib-1.19.0/README
newlib-1.19.0/mkinstalldirs
newlib-1.19.0/ltoptions.m4
newlib-1.19.0/COPYING3
newlib-1.19.0/move-if-change
newlib-1.19.0/install-sh
newlib-1.19.0/mkdep
newlib-1.19.0/MAINTAINERS
newlib-1.19.0/ltversion.m4
newlib-1.19.0/config-ml.in
newlib-1.19.0/README-maintainer-mode
newlib-1.19.0/setup.com
echo "Build"
Build
cd work &&
MAKE=make make -f ../gen_gcc/makefile-gen build-m68k
make[1]: Entering directory `/home/a/gendev/work'
+++ Building binutils-2.24 to build-binutils-m68k-elf-2.24...
mkdir -p build-binutils-m68k-elf-2.24
/home/a/gendev/work/logs/build-binutils-m68k-elf-2.24.log
cd build-binutils-m68k-elf-2.24; ../binutils-2.24/configure --target=m68k-elf --prefix=/opt/toolchains/gen/m68k-elf --enable-install-libbfd --disable-werror >> /home/a/gendev/work/logs/build-binutils-m68k-elf-2.24.log 2>&1
make -C build-binutils-m68k-elf-2.24 all install DESTDIR= >> /home/a/gendev/work/logs/build-binutils-m68k-elf-2.24.log 2>&1
+++ Building gcc-4.8.2 to build-gcc-m68k-elf-4.8.2 (pass 1)...
mkdir -p build-gcc-m68k-elf-4.8.2
/home/a/gendev/work/logs/build-gcc-m68k-elf-4.8.2-pass1.log
cd build-gcc-m68k-elf-4.8.2; ../gcc-4.8.2/configure --target=m68k-elf --prefix=/opt/toolchains/gen/m68k-elf --without-headers --with-newlib --enable-languages=c --disable-libssp --disable-tls --with-cpu=m68000 --disable-werror >> /home/a/gendev/work/logs/build-gcc-m68k-elf-4.8.2-pass1.log 2>&1
make -C build-gcc-m68k-elf-4.8.2 all install DESTDIR= >> /home/a/gendev/work/logs/build-gcc-m68k-elf-4.8.2-pass1.log 2>&1
+++ Building newlib-1.19.0 to build-newlib-m68k-elf-1.19.0...
mkdir -p build-newlib-m68k-elf-1.19.0
/home/a/gendev/work/logs/build-newlib-m68k-elf-1.19.0.log
cd build-newlib-m68k-elf-1.19.0; ../newlib-1.19.0/configure --target=m68k-elf --prefix=/opt/toolchains/gen/m68k-elf --with-cpu=m68000 --disable-werror >> /home/a/gendev/work/logs/build-newlib-m68k-elf-1.19.0.log 2>&1
make -C build-newlib-m68k-elf-1.19.0 all install DESTDIR= >> /home/a/gendev/work/logs/build-newlib-m68k-elf-1.19.0.log 2>&1
+++ Building gcc-4.8.2 to build-gcc-m68k-elf-4.8.2 (pass 2)...
mkdir -p build-gcc-m68k-elf-4.8.2
/home/a/gendev/work/logs/build-gcc-m68k-elf-4.8.2-pass2.log
cd build-gcc-m68k-elf-4.8.2; ../gcc-4.8.2/configure --target=m68k-elf --prefix=/opt/toolchains/gen/m68k-elf --with-newlib --disable-libssp --disable-tls
--enable-threads=single --enable-languages=c --with-cpu=m68000 --disable-werror >> /home/a/gendev/work/logs/build-gcc-m68k-elf-4.8.2-pass2.log 2>&1
make -C build-gcc-m68k-elf-4.8.2 all install DESTDIR= >> /home/a/gendev/work/logs/build-gcc-m68k-elf-4.8.2-pass2.log 2>&1
make[1]: Leaving directory/home/a/gendev/work' cp extras/scripts/* /opt/toolchains/gen/bin/. cp: omitting directory ‘extras/scripts/timez80’ make: [tools] Error 1 (ignored) echo "Done with tools." Done with tools. cd sgdk && make install make[1]: Entering directory
/home/a/gendev/sgdk'
cd sgdk-read-only/tools/bintos/src &&
gcc -o bintos bintos.c && cp bintos /opt/toolchains/gen//bin/.
cd sgdk-read-only/tools/pcmtoraw/src &&
gcc -o pcmtoraw pcmtoraw.c && cp pcmtoraw /opt/toolchains/gen//bin/.
cd sgdk-read-only/tools/sizebnd/src &&
gcc -o sizebnd sizebnd.c && cp sizebnd /opt/toolchains/gen//bin/.
cd sgdk-read-only/tools/wavtoraw/src &&
gcc -o wavtoraw wavtoraw.c -lm && cp wavtoraw /opt/toolchains/gen//bin/.
wavtoraw.c: In function ‘main’:
wavtoraw.c:59:5: warning: format ‘%c’ expects argument of type ‘char _’, but argument 3 has type ‘uint32_t *’ [-Wformat=]
saferead( infile, "%4c", &nChunkSize );
^
wavtoraw.c:62:5: warning: format ‘%c’ expects argument of type ‘char *’, but argument 3 has type ‘uint32_t *’ [-Wformat=]
saferead( infile, "%4c", &nChunkSize );
^
wavtoraw.c:63:5: warning: format ‘%c’ expects argument of type ‘char *’, but argument 3 has type ‘short int *’ [-Wformat=]
saferead( infile, "%2c", &wFormatTag );
^
wavtoraw.c:64:5: warning: format ‘%c’ expects argument of type ‘char *’, but argument 3 has type ‘short int *’ [-Wformat=]
saferead( infile, "%2c", &nChannels );
^
wavtoraw.c:65:5: warning: format ‘%c’ expects argument of type ‘char *’, but argument 3 has type ‘uint32_t *’ [-Wformat=]
saferead( infile, "%4c", &nSamplesPerSecond );
^
wavtoraw.c:66:5: warning: format ‘%c’ expects argument of type ‘char *’, but argument 3 has type ‘uint32_t *’ [-Wformat=]
saferead( infile, "%4c", &nBytesPerSecond );
^
wavtoraw.c:67:5: warning: format ‘%c’ expects argument of type ‘char *’, but argument 3 has type ‘short int *’ [-Wformat=]
saferead( infile, "%2c", &nBlockAlign );
^
wavtoraw.c:68:5: warning: format ‘%c’ expects argument of type ‘char *’, but argument 3 has type ‘short int *’ [-Wformat=]
saferead( infile, "%2c", &nBitsPerSample );
^
wavtoraw.c:72:9: warning: format ‘%c’ expects argument of type ‘char *’, but argument 3 has type ‘int *’ [-Wformat=]
saferead( infile, "%1c", &j);
^
wavtoraw.c:75:5: warning: format ‘%c’ expects argument of type ‘char *’, but argument 3 has type ‘uint32_t *’ [-Wformat=]
saferead( infile, "%4c", &nChunkSize );
^
wavtoraw.c: In function ‘nextSample’:
wavtoraw.c:174:17: warning: format ‘%c’ expects argument of type ‘char *’, but argument 3 has type ‘short int *’ [-Wformat=]
fscanf( file, "%2c", &w );
^
wavtoraw.c:179:17: warning: format ‘%c’ expects argument of type ‘char *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf( file, "%3c", &l );
^
wavtoraw.c:184:17: warning: format ‘%c’ expects argument of type ‘char *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf( file, "%4c", &l );
^
cd sgdk-read-only/tools/xgmtool &&
make -f ../../../files/Makefile.xgmtool && cp out/xgmtool /opt/toolchains/gen//bin/.
make[2]: Entering directory/home/a/gendev/sgdk/sgdk-read-only/tools/xgmtool' ../../../files/Makefile.xgmtool:118: warning: overriding commands for target
out/src/psg.o'
../../../files/Makefile.xgmtool:63: warning: ignoring old commands for targetout/src/psg.o' ../../../files/Makefile.xgmtool:121: warning: overriding commands for target
out/src/ym2612.o'
../../../files/Makefile.xgmtool:66: warning: ignoring old commands for targetout/src/ym2612.o' ../../../files/Makefile.xgmtool:124: warning: overriding commands for target
out/src/xgmtool.o'
../../../files/Makefile.xgmtool:69: warning: ignoring old commands for targetout/src/xgmtool.o' ../../../files/Makefile.xgmtool:127: warning: overriding commands for target
out/src/xgmsmp.o'
../../../files/Makefile.xgmtool:72: warning: ignoring old commands for targetout/src/xgmsmp.o' ../../../files/Makefile.xgmtool:130: warning: overriding commands for target
out/src/xgmcom.o'
../../../files/Makefile.xgmtool:75: warning: ignoring old commands for targetout/src/xgmcom.o' ../../../files/Makefile.xgmtool:133: warning: overriding commands for target
out/src/xgm.o'
../../../files/Makefile.xgmtool:78: warning: ignoring old commands for targetout/src/xgm.o' ../../../files/Makefile.xgmtool:136: warning: overriding commands for target
out/src/xgccom.o'
../../../files/Makefile.xgmtool:81: warning: ignoring old commands for targetout/src/xgccom.o' ../../../files/Makefile.xgmtool:139: warning: overriding commands for target
out/src/xgc.o'
../../../files/Makefile.xgmtool:84: warning: ignoring old commands for targetout/src/xgc.o' ../../../files/Makefile.xgmtool:142: warning: overriding commands for target
out/src/vgmcom.o'
../../../files/Makefile.xgmtool:87: warning: ignoring old commands for targetout/src/vgmcom.o' ../../../files/Makefile.xgmtool:145: warning: overriding commands for target
out/src/vgm.o'
../../../files/Makefile.xgmtool:90: warning: ignoring old commands for targetout/src/vgm.o' ../../../files/Makefile.xgmtool:148: warning: overriding commands for target
out/src/util.o'
../../../files/Makefile.xgmtool:93: warning: ignoring old commands for targetout/src/util.o' ../../../files/Makefile.xgmtool:151: warning: overriding commands for target
out/src/samplebank.o'
../../../files/Makefile.xgmtool:96: warning: ignoring old commands for targetout/src/samplebank.o' ../../../files/Makefile.xgmtool:154: warning: overriding commands for target
out/src/gd3.o'
../../../files/Makefile.xgmtool:99: warning: ignoring old commands for targetout/src/gd3.o' test -d out || mkdir -p out test -d out/src || mkdir -p out/src g++ -o out/xgmtool out/src/psg.o out/src/ym2612.o out/src/xgmtool.o out/src/xgmsmp.o out/src/xgmcom.o out/src/xgm.o out/src/xgccom.o out/src/xgc.o out/src/vgmcom.o out/src/vgm.o out/src/util.o out/src/samplebank.o out/src/gd3.o -s test -d out || mkdir -p out test -d out/src || mkdir -p out/src g++ -o out/xgmtool out/src/psg.o out/src/ym2612.o out/src/xgmtool.o out/src/xgmsmp.o out/src/xgmcom.o out/src/xgm.o out/src/xgccom.o out/src/xgc.o out/src/vgmcom.o out/src/vgm.o out/src/util.o out/src/samplebank.o out/src/gd3.o make[2]: Leaving directory
/home/a/gendev/sgdk/sgdk-read-only/tools/xgmtool'
cd sgdk-read-only/tools/rescomp &&
patch -u -p0 < ../../../files/rescomp.diff &&
make -f ../../../files/Makefile.rescomp && cp out/rescomp /opt/toolchains/gen//bin/.
patching file inc/tools.h
patching file src/tools.c
make[2]: Entering directory/home/a/gendev/sgdk/sgdk-read-only/tools/rescomp' ../../../files/Makefile.rescomp:136: warning: overriding commands for target
out/src/snd_tools.o'
../../../files/Makefile.rescomp:63: warning: ignoring old commands for targetout/src/snd_tools.o' ../../../files/Makefile.rescomp:139: warning: overriding commands for target
out/src/bin.o'
../../../files/Makefile.rescomp:66: warning: ignoring old commands for targetout/src/bin.o' ../../../files/Makefile.rescomp:142: warning: overriding commands for target
out/src/bitmap.o'
../../../files/Makefile.rescomp:69: warning: ignoring old commands for targetout/src/bitmap.o' ../../../files/Makefile.rescomp:145: warning: overriding commands for target
out/src/image.o'
../../../files/Makefile.rescomp:72: warning: ignoring old commands for targetout/src/image.o' ../../../files/Makefile.rescomp:148: warning: overriding commands for target
out/src/img_tools.o'
../../../files/Makefile.rescomp:75: warning: ignoring old commands for targetout/src/img_tools.o' ../../../files/Makefile.rescomp:151: warning: overriding commands for target
out/src/libpng.o'
../../../files/Makefile.rescomp:78: warning: ignoring old commands for targetout/src/libpng.o' ../../../files/Makefile.rescomp:154: warning: overriding commands for target
out/src/map.o'
../../../files/Makefile.rescomp:81: warning: ignoring old commands for targetout/src/map.o' ../../../files/Makefile.rescomp:157: warning: overriding commands for target
out/src/palette.o'
../../../files/Makefile.rescomp:84: warning: ignoring old commands for targetout/src/palette.o' ../../../files/Makefile.rescomp:160: warning: overriding commands for target
out/src/pcm.o'
../../../files/Makefile.rescomp:87: warning: ignoring old commands for targetout/src/pcm.o' ../../../files/Makefile.rescomp:163: warning: overriding commands for target
out/src/rescomp.o'
../../../files/Makefile.rescomp:90: warning: ignoring old commands for targetout/src/rescomp.o' ../../../files/Makefile.rescomp:166: warning: overriding commands for target
out/src/spr_tools.o'
../../../files/Makefile.rescomp:93: warning: ignoring old commands for targetout/src/spr_tools.o' ../../../files/Makefile.rescomp:169: warning: overriding commands for target
out/src/sprite.o'
../../../files/Makefile.rescomp:96: warning: ignoring old commands for targetout/src/sprite.o' ../../../files/Makefile.rescomp:172: warning: overriding commands for target
out/src/tfmmusic.o'
../../../files/Makefile.rescomp:99: warning: ignoring old commands for targetout/src/tfmmusic.o' ../../../files/Makefile.rescomp:175: warning: overriding commands for target
out/src/tile_tools.o'
../../../files/Makefile.rescomp:102: warning: ignoring old commands for targetout/src/tile_tools.o' ../../../files/Makefile.rescomp:178: warning: overriding commands for target
out/src/tileset.o'
../../../files/Makefile.rescomp:105: warning: ignoring old commands for targetout/src/tileset.o' ../../../files/Makefile.rescomp:181: warning: overriding commands for target
out/src/tools.o'
../../../files/Makefile.rescomp:108: warning: ignoring old commands for targetout/src/tools.o' ../../../files/Makefile.rescomp:184: warning: overriding commands for target
out/src/vgmmusic.o'
../../../files/Makefile.rescomp:111: warning: ignoring old commands for targetout/src/vgmmusic.o' ../../../files/Makefile.rescomp:187: warning: overriding commands for target
out/src/wav.o'
../../../files/Makefile.rescomp:114: warning: ignoring old commands for targetout/src/wav.o' ../../../files/Makefile.rescomp:190: warning: overriding commands for target
out/src/xgmmusic.o'
../../../files/Makefile.rescomp:117: warning: ignoring old commands for targetout/src/xgmmusic.o' test -d out || mkdir -p out test -d out/src || mkdir -p out/src gcc -Wall -O2 -c src/tools.c -o out/src/tools.o src/tools.c: In function ‘packEx’: src/tools.c:543:30: warning: variable ‘size4’ set but not used [-Wunused-but-set-variable] int size1, size2, size3, size4; ^ src/tools.c: In function ‘readFile’: src/tools.c:277:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread(data, 1, *size, f); ^ src/tools.c: In function ‘appack’: src/tools.c:805:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ src/tools.c: In function ‘maccer’: src/tools.c:690:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ src/tools.c: In function ‘tfmcom’: src/tools.c:720:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system(cmd); ^ g++ -o out/rescomp out/src/snd_tools.o out/src/bin.o out/src/bitmap.o out/src/image.o out/src/img_tools.o out/src/libpng.o out/src/map.o out/src/palette.o out/src/pcm.o out/src/rescomp.o out/src/spr_tools.o out/src/sprite.o out/src/tfmmusic.o out/src/tile_tools.o out/src/tileset.o out/src/tools.o out/src/vgmmusic.o out/src/wav.o out/src/xgmmusic.o test -d out || mkdir -p out test -d out/src || mkdir -p out/src g++ -o out/rescomp out/src/snd_tools.o out/src/bin.o out/src/bitmap.o out/src/image.o out/src/img_tools.o out/src/libpng.o out/src/map.o out/src/palette.o out/src/pcm.o out/src/rescomp.o out/src/spr_tools.o out/src/sprite.o out/src/tfmmusic.o out/src/tile_tools.o out/src/tileset.o out/src/tools.o out/src/vgmmusic.o out/src/wav.o out/src/xgmmusic.o -s make[2]: Leaving directory
/home/a/gendev/sgdk/sgdk-read-only/tools/rescomp'
cd sgdk-read-only && ln -sf ../files/Makefile.sgdk_lib .
cd sgdk-read-only && make -f Makefile.sgdk_lib
make[2]: Entering directory/home/a/gendev/sgdk/sgdk-read-only' /opt/toolchains/gen//m68k-elf/bin/m68k-elf-gcc -Dnologo_ -m68000 -Wall -O1 -c -fomit-frame-pointer -Iinc -Ires -c src/vram.c -o src/vram.o In file included from src/vram.c:7:0: inc/memory.h:199:6: warning: conflicting types for built-in function ‘memset’ [enabled by default] void memset(void *to, u8 value, u16 len); ^ inc/memory.h:242:6: warning: conflicting types for built-in function ‘memcpy’ [enabled by default] void memcpy(void *to, const void *from, u16 len); ^ src/vram.c:161:18: error: unknown type name ‘VRAMRegion’ static u16_ pack(VRAMRegion _region, u16 nsize); ^ src/vram.c:164:24: error: unknown type name ‘VRAMRegion’ void VRAM_createRegion(VRAMRegion *region, u16 startIndex, u16 size) ^ src/vram.c:177:25: error: unknown type name ‘VRAMRegion’ void VRAM_releaseRegion(VRAMRegion *region) ^ src/vram.c:184:23: error: unknown type name ‘VRAMRegion’ void VRAM_clearRegion(VRAMRegion *region) ^ src/vram.c:197:16: error: unknown type name ‘VRAMRegion’ s16 VRAM_alloc(VRAMRegion *region, u16 size) ^ src/vram.c:254:16: error: unknown type name ‘VRAMRegion’ void VRAM_free(VRAMRegion *region, u16 index) ^ src/vram.c:263:18: error: unknown type name ‘VRAMRegion’ u16 VRAM_getFree(VRAMRegion *region) ^ src/vram.c:292:18: error: unknown type name ‘VRAMRegion’ static u16_ pack(VRAMRegion _region, u16 nsize) ^ make[2]: *_\* [src/vram.o] Error 1 make[2]: Leaving directory
/home/a/gendev/sgdk/sgdk-read-only'
make[1]: *** [sgdk-read-only/libmd.a] Error 2
make[1]: Leaving directory`/home/a/gendev/sgdk'
make: *** [/opt/toolchains/gen/m68k-elf/lib/libmd.a] Error 2
a@ubuntu:~/gendev$
Ubuntu 14.04 make is having problems finding a file. (this is my second time running it)
cd work/sjasm &&
unzip ../sjasm39g6.zip &&
cd sjasmsrc39g6 &&
make &&
cp sjasm /opt/toolchains/gen/bin/sjasm &&
chmod +x /opt/toolchains/gen/bin/sjasm
Archive: ../sjasm39g6.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of ../sjasm39g6.zip or
../sjasm39g6.zip.zip, and cannot find ../sjasm39g6.zip.ZIP, period.
make: *** [/opt/toolchains/gen/bin/sjasm] Error 9
Hi ! I'm trying to compile a simple hello world
installed the deb package on ubuntu 21.10
but I'm getting this error on the compile phase ..
any way to debug what's happenning here ?
cheers !
/home/emilio/gendev/bin/m68k-elf-gcc -B/home/emilio/gendev/bin -n -T /home/emilio/gendev/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /home/emilio/gendev/sgdk/lib/libmd.a /home/emilio/gendev/sgdk/lib/libgcc.a -o out/rom.out
/home/emilio/gendev/bin/../lib/gcc/m68k-elf/9.3.0/../../../../m68k-elf/bin/ld: out/sega.o: in function _EXTINT': (.text.keepboot+0x44e): undefined reference to
internalExtIntCB'
/home/emilio/gendev/bin/../lib/gcc/m68k-elf/9.3.0/../../../../m68k-elf/bin/ld: out/sega.o: in function _HINT': (.text.keepboot+0x460): undefined reference to
internalHIntCB'
/home/emilio/gendev/bin/../lib/gcc/m68k-elf/9.3.0/../../../../m68k-elf/bin/ld: out/sega.o: in function _VINT': (.text.keepboot+0x472): undefined reference to
internalVIntCB'
collect2: error: ld returned 1 exit status
The latest toolchain requires an updated sega.s to function. Anyone using the current gendev will produce broken binaries.
Hi, i've tried to use gendev to compile the hello world example under linux (debian and mint) but i only get a rom file that gives me a black screen. The windows version using codeblocks worked fine btw.
I've started a post in spriteminds asking for help, there are the terminal logs. Could you help me undestand how to use it? its posible to use codeblocks or any other ide?
http://gendev.spritesmind.net/forum/viewtopic.php?f=19&t=2304
Hi,
I created a "hello world" project by copying sgdk/skeleton content and not able to build it:
v4ld3r5@debian:~/src/gendev/examples/3d_example$ make
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -O2 -c -fomit-frame-pointer -I. -I/opt/gendev/m68k-elf/include -I/opt/gendev/m68k-elf/include -Isrc -Ires -c boot/rom_head.c -o boot/rom_head.o
boot/rom_head.c:1:19: fatal error: types.h: No such file or directory
^
compilation terminated.
Makefile:147: recipe for target 'boot/rom_head.o' failed
make: *** [boot/rom_head.o] Error 1
v4ld3r5@debian:~/src/gendev/examples/3d_example$ make
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -O2 -c -fomit-frame-pointer -I. -I/opt/gendev/m68k-elf/include -I/opt/gendev/m68k-elf/include -I/opt/gendev/sgdk/inc -Isrc -Ires -c boot/rom_head.c -o boot/rom_head.o
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/ldscripts/sgdk.ld -Map=output.map -nostdlib --oformat binary -o boot/rom_head.bin boot/rom_head.o
/opt/gendev/bin/m68k-elf-ld: cannot open linker script file /opt/gendev/ldscripts/sgdk.ld: No such file or directory
Makefile:199: recipe for target 'boot/rom_head.bin' failed
make: *** [boot/rom_head.bin] Error 1
v4ld3r5@debian:~/src/gendev/examples/3d_example$ make
/opt/gendev/bin/m68k-elf-ld -T /opt/gendev/ldscripts/sgdk.ld -Map=output.map -nostdlib --oformat binary -o boot/rom_head.bin boot/rom_head.o
/opt/gendev/bin/m68k-elf-as -m68000 --register-prefix-optional boot/sega.s -o boot/sega.o
/opt/gendev/bin/m68k-elf-gcc -m68000 -Wall -O2 -c -fomit-frame-pointer -I. -I/opt/gendev/m68k-elf/include -I/opt/gendev/m68k-elf/include -I/opt/gendev/sgdk/inc -Isrc -Ires -c main.c -o main.o
In file included from /opt/gendev/sgdk/inc/genesis.h:11:0,
from main.c:1:
/opt/gendev/sgdk/inc/memory.h:210:6: warning: conflicting types for built-in function 'memset'
void memset(void *to, u8 value, u16 len);
^~~~~~
/opt/gendev/sgdk/inc/memory.h:253:6: warning: conflicting types for built-in function 'memcpy'
void memcpy(void *to, const void *from, u16 len);
^~~~~~
In file included from /opt/gendev/sgdk/inc/genesis.h:14:0,
from main.c:1:
/opt/gendev/sgdk/inc/font.h:18:20: fatal error: libres.h: No such file or directory
^
compilation terminated.
Makefile:148: recipe for target 'main.o' failed
make: *** [main.o] Error 1
Br,
Dani
I don't know why, but each time I build a project, after building, the intermediate object files and the elf file, are deleted, just after the the output binary padding. It always looks like this (notice the last line doing the rm):
dd if=temp.bin of=out.bin bs=8K conv=sync
8+1 records in
9+0 records out
73728 bytes (74 kB) copied, 0.000230092 s, 320 MB/s
rm mw/module1.o main.o mw/module2.o out.elf
I had a look to the Makefile, and it's a mystery for me why these files are deleted, as the only places in which $(RM) is invoked, don't look like to be the ones that are deleting these files.
I do not want these files to be deleted, as sometimes I examine them (e.g. disassemble using objdump), but I have no clue why they are deleted.
Awesome project, but the SGDK is outdated, possible to update it to latest version please ?
What is the software license? Is this BSD3 (https://opensource.org/licenses/BSD-3-Clause), like the google code repo for gendev at https://code.google.com/archive/p/gendev/?
When I build the new version, I see that GENDEV/sgdk/mkfiles is empty, because of https://github.com/kubilus1/gendev/blob/master/sgdk/Makefile#L69-L70
My Makefile was including makefile.vars is not usable anymore.
A simple code with a tileset bmp (Tested on Archlinux and Debian, both x86_64)
Make
/opt/toolchains/gen//m68k-elf/bin/m68k-elf-gcc -m68000 -Wall -O2 -c -fomit-frame-pointer -I. -I/opt/toolchains/gen//m68k-elf/include -I/opt/toolchains/gen//m68k-elf/m68k-elf/include -Isrc -Ires -c boot/rom_head.c -o boot/rom_head.o
/opt/toolchains/gen//m68k-elf/bin/m68k-elf-ld -T /opt/toolchains/gen//ldscripts/sgdk.ld -Map=output.map -nostdlib --oformat binary -o boot/rom_head.bin boot/rom_head.o
/opt/toolchains/gen//m68k-elf/bin/m68k-elf-as -m68000 --register-prefix-optional boot/sega.s -o boot/sega.o
/opt/toolchains/gen//bin/rescomp res/rescomp.res res/rescomp.s
rescomp v1.4
Resource: PALETTE testpal "testpal.bmp"
executing plugin PALETTE...
aPLib example Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
All Rights Reserved
http://www.ibsensoftware.com/
===============================================================================
compressed 2048 -> 302 bytes (14%) in 0.00 seconds
Packed with APLIB, original size = 2048 compressed to 302 (14.7461 %)
make: *** [Makefile:195: res/rescomp.s] Segmentation fault (core dumped) [Core dumped to a file]
make: *** delete file 'res/rescomp.s'
rescomp.res
PALETTE testpal "testpal.bmp"
TILESET test "test.bmp" -1
output.map file
Nombre Origen Longitud Atributos
rom 0x0000000000000000 0x0000000000a00000
ram 0x0000000000ff0000 0x0000000000010000
default 0x0000000000000000 0xffffffffffffffff
Guión del enlazador y mapa de memoria
0x0000000000000000 __DYNAMIC = 0x0
0x0000000001000000 PROVIDE (__stack, 0x1000000)
.text 0x0000000000000000 0x114
*(.text.keepboot)
(.text.)
*(.text)
.text 0x0000000000000000 0x0 boot/rom_head.o
0x0000000000000000 . = ALIGN (0x4)
0x0000000000000000 CTOR_LIST = .
0x0000000000000000 0x4 LONG 0x0 (((CTOR_END - CTOR_LIST) / 0x4) - 0x2)
*(.ctors)
0x0000000000000004 0x4 LONG 0x0
0x0000000000000008 CTOR_END = .
0x0000000000000008 DTOR_LIST = .
0x0000000000000008 0x4 LONG 0x0 (((DTOR_END - DTOR_LIST) / 0x4) - 0x2)
*(.dtors)
0x000000000000000c 0x4 LONG 0x0
0x0000000000000010 DTOR_END = .
(.rodata .rodata.)
.rodata 0x0000000000000010 0x100 boot/rom_head.o
0x0000000000000010 rom_header
(.gcc_except_table .gcc_except_table.)
0x0000000000000110 . = ALIGN (0x4)
0x0000000000000110 INIT_SECTION = .
*(.init)
0x0000000000000110 0x2 SHORT 0x4e75
0x0000000000000112 FINI_SECTION = .
*(.fini)
0x0000000000000112 0x2 SHORT 0x4e75
0x0000000000000114 _etext = .
*(.lit)
0x0000000000000114 _stext = SIZEOF (.text)
.data 0x0000000000ff0000 0x0 dirección de carga 0x0000000000000114
*(.got.plt)
*(.got)
*(.shdata)
(.data .data.)
.data 0x0000000000ff0000 0x0 boot/rom_head.o
0x0000000000ff0000 _edata = .
0x0000000000000000 _sdata = SIZEOF (.data)
.bss 0x0000000000ff0000 0x0 dirección de carga 0x0000000000000114
0x0000000000ff0000 _start = .
*(.shbss)
(.bss .bss.)
.bss 0x0000000000ff0000 0x0 boot/rom_head.o
*(COMMON)
0x0000000000ff0000 _bend = .
.stab
*(.stab)
.stabstr
*(.stabstr)
.eh_frame
*(.eh_frame)
LOAD boot/rom_head.o
OUTPUT(boot/rom_head.bin binary)
.comment 0x0000000000000000 0x12
.comment 0x0000000000000000 0x12 boot/rom_head.o
So I installed Virtual Box and loaded Ubuntu 12 (32-bit) like this tutorial said to
http://www.bytesizeadventures.com/modern-mega-drive-programming-getting-started/
Then did the following terminal commands, and got errors. Can you let me know what I did wrong?
The program 'git' is currently not installed. You can install it by typing:
sudo apt-get install git
segadev@segadev-PC:~$ sudo apt-get install git
[sudo] password for segadev:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
git-man liberror-perl
Suggested packages:
git-daemon-run git-daemon-sysvinit git-doc git-el git-arch
git-cvs git-svn git-email git-gui gitk gitweb
The following NEW packages will be installed:
git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 330 not upgraded.
Need to get 6,646 kB of archives.
After this operation, 15.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main git-man all 1:1.7.9.5-1ubuntu0.3 [632 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main git i386 1:1.7.9.5-1ubuntu0.3 [5,990 kB]
Fetched 6,646 kB in 9s (691 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 145661 files and directories currently installed.)
Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...
Selecting previously unselected package git-man.
Unpacking git-man (from .../git-man_1%3a1.7.9.5-1ubuntu0.3_all.deb) ...
Selecting previously unselected package git.
Unpacking git (from .../git_1%3a1.7.9.5-1ubuntu0.3_i386.deb) ...
Processing triggers for man-db ...
Setting up liberror-perl (0.17-1) ...
Setting up git-man (1:1.7.9.5-1ubuntu0.3) ...
Setting up git (1:1.7.9.5-1ubuntu0.3) ...
segadev@segadev-PC:~$ git clone https://github.com/kubilus1/gendev.git
Cloning into 'gendev'...
remote: Counting objects: 991, done.
remote: Total 991 (delta 0), reused 0 (delta 0), pack-reused 991
Receiving objects: 100% (991/991), 217.45 MiB | 4.51 MiB/s, done.
Resolving deltas: 100% (397/397), done.
segadev@segadev-PC:~$ cd gendev
segadev@segadev-PC:~/gendev$ make
[ -d work ] || mkdir work
#cd work && wget http://ftp.gnu.org/gnu/gcc/gcc-6.3.0/gcc-6.3.0.tar.bz2
cp files/`basename work/gcc-6.3.0.tar.bz2` work/gcc-6.3.0.tar.bz2
cd work && \
tar xjf gcc-6.3.0.tar.bz2
#cd work && wget http://www.mpfr.org/mpfr-2.4.2/mpfr-2.4.2.tar.bz2
cp files/`basename work/mpfr-2.4.2.tar.bz2` work/mpfr-2.4.2.tar.bz2
cd work && \
tar xjf mpfr-2.4.2.tar.bz2 && \
mv mpfr-2.4.2 gcc-6.3.0/mpfr
#cd work && wget http://www.multiprecision.org/mpc/download/mpc-0.8.2.tar.gz
cp files/`basename work/mpc-0.8.2.tar.gz` work/mpc-0.8.2.tar.gz
cd work && \
tar xzf mpc-0.8.2.tar.gz && \
mv mpc-0.8.2 gcc-6.3.0/mpc
#cd work && wget ftp://ftp.gmplib.org/pub/gmp-5.0.5/gmp-5.0.5.tar.bz2
cp files/`basename work/gmp-5.0.5.tar.bz2` work/gmp-5.0.5.tar.bz2
cd work && \
tar xjf gmp-5.0.5.tar.bz2 && \
mv gmp-5.0.5 gcc-6.3.0/gmp
#cd work && wget http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.bz2
cp files/`basename work/binutils-2.24.tar.bz2` work/binutils-2.24.tar.bz2
cd work && \
tar xjf binutils-2.24.tar.bz2
#cd work && wget ftp://sources.redhat.com/pub/newlib/newlib-1.19.0.tar.gz
cp files/`basename work/newlib-1.19.0.tar.gz` work/newlib-1.19.0.tar.gz
cd work && \
tar xzf newlib-1.19.0.tar.gz
if [ -w /opt ]; then \
mkdir -p /opt/toolchains/gen; \
else \
sudo mkdir -p /opt/toolchains/gen; \
sudo chown segadev:segadev /opt/toolchains/gen; \
fi
#sudo chmod 777 /opt/toolchains/gen
echo "Build"
Build
cd work && \
MAKE=make make -f ../gen_gcc/makefile-gen build-m68k
make[1]: Entering directory `/home/segadev/gendev/work'
+++ Building binutils-2.24 to build-binutils-m68k-elf-2.24...
mkdir -p build-binutils-m68k-elf-2.24
> /home/segadev/gendev/work/logs/build-binutils-m68k-elf-2.24.log
cd build-binutils-m68k-elf-2.24; ../binutils-2.24/configure --target=m68k-elf --prefix=/opt/toolchains/gen/m68k-elf --enable-install-libbfd --disable-werror >> /home/segadev/gendev/work/logs/build-binutils-m68k-elf-2.24.log 2>&1
make -C build-binutils-m68k-elf-2.24 all install DESTDIR= >> /home/segadev/gendev/work/logs/build-binutils-m68k-elf-2.24.log 2>&1
+++ Building gcc-6.3.0 to build-gcc-m68k-elf-6.3.0 (pass 1)...
mkdir -p build-gcc-m68k-elf-6.3.0
> /home/segadev/gendev/work/logs/build-gcc-m68k-elf-6.3.0-pass1.log
cd build-gcc-m68k-elf-6.3.0; ../gcc-6.3.0/configure --target=m68k-elf --prefix=/opt/toolchains/gen/m68k-elf --without-headers --with-newlib --enable-languages=c --disable-libssp --disable-tls --with-cpu=m68000 --disable-werror >> /home/segadev/gendev/work/logs/build-gcc-m68k-elf-6.3.0-pass1.log 2>&1
make -C build-gcc-m68k-elf-6.3.0 all install DESTDIR= >> /home/segadev/gendev/work/logs/build-gcc-m68k-elf-6.3.0-pass1.log 2>&1
make[1]: *** [build-m68k-gcc-pass1] Error 2
make[1]: Leaving directory `/home/segadev/gendev/work'
make: *** [toolchain_build] Error 2
segadev@segadev-PC:~/gendev$
segadev@segadev-PC:~/gendev$ ls
Dockerfile extras gen_gcc Makefile README.md work
examples files logdoer.sh pkg sgdk
segadev@segadev-PC:~/gendev$ cd sgdk
segadev@segadev-PC:~/gendev/sgdk$ make install
git clone https://github.com/kubilus1/SGDK.git sgdk-read-only
Cloning into 'sgdk-read-only'...
remote: Counting objects: 2392, done.
remote: Total 2392 (delta 0), reused 0 (delta 0), pack-reused 2392
Receiving objects: 100% (2392/2392), 23.54 MiB | 4.91 MiB/s, done.
Resolving deltas: 100% (1556/1556), done.
#svn co http://sgdk.googlecode.com/svn/trunk sgdk-read-only
#patch -u -p0 < files/sgdk.diff
cd sgdk-read-only/tools/bintos/src && \
gcc -o bintos bintos.c && cp bintos /opt/toolchains/gen//bin/.
cp: cannot create regular file `/opt/toolchains/gen//bin/.': No such file or directory
make: *** [tools] Error 1```
This will effect Raspberry Pi, Pinebook, and Apple M1 users.
I attempted both make
and docker build -t gendev .
and receive the same result.
Results in:
checking build system type... ../newlib-1.19.0/config.guess: unable to guess system type
This script, last modified 2010-04-03, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
If the version you run (../newlib-1.19.0/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <[email protected]> in order to provide the needed
information to handle your system.
config.guess timestamp = 2010-04-03
uname -m = aarch64
uname -r = 5.7.19-1-MANJARO-ARM
uname -s = Linux
uname -v = #1 SMP Wed Sep 2 20:43:09 +03 2020
/usr/bin/uname -p =
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch =
/usr/bin/oslevel =
/usr/convex/getsysinfo =
UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.7.19-1-MANJARO-ARM
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP Wed Sep 2 20:43:09 +03 2020
configure: error: cannot guess build type; you must specify one
Makefile:51: recipe for target '/work/toolchain/../toolchain/work/build-newlib' failed
I attempted to replace all of the config.guess
and config.sub
files with the newest versions from GNU and it gets a bit farther, but results in:
libraries/unix/os_utilities.cpp:61:10: fatal error: sys/sysctl.h: No such file or directory
61 | #include <sys/sysctl.h>
| ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:18: libraries/unix/os_utilities.o] Error 1
make[2]: Leaving directory '/data/Workspace/other/gendev/tools/work/zasm/zasm-3.0.21-i386-ubuntu-linux-2011-06-19/source'
make[1]: *** [Makefile:105: /data/Workspace/other/gendev/tools/../build/bin/zasm] Error 2
make[1]: Leaving directory '/data/Workspace/other/gendev/tools'
What steps will reproduce the problem?
Just do a fresh svn checkout and then run make.
I'm running ArchLinux with gcc 4.9.1. I'm wondering if this builds with an
older version of GCC. The error:
gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.24/gas -I.
-I../../binutils-2.24/gas -I../bfd -I../../binutils-2.24/gas/config
-I../../binutils-2.24/gas/../include -I../../binutils-2.24/gas/..
-I../../binutils-2.24/gas/../bfd
-DLOCALEDIR="\"/opt/toolchains/gen/sh-elf/share/locale\"" -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT subsegs.o
-MD -MP -MF .deps/subsegs.Tpo -c -o subsegs.o ../../binutils-2.24/gas/subsegs.c
In file included from ../../binutils-2.24/gas/as.h:95:0,
from ../../binutils-2.24/gas/subsegs.c:25:
../../binutils-2.24/gas/subsegs.c: In function 'subseg_change':
../bfd/bfd.h:304:75: error: right-hand operand of comma expression has no
effect [-Werror=unused-value]
#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
^
../../binutils-2.24/gas/subsegs.c:70:7: note: in expansion of macro
'bfd_set_section_userdata'
bfd_set_section_userdata (stdoutput, seg, seginfo);
^
../../binutils-2.24/gas/subsegs.c: In function 'subseg_get':
../bfd/bfd.h:304:75: error: right-hand operand of comma expression has no
effect [-Werror=unused-value]
#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
^
../../binutils-2.24/gas/subsegs.c:172:7: note: in expansion of macro
'bfd_set_section_userdata'
bfd_set_section_userdata (stdoutput, secptr, seginfo);
^
cc1: all warnings being treated as errors
Makefile:891: recipe for target 'subsegs.o' failed
make[6]: *** [subsegs.o] Error 1
make[6]: Leaving directory
'/home/jalon/src/gendev/work/build-binutils-sh-elf-2.24/gas'
Makefile:2165: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
'/home/jalon/src/gendev/work/build-binutils-sh-elf-2.24/gas'
Makefile:682: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory
'/home/jalon/src/gendev/work/build-binutils-sh-elf-2.24/gas'
Makefile:4709: recipe for target 'all-gas' failed
make[3]: *** [all-gas] Error 2
make[3]: Leaving directory
'/home/jalon/src/gendev/work/build-binutils-sh-elf-2.24'
Makefile:829: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory
'/home/jalon/src/gendev/work/build-binutils-sh-elf-2.24'
makefile-gen:84: recipe for target 'build-sh2-binutils' failed
make[1]: *** [build-sh2-binutils] Error 2
make[1]: Leaving directory '/home/jalon/src/gendev/work'
Makefile:38: recipe for target 'build' failed
make: *** [build] Error 2
Original issue reported on code.google.com by [email protected]
on 2 Nov 2014 at 7:25
The current SGDK bundled version is v1.6
Could you please consider updating to the v1.7 ?
btw, thanks for your awesome work, it helped a lot :)
Could you please provide some instructions to configure Codeblocks with gendev ?
What steps will reproduce the problem?
1. Make the tools
2. make install
3.
What is the expected output? What do you see instead?
I expect the make install to work.
Instead I get this error
-----------------------------------------
cd sgdk-read-only/tools/bintos/src && \
gcc -o bintos bintos.c && cp bintos /opt/toolchains/gen//bin/.
cp: cannot create regular file ‘/opt/toolchains/gen//bin/.’: No such file
or directory
make: *** [tools] Error 1
What version of the product are you using? On what operating system?
using the latest version (svn read-only repo) on ubuntu 14.04
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 Oct 2014 at 8:25
Any plans to update to the new version? or how could I update myself? thanks!
Hello,
I'm trying to convert old windows code to gendev, I'm using FIX16 and I got this :
main.c:(.text+0x432): undefined reference to __floatsisf' main.c:(.text+0x440): undefined reference to
__mulsf3'
main.c:(.text+0x450): undefined reference to __addsf3' main.c:(.text+0x460): undefined reference to
__mulsf3'
main.c:(.text+0x46a): undefined reference to `__fixsfsi'
Is there something I can do to fix it ?
Thanks.
What needs to happen to merge with SGDK1.22a , and how can I help?
Hi ! I will appreciate any help regarding this build issue
I've installed the required libs but the build fails with little info to help me
make[2]: Leaving directory '/home/emilio/git/gendev/sgdk/build/sgdk'
make[1]: *** [Makefile:62: /home/emilio/git/gendev/sgdk/build/sgdk/lib/libmd.a] Error 2
make[1]: Leaving directory '/home/emilio/git/gendev/sgdk'
make: *** [Makefile:85: sgdk_build] Error 2
cheers
Might be something I'm doing wrong as I'm only a dabbler with this but it is fun!
Building projects now fails early on with
/bin/mkdir -p src/boot
/bin/mkdir -p out
make: *** No rule to make target '/src/boot/sega.s', needed by 'src/boot/sega.s'. Stop.
As I installed the dpkg over a previous version, if I change the symlink sgdk
to point to the earlier sgdkv1.51
the builds complete OK. Switching back to sgdkv1.62
makes the error happen again.
Running on
I cloned master and did a sudo make.
I'm getting this error:
Build
cd work && \
MAKE=make make -f ../gen_gcc/makefile-gen build-m68k
make[1] : on entre dans le répertoire « /home/kivutar/gendev/work »
+++ Building binutils-2.24 to build-binutils-m68k-elf-2.24...
mkdir -p build-binutils-m68k-elf-2.24
> /home/kivutar/gendev/work/logs/build-binutils-m68k-elf-2.24.log
cd build-binutils-m68k-elf-2.24; ../binutils-2.24/configure --target=m68k-elf --prefix=/opt/toolchains/gen/m68k-elf --enable-install-libbfd --disable-werror >> /home/kivutar/gendev/work/logs/build-binutils-m68k-elf-2.24.log 2>&1
make -C build-binutils-m68k-elf-2.24 all install DESTDIR= >> /home/kivutar/gendev/work/logs/build-binutils-m68k-elf-2.24.log 2>&1
+++ Building gcc-6.3.0 to build-gcc-m68k-elf-6.3.0 (pass 1)...
mkdir -p build-gcc-m68k-elf-6.3.0
> /home/kivutar/gendev/work/logs/build-gcc-m68k-elf-6.3.0-pass1.log
cd build-gcc-m68k-elf-6.3.0; ../gcc-6.3.0/configure --target=m68k-elf --prefix=/opt/toolchains/gen/m68k-elf --without-headers --with-newlib --enable-languages=c --disable-libssp --disable-tls --with-cpu=m68000 --disable-werror >> /home/kivutar/gendev/work/logs/build-gcc-m68k-elf-6.3.0-pass1.log 2>&1
make -C build-gcc-m68k-elf-6.3.0 all install DESTDIR= >> /home/kivutar/gendev/work/logs/build-gcc-m68k-elf-6.3.0-pass1.log 2>&1
make[1]: *** [../gen_gcc/makefile-gen:108: build-m68k-gcc-pass1] Error 2
make[1] : on quitte le répertoire « /home/kivutar/gendev/work »
make: *** [Makefile:54: toolchain_build] Error 2
In the log, I can see:
../../gcc-6.3.0/gcc/ubsan.c:1474:23: error: le C++ ISO interdit la comparaison entre un pointeur et un entier [-fpermissive]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.