Coder Social home page Coder Social logo

sonic3d / gendev-macos Goto Github PK

View Code? Open in Web Editor NEW
69.0 69.0 8.0 2.44 MB

Genesis/MegaDrive Development Environment for Mac OS X

License: BSD 3-Clause "New" or "Revised" License

Makefile 4.37% C 29.06% Assembly 33.46% Python 6.07% Shell 0.14% Batchfile 1.09% PowerBuilder 4.09% VBA 2.68% Ada 1.51% C++ 2.54% Pascal 6.01% C# 1.02% NASL 0.11% HTML 7.14% CSS 0.70%

gendev-macos's People

Contributors

da4089 avatar matt456 avatar sonic3d avatar superusercode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gendev-macos's Issues

Help me just to start :)

Hello,
i've installed the toolchain and reached to compiled, all seems ok, but i don't know how to start using SGDK.

What i've reached to do :

  1. Compiling OK -> i have all necessary files in /opt/toolchains/gen

ls -l
total 0
drwxr-xr-x 16 baccalla staff 544 11 avr 22:53 bin
drwxr-xr-x 9 baccalla staff 306 10 avr 16:17 ldscripts
drwxr-xr-x 9 baccalla staff 306 10 avr 15:39 m68k-elf
drwxr-xr-x 5 baccalla staff 170 11 avr 22:04 skeleton

  1. i have succefully built tictactoe project from http://gendev.spritesmind.net/forum/viewtopic.php?t=889 and have tried it on an emulator. it works fine.

I don't know how to use SGDK, how to setup a new project now.
I've tried to cp the skeleton directories to a new one "my project" and build without changing anything but it failed.

opt/toolchains/gen//m68k-elf/lib/libmd.a(sys.o): dans la fonction « _start_entry »:
sys.c:(.text+0x8ac): référence indéfinie vers « main »

it lacks certainly some prerequisites.
i'm under El Capitan 10.11.6 (i may be a mad man trying to develop from a mac)

Thanks for your support to help me start.

Best regards

Error with two compiler

I'm trying to build gendev-macos, but I have an issue

When I tried to build with the current Xcode Command Line Tools for OSX 10.4 (11.3), I get this error while building

g++ -fno-PIE -c   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc-6.3.0/gcc -I../../gcc-6.3.0/gcc/. -I../../gcc-6.3.0/gcc/../include -I../../gcc-6.3.0/gcc/../libcpp/include -I/Users/muzi/gendev-macos/toolchain/work/build-gcc/./gmp -I/Users/muzi/gendev-macos/toolchain/work/gcc-6.3.0/gmp -I/Users/muzi/gendev-macos/toolchain/work/build-gcc/./mpfr -I/Users/muzi/gendev-macos/toolchain/work/gcc-6.3.0/mpfr -I/Users/muzi/gendev-macos/toolchain/work/gcc-6.3.0/mpc/src  -I../../gcc-6.3.0/gcc/../libdecnumber -I../../gcc-6.3.0/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-6.3.0/gcc/../libbacktrace -I/Users/muzi/gendev-macos/toolchain/work/build-gcc/./isl/include -I/Users/muzi/gendev-macos/toolchain/work/gcc-6.3.0/isl/include  -o ubsan.o -MT ubsan.o -MMD -MP -MF ./.deps/ubsan.TPo ../../gcc-6.3.0/gcc/ubsan.c
../../gcc-6.3.0/gcc/ubsan.c: In function 'tree_node* ubsan_type_descriptor(tree, ubsan_print_style)':
../../gcc-6.3.0/gcc/ubsan.c:385:33: warning: unterminated quote character ''' in format [-Wformat-diag]
  385 |       pp_printf (&pretty_name, "'%s%s%s%s%s%s%s",
      |                                 ^
../../gcc-6.3.0/gcc/ubsan.c:404:36: warning: spurious trailing space in format -Wformat-diag]
  404 |       pp_printf (&pretty_name, "'%s ", tname);
      |                                    ^
../../gcc-6.3.0/gcc/ubsan.c:404:33: warning: unterminated quote character ''' in format [-Wformat-diag]
  404 |       pp_printf (&pretty_name, "'%s ", tname);
      |                                 ^
../../gcc-6.3.0/gcc/ubsan.c: In function 'bool ubsan_use_new_style_p(location_t':
../../gcc-6.3.0/gcc/ubsan.c:1474:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
 1474 |       || xloc.file == '\0' || xloc.file[0] == '\xff'
      |          ~~~~~~~~~~^~~~~~~
make[3]: *** [ubsan.o] Error 1
make[2]: *** [all-gcc] Error 2
make[1]: *** [all] Error 2
make: *** [build-gcc-2] Error 2

while making the toolchains

But on clang 6.1.0 with xcode 6.4.0, the error is the following :

cd toolchain && make download-prerequisite-files && make toolchain_build
Prerequisite files are all ready now.
mkdir -p /Users/muzi/gendev-macos/toolchain/../build
mkdir -p /Users/muzi/gendev-macos/toolchain/../toolchain/work
# Will extract /Users/muzi/gendev-macos/toolchain/../toolchain/files/newlib-1.19.0(*.tar.gz or *.tar.bz2)
cd /Users/muzi/gendev-macos/toolchain/../toolchain/work && \
	tar xf /Users/muzi/gendev-macos/toolchain/../toolchain/files/newlib-1.19.0.*
# Will extract /Users/muzi/gendev-macos/toolchain/../toolchain/files/binutils-2.24(*.tar.gz or *.tar.bz2)
cd /Users/muzi/gendev-macos/toolchain/../toolchain/work && \
	tar xf /Users/muzi/gendev-macos/toolchain/../toolchain/files/binutils-2.24.*
# Will extract /Users/muzi/gendev-macos/toolchain/../toolchain/files/gcc-6.3.0(*.tar.gz or *.tar.bz2)
cd /Users/muzi/gendev-macos/toolchain/../toolchain/work && \
	tar xf /Users/muzi/gendev-macos/toolchain/../toolchain/files/gcc-6.3.0.*
echo /Users/muzi/gendev-macos/toolchain/../toolchain/work setup
/Users/muzi/gendev-macos/toolchain/../toolchain/work setup
Setup done
mkdir -p /Users/muzi/gendev-macos/toolchain/../toolchain/work/build-binutils
cd /Users/muzi/gendev-macos/toolchain/../toolchain/work/build-binutils && ../binutils-2.24/configure --target=m68k-elf --prefix=/Users/muzi/gendev-macos/toolchain/../build --enable-install-libbfd --disable-werror
checking build system type... x86_64-apple-darwin18.7.0
checking host system type... x86_64-apple-darwin18.7.0
checking target system type... m68k-unknown-elf
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for gcc... gcc
checking for C compiler default output file name... 
configure: error: in `/Users/muzi/gendev-macos/toolchain/work/build-binutils':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [/Users/muzi/gendev-macos/toolchain/../toolchain/work/build-binutils] Error 77
make: *** [toolchain_build] Error 2

EDIT : I didn't notice, but the issue was that I had macports gcc, even if I thought I didn't, so it seems to work better without it, I'm duuumb



Access denied: 500 - newlib-1.19.0.tar.gz

Hello,

After running make, I got 500 error status code:

curl -o newlib-1.19.0.tar.gz ftp://sources.redhat.com/pub/newlib/newlib-1.19.0.tar.gz

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (67) Access denied: 500

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.