Rockbox Development > Starting Development and Compiling
m68k cross compiler // stdio.h missing
saratoga:
To be honest I don't even know what you expect that command to do. Compile your program for a 68k build of osx? Or compile it for a Rockbox command line interface that doesn't exist? Something else?
Dermiste:
Yeh actually I'm sorry I didn't even specify what I was hoping to do with that.
I've put my hand on a source code for a Coldfire 5272 processor. It's an electronic project and this will make a Quadricopter fly :)
Only thing is, the actual source code can be compiled only on a linux computer at my university, because everything is setup over there to do so.
As I am on osx, I want to be able to build for my computer too. My teacher told me that I had to download binutils and gcc and create a cross compiler to compile for a m68k target, from OSX. I believe the rockboxdev.sh script does create this cross compiler for the right target.
So, If I am right, if I find the missing libraries I will be able to compile my project.
Right?
saratoga:
That's definitely not going to work. You might be able to modify our build script to work but its probably easier to start with a compiler targeting m68k Linux.
Dermiste:
Why not ? In a few words :D I am quite new to this C world, although I am a web developer
saratoga:
the output of a given compiler target a specific system. This is the reason you can't use a windows compiler to build Mac programs. You will need to setup a compiler that targets whatever your device runs.
I think you should ask your teacher for help.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version