text: You can subscribe to this list here.
  Showing
  6
  results of 6
  Hi
  how can I solve the Problem?
  this is my Program
  #define MICROCONTROLLER_SAB80517
  #define MCS51REG_EXTERNAL_RAM
  #include <mcs51reg.h>
  #include <stdio.h>
  void main (void)=20
  {
  while (1)
  {
  printf ("Hello World\n");
  }
  }
  >sdcc hello.c
  hello.c:3: error:mcs51reg.h: No such file or directory
  ?ASlink-Warning-Undefined Global '__sdcc_external_startup' referenced =
  by module 'hello'
  ?ASlink-Warning-Undefined Global '_printf' referenced by
  The Problem with the '__sdcc_external_startup' I solved with following =
  code
  unsigned char _sdcc_external_startup () { return 0; }
  i don=B4t know what it does, but I read in the history about this. But I =
  can=B4t find a solution for the _printf problem.
  Thanks for your help.
  Michael
  I'm using SDCC version 2.2.0a, i downloaded the 2.2.1 version but when i =
  try
  to compile a program, give me the follow message...
  error:at8928252.h no such file or directory
  the code compiles ok on the 2.2.0a version
  do i miss something?
  Jose Martin Serrano Santiago
  jmserranos@...
  ____________________________________________________________________
  Get free email and a permanent address at
  1
  Hi Gary,
  >
  >?
  I probably have a quick solution.
  Include all your source files in a single file (allfiles.c) like this:
  // allfiles.c
  #include source1.c
  #include source2.c
  ...
  #include sourcen.c
  compile "allfiles.c"
  Regards: Béla?
  regards...
  --
  --Gary
  STMicroelectronics, 1000 Aztec West, Almondsbury, Bristol BS32 4SQ, UK.
  Tel: +44 1454 462639 FAX: +44 1454 617910
  [Reply.
  >in the ihx file of sdcc the CR(13) is missing at the end of
  >the line. So the dos loader for the eprom-simulator can't
  >transfer the hex file to the simulator.What´s going wrong ?
  Nothing. The default line end in Unix is LF. May be you can solve your problem, when you mount your destination directory with textmode.
  >Another problem is that sdcc since any weeks only works in
  >a cygwinshell. If i start it in a dos shell without parameter
  >i get the information about the targets,version and s.o.
  >Called with parameter i get nothing,no message no compiled
  >program. In a cygwin shell it works without problems.
  Cygwin programs expect an Unix environment, including file system and standard tools (sh). Maybe you should read a little bit documentation to get an idea, what Cygwin is doing.
  Bernhard