home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5787 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: Flex058.dBH.WAU.NL!joop.vandeWege
  2. From: joop.vandeWege@medew.ento.wau.nl (Joop van de Wege)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: GCC PROBLEMS?
  5. Date: Wed, 20 Mar 1996 09:38:10 LOCAL
  6. Organization: ento
  7. Distribution: world
  8. Message-ID: <joop.vandeWege.572.001ABE50@medew.ento.wau.nl>
  9. References: <Qx9jRAAse0SxEws3@naylor1.demon.co.uk>
  10. NNTP-Posting-Host: flex058.dbh.wau.nl
  11. X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #4]
  12.  
  13. In article <Qx9jRAAse0SxEws3@naylor1.demon.co.uk> Chris Naylor <chris@naylor1.demon.co.uk> writes:
  14. >From: Chris Naylor <chris@naylor1.demon.co.uk>
  15. >Subject: GCC PROBLEMS?
  16. >Date: Sat, 16 Mar 1996 22:58:52 +0000
  17.  
  18. >Can someone helpme with the following problems?
  19.  
  20. >USHORT chip my_image_data[]=
  21. >{
  22. >0xE300...
  23. >        The above is an example from the ACM manual,but fails to compile
  24. >with GCC and is something to do with `chip` part, obviously this
  25. >specifies that it should be in CHIPMEM but gcc does not reconise this
  26. One solution is to allocate the memory yourself in CHIP and copy the data to 
  27. it. The other is to check out Kamil Iskra (?) http site. I think he has added 
  28. support to gcc to recognise the chip keyword.
  29.  
  30.  
  31. >Also what do the PROTO files do.
  32. >How do I generate these files or dont I need to as most of the examples
  33. >in ROM KERNAL MANUALS seem to #include these files.
  34. Replace them with the corresponding #include<clib/xxxx_proto.h>
  35. This will take care of inlining when -O is used automatically. This hold true 
  36. for SAS, gcc, Dice(?)
  37.  
  38. Joop
  39.  
  40.  
  41. >Martin Naylor
  42.  
  43.