Setting up a DC dev enviroment...
-
- Insane DCEmu
- Posts: 161
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Wed Sep 03, 2003 6:37 pm
- Has thanked: 2 times
- Been thanked: 4 times
Setting up a DC dev enviroment...
...
Last edited by DARKHALO2K on Wed Apr 16, 2008 11:12 am, edited 1 time in total.
there is no guide to DC development, sadly...
although for linux (like I have) get a build script.
for windows (Like you probably have) get cygwin and a build script...
they will set everything up for you...
as for a tutorial, you can ask others here (:))), most developers are very nice in that way... or you can look at the KOS examples...
I was going to do some devving myself, but this old computer craps up on me everytime I set up a cross compiler for some reason.
edit: oh, yeah! and dont forget to pick up a good book/tutorial on C/C++... you'll need to know at least one of those... personally, I like C. its a tad faster, and isnt object oriented... I was never a fan of that...
but you might like object oriented programming so check C++ out too. but you'll need to know C first, C++ is really an add-on to it.
although for linux (like I have) get a build script.
for windows (Like you probably have) get cygwin and a build script...
they will set everything up for you...
as for a tutorial, you can ask others here (:))), most developers are very nice in that way... or you can look at the KOS examples...
I was going to do some devving myself, but this old computer craps up on me everytime I set up a cross compiler for some reason.
edit: oh, yeah! and dont forget to pick up a good book/tutorial on C/C++... you'll need to know at least one of those... personally, I like C. its a tad faster, and isnt object oriented... I was never a fan of that...
but you might like object oriented programming so check C++ out too. but you'll need to know C first, C++ is really an add-on to it.
- Covar
- DCEmu Mega Fan
- Posts: 2990
- Joined: Sat Nov 30, 2002 8:06 am
- Location: Cary, NC
- Has thanked: 0
- Been thanked: 0
- Contact:
yea i got BlackAura's build script and that works awesome. i'm also working on his tutorials, but my coders cable won't get here for another few weeks.(damn lik-sang)
those to things should give you the basics, as for stuff like 3d and sound, well i'll let you know when i get there.
links
http://files.frashii.com/~sp00nz/Doom/f ... c_build.sh
http://files.frashii.com/~sp00nz/Doom/f ... ura/tutes/
those to things should give you the basics, as for stuff like 3d and sound, well i'll let you know when i get there.
links
http://files.frashii.com/~sp00nz/Doom/f ... c_build.sh
http://files.frashii.com/~sp00nz/Doom/f ... ura/tutes/
-
- Insane DCEmu
- Posts: 161
- Joined: Wed Sep 03, 2003 6:37 pm
- Has thanked: 2 times
- Been thanked: 4 times
-
- DCGen Creator
- Posts: 66
- Joined: Sat Jan 19, 2002 12:54 am
- Location: Near Yosemite, CA
- Has thanked: 0
- Been thanked: 0
- Contact:
Hmmm... seems people have forgotten that I threw something together over two years ago!spiroth10 wrote:there is no guide to DC development, sadly...
http://www.atani-software.net/dcprog/
-
- DCEmu Ultra Poster
- Posts: 1754
- Joined: Wed Jul 17, 2002 11:25 am
- Has thanked: 0
- Been thanked: 0
If you wanted people to remember, you should have hammered it into a giant stone monument.ATani wrote:Hmmm... seems people have forgotten that I threw something together over two years ago!spiroth10 wrote:there is no guide to DC development, sadly...
http://www.atani-software.net/dcprog/
-
- DCGen Creator
- Posts: 66
- Joined: Sat Jan 19, 2002 12:54 am
- Location: Near Yosemite, CA
- Has thanked: 0
- Been thanked: 0
- Contact:
GCC 3.4.1bender wrote:I'm also interested in BA's linux script, seems it's a bit outdated. What are the latest ggc, binutils, newlib, kos,... that can be built and works fine?
thnks
NEWLIB 1.12.0
BINUTILS 2.15
Note, you should use the Makefile provided by Jim (http://3e8.org/hacks/dc/dc-chain-0.1.tgz) as it will do the build for you and also patch it for basic posix(-like) threading. This also is required if you want to use the latest KOS SVN versions (which are actually very decent)
i have downloaded binutils, newlib, gcc-core, gcc-g++ and untar-ed into my ~/dc-chain-0.1/ .
My problem comes with kos and the new svn versions. I have my svn private repository in ~/kosrepo, updated to version 165 using Dan's python scripts, doing:
i feel a bit stupid but i don't know how to extract the kos 158 version files from my private repository(158 it's the version for the dc-chain Makefile), so i can put the files into my ~/dc-chain-0.1/ and i can do a 'make' to build the complete toolchain with the patches
also if i browse my ~/kosrepo , i can't see where are the kos files.
i need your help. thnks
My problem comes with kos and the new svn versions. I have my svn private repository in ~/kosrepo, updated to version 165 using Dan's python scripts, doing:
Code: Select all
svnadmin create kosrepo
svnpull.py kosrepo http://gamedev.allusion.net/svn/
also if i browse my ~/kosrepo , i can't see where are the kos files.
i need your help. thnks
-
- DCGen Creator
- Posts: 66
- Joined: Sat Jan 19, 2002 12:54 am
- Location: Near Yosemite, CA
- Has thanked: 0
- Been thanked: 0
- Contact:
Actually, dont worry about the KOS patches... remove all references to these as they are not required (Dan already integrated the important ones).bender wrote: i feel a bit stupid but i don't know how to extract the kos 158 version files from my private repository(158 it's the version for the dc-chain Makefile), so i can put the files into my ~/dc-chain-0.1/ and i can do a 'make' to build the complete toolchain with the patches
-
- DCGen Creator
- Posts: 66
- Joined: Sat Jan 19, 2002 12:54 am
- Location: Near Yosemite, CA
- Has thanked: 0
- Been thanked: 0
- Contact:
Be warned that a lot of the examples in the tree do not compile cleanly... However, you should be able to compile any of them with only minor adjustments, most of which Dan already knows about.bender wrote:thnks.
I've downloaded latest kos version(18 September) and removed the 'patch_kos' from the dc-chain's Makefile. Everything it's ok now
now i think i only need to check if kos it's ok or get a good environ.sh
- 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
Not all the people are ready to use linux, even if it is very similar to a Windows enviroment. I used Linux long ago and i try to avoid it since my bad experience with LILO.mogorman wrote:man use colinux, it is so much better than cygwin, if you arent ready to make leap yet.
I know it has changed a lot, but i jsut F***ing hate to compile everything.
-
- Damn Dirty Ape
- Posts: 5031
- Joined: Thu Nov 07, 2002 11:11 pm
- Location: Saugerties, NY
- Has thanked: 0
- Been thanked: 0
For DC development, that's the only way to keep up with the latest development version of KOS. That, and if your Windows is on a FAT32 partition(and maybe NTFS by now), there are some Linux distros that will reside on the same partition as Windows and won't require you to write LILO to your MBR. That might be an option for some people.neoak wrote:Not all the people are ready to use linux, even if it is very similar to a Windows enviroment. I used Linux long ago and i try to avoid it since my bad experience with LILO.mogorman wrote:man use colinux, it is so much better than cygwin, if you arent ready to make leap yet.
I know it has changed a lot, but i jsut F***ing hate to compile everything.
I have LILO in one machine and GRUB in my another one. I like LILO because it boots faster than GRUB for me (using the 'compact' option) but seems that does not work with iptables. If you are configuring a firewall use GRUB
The freebsd loader also boots win (9x,nt,xp,..) and linux. You can probably use it even if you don't have freebsd installed
The freebsd loader also boots win (9x,nt,xp,..) and linux. You can probably use it even if you don't have freebsd installed