home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / programm / 7021 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.3 KB

  1. From: kevinl@tisdec.tis.tandy.com
  2. Date: 14 Dec 92 07:45 CST
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: GNU C/C++ for OS/2
  5. Message-ID: <13100003@tisdec.tis.tandy.com>
  6. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!sol.ctr.columbia.edu!eff!news.oc.com!utacfd.uta.edu!trsvax!trsvax!tisdec.tis.tandy.com!kevinl
  7. Nf-ID: #N:tisdec.tis.tandy.com:13100003:000:919
  8. Nf-From: tisdec.tis.tandy.com!kevinl    Dec 14 07:45:00 1992
  9. Lines: 24
  10.  
  11.  
  12. When using GNU C/C++ for OS/2, I am unable to run the programs it
  13. produces.
  14.  
  15. Everything compiles and links OK when just compiling a C program,
  16. but when I try to run it, OS/2 stops the program and says it
  17. created a problem and cannot continue.
  18.  
  19. When I try to link a C++ program I get unresolved externals that
  20. look something like __?????__, where ? represents some character--
  21. some undefined constant I think.
  22.  
  23. Also, when link386 finishes, it says that the program type is not
  24. specified "assuming WINDOWCOMPAT."  How do I specify the program type?
  25. I tried the /PMTYPE option, but it did not help.  This is really
  26. secondary.  I don't mind the message as long as I can get the programs
  27. to actually _run_.
  28.  
  29. Has anyone else experienced similar problems?  Any and all help would
  30. be appreciated.
  31. --
  32. Kevin K. Lewis             | My opinions may be unreasonable
  33. kevinl@tisdec.tis.tandy.com| but such is the voice of inspiration
  34.  
  35.