Tämä poistaa sivun "Casio - Crossdev"
. Varmista että haluat todella tehdä tämän.
Here is a guide to help you getting a crossdev toolchain for your calculator and to build Gint.
First of all, emerge crossdev if you haven't already.
#*as root*
emerge --ask crossdev
Before building the toolchain, you need to create a local overlay called crossdev if you haven't already.
The crossdev overlay will be auto-selected by the crossdev tool to build packages for all crossdev-targeted platforms — so creating only this one overlay is enough to ensure that all of the crossdev built packages remain completely separate from the native packages for your system.
#*as root*
mkdir -p /usr/local/portage-crossdev/{profiles,metadata}
echo 'crossdev' > /usr/local/portage-crossdev/profiles/repo_name
echo 'masters = gentoo' > /usr/local/portage-crossdev/metadata/layout.conf
chown -R portage:portage /usr/local/portage-crossdev
Then instruct portage and crossdev to use this overlay :
Create the file /etc/portage/repos.conf/crossdev.conf
[crossdev] location = /usr/local/portage-crossdev priority = 10 masters = gentoo auto-sync = no
Note that crossdev needs some config files in /etc/portage to be in folders rather than in a single file (e.g. package.keywords)
First, you have to choose which target you want to build the toolchain for.
sh3eb-elf
for monochromes calculator. gint using sh3 is compatible with sh4 processors.sh4eb-nofpu-elf
if you want to code exclusively for Graph 90+E or if you want to bother with assembly codeSimply run :
#*as root*
crossdev -t <target>
Warning, newlib won't compile. It is normal and shouldn't affect the compilation of gint.
If you want to build it anyway, there is a fork.
You should now be able to build gint. Note that by default sh3eb-elf is the compiler for gint. To select another one, change gint's useflags.
Tämä poistaa sivun "Casio - Crossdev"
. Varmista että haluat todella tehdä tämän.