I have a user who is porting an application from Solaris to Suse linux. He is having a problem in compiling some of his code and has a question:
> In Solaris, I have 5 different source modules that all contain the same > data area. I can separately compile each of the source modules to objects > and then link them all together with no complaints. > > When I try the same thing on Linux, ld screams bloody murder. Apparently, > Linux ld isn't bright enough to either combine all the data areas into a > single one or treat each one as a separate data area for that program > only. The data area is coded in a system header file that is included in > each of the programs (unistd.h seems to be the ornery one). > > Is there a linker option that controls this type of behavior on Linux? > > > > The information in this electronic mail message is sender's business Confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this Internet electronic mail message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. The sender believes that this E-mail and any attachments were free of any virus, worm, Trojan horse, and/or malicious code when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective and remedial action about viruses and other defects. Galileo International is not liable for any loss or damage arising in any way from this message or its attachments.
