i will do this in the future
so how do i make this run on a gameboy?
i tried renaming it to a .gb file and running it in a emulator but it gave me
a error
i assume this was becuase the file was in the ASCII format
if the file was pure hex would it run?
thanks for some reason when i logged in in icecat
it would not keep me logged it i then used abrowser and it now works fine!
here is the gitorios repo:
https://gitorious.org/sdcc-without-non-free/sdcc-without-non-free
You need to be logged in.
You'll probably need to invoke the assembler separately from the C compiler
in your Makefile. Package srecord handles the Intel Hex which will be output
but depending on the emulator you will likely need to cook it in other ways
too (e.g. add ROM reader info to the image).
Lastly, in
On the project page there is a blue Add new button on the mid-right of the
screen. There is a guide on the new repository page on how to push code to
it.
i have already created a new project
but were is the new repo page?
when i go on my project this is what i see:
yes i did mean gitorious
i typed it without thinking!
thanks for the info
i have found tutorials of how to upload to git hub i assume its the same for
gitorios
and i have got to this point
git remote add origin http://gitorious.org/sdcc-without-non-free/
git push -u origin master
the problem is all the tutorials tell me to do this
with the url being where the git
i have found tutorials of how to upload to git hub i assume its the same for
gitorios
and i have got to this point
git remote add origin http://gitorious.org/sdcc-without-non-free/
git push -u origin master
the problem is all the tutorials tell me to do this
with the url being where the git
tomlukey - try on irc freenode gitoriuos
Create a Git repository, and push your source code into it.
Git has a really steep learning curve, but Gitorious tells you how to get
started when you try to browse an empty repository, at least.
i created a account and its asking me for a public ssh key
what is this?
i have never used git before
i ran make clean
and nothing changed so i am probably missing some library's
i got a more modern version of sdcc(libre)
it is a small device c compiler
with no standard library
and from reading its manual(http://sdcc.sourceforge.net/doc/sdccman.pdf) you
should be able to compile
a gameboy
when i ran
ssh-keygen it asks for a password
why dose it need a password?
are the files hosted on the gitorios server or are they decentralized and
stored on individual computers?
am i meant to be hosting my own ssh server for this to work?
A public SSH key is what you use to identify yourself to the server. I don't
remember if Gitorious has a guide to setting them up, but you can generate
your public key with ssh-keygen.
I don't think sdcc works with binary files. I think you are supposed to use
the .ihx (intel hex) file with the device you want. This file contains
binary code translated into hex format.
The documentation seems to confirm this
(http://sdcc.sourceforge.net/doc/sdccman.pdf).
You don't need to have an SSH server, you're just using an SSH client to
connect to Gitorious's SSH server. It's used for authentication (more secure
than passwords).
thanks that explained alot!
1. The password is optional. It's for encryption, I'd guess.
2. Once the code is pushed to the Gitorious repository, it is hosted on their
server. The difference between GitHub and Gitorious is the software running
Gitorious is free (Affero GPL,) while the software running GitHub is not.
3.
(I'm sure you meant Gitorious...)
A slug shows in the URL, https://gitorious.org/mediagoblin for example.
I'd recommend making a Gitorious repository so you can keep everything better
organized than having a bunch of archives on your web server. :-)
https://gitorious.org/
the libre part of the dev kit sdcc was actually in the trisquel
repository’s
i just used apt-get source sdcc
so it was very easy to compile
now i just need to find a replacement for the other
parts of the dev kit
also i discovered a command in the trisquel sdcc
that recommends non-free
hi
nao I test the sors
the error in line 1006 in file SDCC.y
// werror(W_PTR_TYPE_INVALID);
it would be
werror(W_PTR_TYPE_INVALID);
you need install Bison
if dont work
install old bison
i did install bison with
sudo apt-get install bison
and it didnt give a error that the version of bison was wrong
In fact, the program contains thousands of errors
Errors in the writing of the names and a lot of mistakes
I Surprised that the programmer did not notice its
the compiler was complaining that it needed
a program called lex
a program called flex seems to be the same
thing
so i installed the program flex
with sudo apt-get install flex
and it solved that problem
but now when it tries to compile
it gives lots of undefined references
gcc -o
Yeah, that sounds about right. Either libraries missing or flags not included
in the compile command.
It could be other things, like bad includes and other pre-processor tasks,
but less likely and harder to fix, if you are not familiar with the code and
there are some bad practices in the
tomlukey- my knowledge of gnu is very very basic. I'm a newb, so I cannot
certainly help you with this - I just wanted to say that your project is good
and that you should persist until you make it!
cheers bro
that some nice project tomlukey - keep it up!
:)
thanks but i cant even start unless i can compile this program from source
also just to let you know i didn’t down vote you
32 matches
Mail list logo