Megadrive SDK
Moderator: BigEvilCorporation
-
- Very interested
- Posts: 159
- Joined: Sat Feb 24, 2007 11:35 pm
- Location: San Antonio, TX
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
I'll keep trying, but still can't find the site.
There are lots of good defines in the SDK, but it could use a few more helper routines, especially in assembly. I thought it was interesting how you made the regular exception handlers weak symbols so they could be overridden. Very nifty way to handle it.
EDIT: 2010/08/26 - By the way, still can't reach the site.
EDIT 2: Funny, but wayback hasn't archived your page since 2008:
http://web.archive.org/web/*/http://xi6.com
I'm not sure if it's part of the problem, but there's a blog called http://www.xi6.org/ that resolves fine, but http://xi6.org/ always times out. Google seems to cache your pages okay, but I still can't reach it (I'm using Qwest DSL in the US). I wonder if Qwest is having a problem telling xi6.com from www.xi6.com.
There are lots of good defines in the SDK, but it could use a few more helper routines, especially in assembly. I thought it was interesting how you made the regular exception handlers weak symbols so they could be overridden. Very nifty way to handle it.
EDIT: 2010/08/26 - By the way, still can't reach the site.
EDIT 2: Funny, but wayback hasn't archived your page since 2008:
http://web.archive.org/web/*/http://xi6.com
I'm not sure if it's part of the problem, but there's a blog called http://www.xi6.org/ that resolves fine, but http://xi6.org/ always times out. Google seems to cache your pages okay, but I still can't reach it (I'm using Qwest DSL in the US). I wonder if Qwest is having a problem telling xi6.com from www.xi6.com.
-
- Very interested
- Posts: 159
- Joined: Sat Feb 24, 2007 11:35 pm
- Location: San Antonio, TX
I think I finally found the problem with my domain name. There was a missing right paren on one line, so it rejected the new file completely and kept serving up the one it already had in memory which still referred to the dead server.
Hopefully it will be working right everywhere after a few hours for cached copies of it to expire... unless there's an even more obscure problem.
AT&T's default DNS servers are still only working for two of my five domains right now. And I think I had it mostly working right before I made that error, so they may have something else going on.
Really, it's probably better to switch to DNS servers that don't suck. Level3's at 4.2.2.2 / 4.2.2.1 should be the fastest from most places because it's an anycast address that will get you to the nearest one, but there's no promise that they will leave them open forever. Google has 8.8.8.8 / 8.8.4.4 which also work fine.
EDIT: I spent a bit of time running the nameserver in debug mode. It probably didn't help that someone in Belgium was using my nameserver as their main nameserver, looking up dozens of ".de" websites. With the ones I've listed above, there should be no need to use mine.
Also, there were some requests for the nameserver name as per the whois entry that probably shouldn't have been sent as requests to me. Fixing that may help a bit.
Hopefully it will be working right everywhere after a few hours for cached copies of it to expire... unless there's an even more obscure problem.
AT&T's default DNS servers are still only working for two of my five domains right now. And I think I had it mostly working right before I made that error, so they may have something else going on.
Really, it's probably better to switch to DNS servers that don't suck. Level3's at 4.2.2.2 / 4.2.2.1 should be the fastest from most places because it's an anycast address that will get you to the nearest one, but there's no promise that they will leave them open forever. Google has 8.8.8.8 / 8.8.4.4 which also work fine.
EDIT: I spent a bit of time running the nameserver in debug mode. It probably didn't help that someone in Belgium was using my nameserver as their main nameserver, looking up dozens of ".de" websites. With the ones I've listed above, there should be no need to use mine.
Also, there were some requests for the nameserver name as per the whois entry that probably shouldn't have been sent as requests to me. Fixing that may help a bit.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
-
- Newbie
- Posts: 7
- Joined: Thu Jul 22, 2010 3:38 am
Trying to make it work on Ubuntu / gcc-3.4.6, but hitting speed bumps:
Encountered a few missing package errors when running the script build-gcc.
(for the STUFF YOU NEED section):
Required packages were missing on stock Ubuntu installation.
MISSING PACKAGES: bison, flex and texinfo.
Now I am getting this error (written to gcc-newlib-install.log) when build-gcc tries to build newlib:
Any idea what that means ?
Encountered a few missing package errors when running the script build-gcc.
(for the STUFF YOU NEED section):
Required packages were missing on stock Ubuntu installation.
MISSING PACKAGES: bison, flex and texinfo.
Now I am getting this error (written to gcc-newlib-install.log) when build-gcc tries to build newlib:
Code: Select all
/bin/sh ../../source/gcc-3.4.6/mkinstalldirs /usr/local/m68k /usr/local/m68k
make[1]: Entering directory `/home/binarycreature/megadrive/build/gcc-newlib/gcc'
gcc -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../../source/gcc-3.4.6/gcc -I../../../source/gcc-3.4.6/gcc/. -I../../../source/gcc-3.4.6/gcc/../include \
-DTARGET_MACHINE=\"m68k-elf\" \
-c ../../../source/gcc-3.4.6/gcc/collect2.c -o collect2.o
In file included from /usr/include/fcntl.h:205,
from ../../../source/gcc-3.4.6/gcc/system.h:214,
from ../../../source/gcc-3.4.6/gcc/collect2.c:30:
In function ‘open’,
inlined from ‘collect_execute’ at ../../../source/gcc-3.4.6/gcc/collect2.c:1537:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [collect2.o] Error 1
make[1]: Leaving directory `/home/binarycreature/megadrive/build/gcc-newlib/gcc'
make: *** [install-gcc] Error 2
-
- Very interested
- Posts: 159
- Joined: Sat Feb 24, 2007 11:35 pm
- Location: San Antonio, TX
About all I can say is that a "stock" linux install is not likely to include a sufficient set of tools and libraries to compile compilers, just as I have to install the Developer Tools disk on OS X to even compile anything.
All my script does is start the various build scripts. If newlib has some obscure problem compiling, there's not much I can do about it. At least look at the code that is causing the problem and see what you can do to tweak it.
But I'm still surprised, since newlib should be pretty portable.
All my script does is start the various build scripts. If newlib has some obscure problem compiling, there's not much I can do about it. At least look at the code that is causing the problem and see what you can do to tweak it.
But I'm still surprised, since newlib should be pretty portable.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
-
- Very interested
- Posts: 159
- Joined: Sat Feb 24, 2007 11:35 pm
- Location: San Antonio, TX
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
-
- Very interested
- Posts: 159
- Joined: Sat Feb 24, 2007 11:35 pm
- Location: San Antonio, TX
Oh, now I see. He's trying to build with 3.4.6 as his main compiler.
Apple's dev environment has been using 4.x for a while now, so I guess that's why I haven't had problems.
In that case, see if your Linux has an option to specifically install GCC 4 compilers. (It's been how many years now? People used 2.95 forever too.) Or get a newer version of your distro, which should have GCC 4 in there.
Apple's dev environment has been using 4.x for a while now, so I guess that's why I haven't had problems.
In that case, see if your Linux has an option to specifically install GCC 4 compilers. (It's been how many years now? People used 2.95 forever too.) Or get a newer version of your distro, which should have GCC 4 in there.
Good Morning, I'm getting this error when atemping to install the sdk (my OS is ubuntu 11.04),
Bottom of gcc-newlib-make.log
and bottom of gcc-newlib-install.log
Any thoughts?
Best Regards
Bottom of gcc-newlib-make.log
Code: Select all
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [collect2.o] Error 1
make[1]: Leaving directory `/home/jaerder/development/MD/SDK_Install/build/gcc-newlib/gcc'
make: *** [all-gcc] Error 2
Code: Select all
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [collect2.o] Error 1
make[1]: Leaving directory `/home/jaerder/development/MD/SDK_Install/build/gcc-newlib/gcc'
make: *** [install-gcc] Error 2
Best Regards