home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4703 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.9 KB  |  46 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!mcsun!Germany.EU.net!ubrinf!sun1g!aspect
  3. From: aspect@sun1g.informatik.Uni-Bremen.DE (ASpecT (=jvh+ric))
  4. Subject: Does link386 prefer lowercases?
  5. Message-ID: <1992Sep3.085819.24591@informatik.uni-bremen.de>
  6. Keywords: linker gnu-c
  7. Sender: aspect@sun1g (ASpecT (=jvh+ric))
  8. Nntp-Posting-Host: sun1g
  9. Organization: Universitaet Bremen
  10. Date: Thu, 3 Sep 1992 08:58:19 GMT
  11. Lines: 33
  12.  
  13. Yesterday we tried to port a large program from UNIX to OS/2
  14. using GNU-C. Compiling was no problem (no changes required)
  15. but the linker (link386) caused us crying (in pain).
  16. * alot of symbols could not be resolved ... but they are defined
  17.   in one of the modules (about 60) - if they were not the other
  18.   linkers (several) on UNIX-machines would not be able to link
  19.   that.
  20.   ???? Perhaps one has to order the modules ... but a little test
  21.        makes us believe thats not necessary
  22. * some object files could not be found ... but they are all in
  23.   the same directory ... especially link386 does not find any
  24.   of the standard libs ... which it can find while linking smaller
  25.   examples
  26.   ???? No idea how to solve this
  27. * an the most annoying one: the link386 seems to convert all 
  28.   of the identifiers to lowercase ... which caused several
  29.   multiple-defined-errors ... i.e. we defined a free of our own
  30.   naming it FREE (which seemed to be natural to us) ... just that
  31.   small program
  32.    void f(){}
  33.    void F(){}
  34.    main(){f();F();}
  35.   could not be linked due to _f been multiply defined. Examining
  36.   the object file shows the correct (uppercase and lowercase) 
  37.   identifiers.
  38.   ???? I cannot believe that we have to reprogramm the whole
  39.        stuff and forget about case sensitive identifiers.
  40. We have no docs for link386 - just doing it by "imagination" and
  41. "experience" ... maybe there's the one or the other switch which solves
  42. all this mess. Any advices, flames, etc.?
  43.  
  44. Joern (University of Bremen/Germany)
  45. aspect@sun1g.informatik.Uni-Bremen.de
  46.