home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / programm / 4303 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.5 KB

  1. Path: sparky!uunet!olivea!sgigate!rutgers!cmcl2!SPUNKY.CS.NYU.EDU!figueroa
  2. From: figueroa@SPUNKY.CS.NYU.EDU (Samuel A. Figueroa)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Can't get gcc2.1 to work
  5. Message-ID: <9208181524.AA17209@SPUNKY.CS.NYU.EDU>
  6. Date: 18 Aug 92 15:24:16 GMT
  7. Sender: daemon@cmcl2.nyu.edu (Mr Background)
  8. Organization: New York University
  9. Lines: 34
  10.  
  11. I recently downloaded the gcc2.1 binaries (the one that uses the native
  12. OS/2 linker), and while I am able to compile the "Hello world" sample
  13. program without any problems, I can't figure out how to link it.  The
  14. result of the two commands:
  15.  
  16.    GCC -c SAMPLE1.C
  17.    LINK386 SAMPLE1;
  18.  
  19. is as follows:
  20.  
  21.  
  22. Operating System/2 LX (Linear Executable) Linker
  23. Version 2.00.000 Feb 25 1992
  24. Copyright (C) IBM Corporation 1988-1992.
  25. Copyright (C) Microsoft Corp. 1988-1992.
  26. All rights reserved.
  27.  
  28.  
  29. D:\GNU\LIB\LIBC.lib(gnulib3.obj) : error L2029: '___CTOR_LIST__' : unresolved external
  30. D:\GNU\LIB\LIBC.lib(gnulib3.obj) : error L2029: '___DTOR_LIST__' : unresolved external
  31.  
  32. LINK386 : warning L4071: application type not specified; assuming WINDOWCOMPAT
  33.  
  34. There were 2 errors detected
  35.  
  36.  
  37. Could someone please tell me what I am doing wrong?  As far as I know, I
  38. installed gcc correctly according to the installation instructions (except
  39. that I installed it on the D: drive instead of the C: drive; I copied the
  40. SAMPLE1.C program to the C: drive and compiled it from there).
  41. ------------
  42. Sam Figueroa (figueroa@cs.nyu.edu)
  43. This is not a .signature virus.
  44. Do NOT copy me into your .signature file!
  45.