Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hacky attempt at getting GCW Zero support working #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

rjungemann
Copy link
Owner

@rjungemann rjungemann commented Jun 8, 2016

This is just a first hacky attempt at getting GCW Zero to compile.

I did the following:

On Xubuntu, I downloaded and installed the GCW Zero toolchain following all instructions on this page: http://www.gcw-zero.com/develop including adding /opt/gcw0-toolchain/usr/bin to my $PATH.

I also sudo apt-get install sdl-1.2dev.

I switch into ~/Projects/LittleGPTracker/projects, and run make.

@@ -45,7 +45,7 @@ void Trace::VLog(const char* category, const char *fmt, const va_list& args)

char *ptr = buffer+strlen(buffer);

vsprintf(ptr,fmt,args );
//vsprintf(ptr,fmt,args );
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was getting an error, so I temporarily commented this out.

@yoyz
Copy link

yoyz commented Jun 8, 2016

Maybe you need to add -fpermissive as g++ suggest ?

@rjungemann
Copy link
Owner Author

@yoyz sorry, I left some old logs up there.

I got past the -fpermissive issue by commenting out the offending code, but I will bring that code back and use -fpermissive instead.

The current issue is with make[1]: *** No rule to make target 'SysMutex.o', needed by '/home/rjungemann/Projects/LittleGPTracker/projects/lgpt.dge'. Stop..

@rjungemann
Copy link
Owner Author

I got past the previous issue and the issue that @yoyz mentioned. Currently the issue is:

/home/rjungemann/Projects/LittleGPTracker/projects/base_rules:33: recipe for target 'SamplePool.o' failed
make[1]: *** [SamplePool.o] Error 1
Makefile:456: recipe for target 'buildGCWZERO' failed
make: *** [buildGCWZERO] Error 2

@yoyz
Copy link

yoyz commented Jun 9, 2016

Pull the whole log, I can't be right without it.

I think it's related to the "platform" infrastructure of the code.

You may have seen it in the source code, there is different platform, and I may be wrong, but you have to reuse the "dingoo" or the "raspberry" platform.
It's my first clue without the whole log.

I hope it helps, you are definitely near a binary.
Fisrt step ;)

@rjungemann
Copy link
Owner Author

rjungemann commented Jun 9, 2016

Thanks! I will fetch the whole log when I get home. There were no errors that I could see, just warnings. I reused the "dingoo" platform (copied and pasted the variables used for the Dingoo), since the GCW Zero is supposed to be almost completely compatible with the Dingoo A320.

After this step I am anticipating some issues with SDL, but if that becomes an issue, I at least know how to resolve that.

I really appreciate you taking a look!

@yoyz
Copy link

yoyz commented Jun 9, 2016

Will be a pleasure :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants