[/quote]kubilus1 wrote:Somehow I read 'Fetch attempt returning 403' as 'French attempt returning 403'. Sorry about thatNo Idea about France and its Policies but I am based in Germany
Linux Genesis Dev Setup
Moderator: BigEvilCorporation
-
- Very interested
- Posts: 484
- Joined: Sat Mar 05, 2011 11:11 pm
- Location: Berlin, Germany
Okay, I've added the gcc linker scripts and makefiles (makefiles-ldscripts-2.zip) into the google code project. Hopefully keeping this all together will make the build more reliable.
Right now, I just have the zip file checked into the project. Likely I will re-arrange the layout in a more logical manner. When I have time
Right now, I just have the zip file checked into the project. Likely I will re-arrange the layout in a more logical manner. When I have time
Debian Package Added
Just added a debian package of the Linux Genesis development kit:
https://code.google.com/p/gendev/downlo ... b&can=2&q=
This should setup gcc, sgdk, etc under /opt/toolchains/gen. I also included a skeleton sgdk project under /opt/toolchains/gen/skeleton that can be copied in order to start a project.
Note that this is experimental and I won't be responsible for your computer blowing up.
https://code.google.com/p/gendev/downlo ... b&can=2&q=
This should setup gcc, sgdk, etc under /opt/toolchains/gen. I also included a skeleton sgdk project under /opt/toolchains/gen/skeleton that can be copied in order to start a project.
Note that this is experimental and I won't be responsible for your computer blowing up.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
You have a 16 core system?? Damn!Zontar wrote:Is anyone else having trouble with a threaded (make -j16) build? It just stops on certain files when listing them.
I only ever use -j1 on all my cross dev stuff since I want to be able to do something else at the same time on my dual core system.
Anywho, using more threads bumps up the memory used TREMENDOUSLY. I sometimes run out of memory on -j2, so I can't imagine how much ram you'd need to pass at -j16.
I have an 8 core system. I've heard recommendations to use twice the number of cores you have in order to compensate for I/O blocking, so when building, I use -j16. RAM isn't too much of a concern since I have 16GB (8GB of which I have on an dismountable tmpfs).Chilly Willy wrote:You have a 16 core system?? Damn!Zontar wrote:Is anyone else having trouble with a threaded (make -j16) build? It just stops on certain files when listing them.
I only ever use -j1 on all my cross dev stuff since I want to be able to do something else at the same time on my dual core system.
Anywho, using more threads bumps up the memory used TREMENDOUSLY. I sometimes run out of memory on -j2, so I can't imagine how much ram you'd need to pass at -j16.
Anyway, I've just decided to build it on one thread and wait it out. Last time I tried building this it had some PATH issues so I'm hoping this second run irons it out.
I'm having no problems building and running with this setup, but I think there's a small problem with the way the header is included. I've taken a look at a ROM I've done with assembly by hand and compared it with a ROM built by the toolkit, and it looks like the Genesis header from the toolkit is way down in the middle of the ROM. This loads just fine on emulators, but will something like this work on real hardware, if the Genesis header isn't in the beginning of the ROM file?
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
For real hardware, the header should be at the start of the file. Flash cart menus may or may not be able to deal with the header not being where it should be. If you were burning it to EPROMs, it would definitely be a problem.
You need to track down what is displacing the header... one possible reason - not using the correct linker script. Another would be using the wrong link order.
You need to track down what is displacing the header... one possible reason - not using the correct linker script. Another would be using the wrong link order.
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
I still see the header in the middle of the file for me. All I did though was copy the new makefile out of SVN skeleton/ folder and dropped it in my project. Is there something else I have to do? Do I need to reinstall the SDK?kubilus1 wrote:Linker order was wrong. Moved the header to the beginning of the ROM. It's about time I get a flash cart