Jump to content



0

CC65 Lynx


10 replies to this topic

#1 qberticus OFFLINE  

qberticus

    Space Invader

  • 41 posts

Posted Tue Dec 31, 2002 10:24 AM

Does anyone have the CC65 archive for Lynx Development? the one on the BLL homepage is a broken link and I don't feel like trying to compile it myself. If not, are the supplemental files available to use the Atari XL version of CC65 for Lynx development?

#2 Matthias OFFLINE  

Matthias

    Stargunner

  • 1,044 posts
  • Location:Germany

Posted Tue Dec 31, 2002 11:03 AM

I've a ZIP-archive with the CC65 for the Lynx on my website:
http://home.t-online....Domin/cc65.zip

It contains all you need, but i'm not sure if it is uptodate.

Happy New Year!
Matthias

#3 glitch OFFLINE  

glitch

    Dragonstomper

  • 705 posts
  • Technology governs strategy
  • Location:Ohio

Posted Tue Dec 31, 2002 11:08 AM

If Matthias' link doesn't work for you, post again and I can send you my recompiled copy.

#4 qberticus OFFLINE  

qberticus

    Space Invader

  • 41 posts

Posted Tue Dec 31, 2002 12:06 PM

I actually have his version installed, but when I try to compile and link a program, the linker gives me a bunch of errors about undefined_struct (or something similar to that), stuff that should be defined in the header files somewhere I assume.

Maybe I'm doing something wrong.

#5 Matthias OFFLINE  

Matthias

    Stargunner

  • 1,044 posts
  • Location:Germany

Posted Tue Dec 31, 2002 3:31 PM

Have you called SETTINGS.BAT?
Of course after checking the contents:

set path=%path%;d:developlynxcc65bin
set cc65lib=d:developlynxcc65lib
set cc65include=d:developlynxcc65include


Matthias

#6 qberticus OFFLINE  

qberticus

    Space Invader

  • 41 posts

Posted Tue Dec 31, 2002 5:25 PM

I changed that to match my settings and I do believe they are set correctly. I will try installing the compiler onto my desktop computer and see if I can get it to work.

#7 glitch OFFLINE  

glitch

    Dragonstomper

  • 705 posts
  • Technology governs strategy
  • Location:Ohio

Posted Tue Dec 31, 2002 8:01 PM

I had similar issues. I finally had to recompile the cc65 compiler using the GNU compiler. If you want to try my copy I put a link to it at http://www.mindsprin...m/~mvknapp/lynx. My settings.bat file is in the root and is called cc65env.bat. You will need to modify this to match your environment. Yell if have any problems.

#8 glitch OFFLINE  

glitch

    Dragonstomper

  • 705 posts
  • Technology governs strategy
  • Location:Ohio

Posted Tue Dec 31, 2002 9:17 PM

One other thing you may want to find is CYGWIN which is a unix shell that runs under windows. This will allow you to use the sprite packer program. Also ignore the cc65w.bat file in the root because I forgot to remove it from the zip file. It's there because I've been trying to modify the new windows version of cc65 w/ the modifications Bastian made to the original version.

#9 lucienEn OFFLINE  

lucienEn

    Star Raider

  • 75 posts

Posted Wed Jan 1, 2003 10:17 AM

The cc65 binaries I downloaded work on any windows OS I tried. Same for sprpck.exe (98/W2K/XP).

Not sure why same people have problems. However if you have compiler errors I think it's unlikely that's because of the binary.

#10 eric_ruck OFFLINE  

eric_ruck

    River Patroller

  • 2,472 posts
  • "What screaming?"
  • Location:Baltimore, MD

Posted Wed Jan 1, 2003 7:26 PM

I never could get the version built with GCC to work, so I made some small changes to get it to compile under M$ Visual C++. At least that's what I think I did. If anyone is interested I could just .zip up my development environment and send it to you.

If I remember correctly when you build with GCC there was something wierd about the way environment variables worked, such that I couldn't get it to behave satisfactorily in my development environment (W2K/XP Pro). Don't remember exactly what the issue was.

My dev environment still requires cygwin in order to run all of the other components, including make. I use Textpad as an editor, and actually code sprites by hand, in hex.

Eric

#11 glitch OFFLINE  

glitch

    Dragonstomper

  • 705 posts
  • Technology governs strategy
  • Location:Ohio

Posted Wed Jan 1, 2003 10:41 PM

I'm not sure why mine didn't work. It wouldn't recognize the basic structures such as int or char. I recompiled and ended up using borland's make to put it all together, after adjusting the .mak files. I didn't recompile the sprite packer or other utilities. The versions that I pulled down just happened to be the unix versions and they seem to work fine for me so I haven't bothered getting other ones or remaking them. I use Borland C++ 5.0 as my editor since it does the color syntax checking for me. Once I'm done I save the files and compile them using cc65. So far it works like a charm.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users