home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2578 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  32 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: news.nask.org.pl!cyfronet!student!iskra
  3. From: iskra@student.uci.agh.edu.pl (Kamil Iskra)
  4. Subject: Re: GNU-C and Devpac
  5. Message-ID: <DM59Dr.M6G@cyf-kr.edu.pl>
  6. Sender: news@cyf-kr.edu.pl (News Administrator)
  7. Nntp-Posting-Host: student.uci.agh.edu.pl
  8. Organization: Academic Computer Centre, CYFRONET
  9. X-Newsreader: TIN [version 1.1 PL8]
  10. References: <9602011841.AA00072@ldngedge.demon.co.uk>
  11. Date: Fri, 2 Feb 1996 10:34:38 GMT
  12.  
  13. Steven Matty (Big.Will.Riker@ldngedge.demon.co.uk) wrote:
  14. > I have GNU-C v2.7.0 running on Amiga A1200 with 030.
  15.  
  16. > When I create a linkable file under DevPac 3, GNU-C
  17. > complains about the format :
  18.  
  19. > 5 Work:gnu/include/magritte>gcc -noixemul -ansi test.c displaylib.o
  20. > ld: malformed input file (not rel or archive) displaylib.o
  21.  
  22. GCC uses different format for ".o" files - a.out format. LD just won't
  23. accept SAS/C or DevPac ".o" files. You can try assembling using GNU
  24. assembler GAS, there also exist some utilities to convert ".o" files
  25. (don't remember names, sorry - but I guess this is in FAQ). 
  26.  
  27. --
  28. / Kamil Iskra - AMIGA 1200, 68030 50MHz, HDD 850 MB, 10 MB RAM \
  29. | iskra@student.uci.agh.edu.pl  kiskra@ernie.icslab.agh.edu.pl |
  30. | http://student.uci.agh.edu.pl/~iskra                         |
  31. \ PGP public key available via Finger or WWW                   /
  32.