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