compiling for dreamcast.
-
- Mental DCEmu
- Posts: 415
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Thu Oct 10, 2002 7:18 pm
- Has thanked: 0
- Been thanked: 0
- Contact:
half way there!
ok i still got the "assembler" problem but i did the sed's and everything else, so....
BlueCrab after i do the sed's and mv do i make all install again or go straight into newlib build?
BlueCrab after i do the sed's and mv do i make all install again or go straight into newlib build?
- neoak
- Psychotic DCEmu
- Posts: 690
- Joined: Wed Dec 18, 2002 5:48 pm
- Location: Mayagüez, PR | Houston, TX
- Has thanked: 0
- Been thanked: 0
Could you please tell me the commands to create a C++ version?BlueCrab wrote: ...
Now we'll start building the sh-elf toolchain. This version will not include c++ support because it is a bit more of a pain to set up. (See note 1) This will take a long time (depending on CPU speed, my system took about 2 hours to make the one without c++, and 6 hours just for c++)!
I have plenty of time to spare compiling.
- BlueCrab
- The Crabby Overlord
- Posts: 5659
- Joined: Mon May 27, 2002 11:31 am
- Location: Sailing the Skies of Arcadia
- Has thanked: 9 times
- Been thanked: 69 times
- Contact:
Did you get the C only one working?
If so here's what you need to do to create a C++ one (if all goes right, which it didn't for me, it took a lot more than this on my computer). Ok heres the note 1 which I forgot
Now if that actually works, you will have a c++ compiler for the dreamcast. Most likely, it will not work, and you'll get all sorts of errors and such. I'm working on a script that SHOULD handle these problems, but I need to get around to remaking my toolchain to accomplish this. Hope it works for you.
EDIT: The whole line that starts with "--with-newlib" should be on the same line as the configure.
If so here's what you need to do to create a C++ one (if all goes right, which it didn't for me, it took a lot more than this on my computer). Ok heres the note 1 which I forgot
Code: Select all
cd ~/build-sh-gcc
../gcc-3.0.4/configure --prefix=/mingw/cross/sh-elf --target=sh-elf --with-newlib --without-headers --enable-languages=c,c++
make all install
EDIT: The whole line that starts with "--with-newlib" should be on the same line as the configure.
-
- DC Developer
- Posts: 78
- Joined: Wed Oct 17, 2001 7:44 pm
- Location: USA
- Has thanked: 0
- Been thanked: 0
- Contact:
anyone got 119 or cvs to compile? util/vqenc has undefined references...
i took it out of the makefiles and later on in the examples it needs it for jpg's
any problems youve had with this? 118 works but i want the latest to work.
i took it out of the makefiles and later on in the examples it needs it for jpg's
any problems youve had with this? 118 works but i want the latest to work.
"If your a 'tard use the pictures on the left for navigation."
<img src="http://www.caskam.com/images/plan9avatar.gif"></img>
<img src="http://www.caskam.com/images/plan9avatar.gif"></img>
-
- DC Developer
- Posts: 78
- Joined: Wed Oct 17, 2001 7:44 pm
- Location: USA
- Has thanked: 0
- Been thanked: 0
- Contact:
nevermind guys i fixed it.
"If your a 'tard use the pictures on the left for navigation."
<img src="http://www.caskam.com/images/plan9avatar.gif"></img>
<img src="http://www.caskam.com/images/plan9avatar.gif"></img>
-
- DC Developer
- Posts: 9951
- Joined: Sun Dec 30, 2001 9:02 am
- Has thanked: 0
- Been thanked: 1 time
I can't get KOS119 to compile under Cygwin without removing util/vqenc and the vq example. It requires libjpeg, by the look of it, but for some weire reason it doesn't install/work properly. Maybe it's expecting libjpeg to be installed somewhere else - I had to force SDL to install to /usr instead of /usr/local under both Cygwin and Linux to get it working.
- BlueCrab
- The Crabby Overlord
- Posts: 5659
- Joined: Mon May 27, 2002 11:31 am
- Location: Sailing the Skies of Arcadia
- Has thanked: 9 times
- Been thanked: 69 times
- Contact:
Cygwin is just plain buggy.... that's about all there is to it. That's why I switched over to MinGW and MSYS (which is a small fork of cygwin, that runs more stably). The best thing I can tell you is to make sure that your windows swap file is of adequate size. I don't exactly know how to check it on XP since I still have 98.
-
- DC Developer
- Posts: 9951
- Joined: Sun Dec 30, 2001 9:02 am
- Has thanked: 0
- Been thanked: 1 time
On my system, the XP swapfile is about 384MB, I have 256MB of RAM, and GCC compiles under Cygwin fine. Oddly, I couldn't get it to compile using MinGW and MSYS.
Checking swapfile under XP: Right click on "My Computer", hit properties, go to the Advanced tab, click the Settings button in the Performance box, and go to Advanced.
Checking swapfile under XP: Right click on "My Computer", hit properties, go to the Advanced tab, click the Settings button in the Performance box, and go to Advanced.
- BlueCrab
- The Crabby Overlord
- Posts: 5659
- Joined: Mon May 27, 2002 11:31 am
- Location: Sailing the Skies of Arcadia
- Has thanked: 9 times
- Been thanked: 69 times
- Contact:
There are many little things that need to be done here and there to get the compiler to run under MinGW and MSYS, but it seems that there are more issues now than when I last built the DC toolchain. I'm working them out, but the tutorial I am writing may be delayed a day or two while I work out these problems.