[cc65] Oric: Segment `TAPEHDR' does not exist

Date view Thread view Subject view

From: Andre Majorel (amajorel_at_teaser.fr)
Date: 2003-07-15 17:37:09


Hi there. I'm giving the Oric target a try and I'm having problems :

  $ cat toto.c
  int main (int argc, char *argv[])
  {
      *((char *)0xbb80) = 'x';
	return 0;
  }
  $ ./src/cc65/cc65 --target atmos toto.c
  toto.c(6): Warning: Parameter `argc' is never used
  toto.c(6): Warning: Parameter `argv' is never used
  $ ./src/ca65/ca65 --target atmos toto.s
  $ ./src/ld65/ld65 -S 0x8000 -C src/ld65/cfg/atmos.cfg toto.o lib/atmos.lib 
  Warning: src/ld65/cfg/atmos.cfg(7): Segment `TAPEHDR' does not exist
  Warning: src/ld65/cfg/atmos.cfg(8): Segment `STARTUP' does not exist
  Warning: src/ld65/cfg/atmos.cfg(9): Segment `LOWCODE' does not exist

If I explicitly add atmos.o, I get this :

  $ ./src/ld65/ld65 -S 0x8000 -C src/ld65/cfg/atmos.cfg lib/atmos.o toto.o\
							lib/atmos.lib 
  Unresolved external `callmain' referenced in:
    crt0.s(11)
  Error: 1 unresolved external(s) found - cannot create output file

Am I missing something ?

-- 
André Majorel <amajorel_at_teaser.fr>
http://www.teaser.fr/~amajorel/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-07-15 17:36:50 CEST