Re: xmlroff works on Cygwin

Tony Graham <[email protected]> Wed, 24 Aug 2005 00:22:39 +0100
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
"Gerrit P. Haase" <[email protected]> writes:

> Tony Graham wrote:
>
>> "Gerrit P. Haase" <[email protected]> writes:
>>
>>>Tony Graham wrote:
>>>
>>>>"Gerrit P. Haase" <[email protected]> writes:
>> ....
>>
>>>>>I needed only two minor changes in Makefile.am to get a clean build
>>>>>(and of course reconfigury with the Cygwin autotools).
>>>>
>>>>What changes?
>>>
>>>Cygwin / Windows does not alllow to link binaries if the references
>>>to functions and other imports cannot be resolved.  Therefore
>>>libtool needs the flsg -no-undefined and all libraries used need to
>>>be added to the link command.
>> Please check the latest CVS version to see if it works for you.
>
> Looks good.  I have compiled the 0.35 release with exactly this change,
> works ok with the test .fo file.  BTW, it is safe to add -no-undefined
> unconditional, doesn't have an affect on platform that don't use it and
> IIRC also Macs need it.

I was following what Pango does, but from the description of -no-undefined, it
appears that you are correct:

------------------------------------------------------------
`--no-undefined'
`-z defs'
     Report unresolved symbol references from regular object files.
     This is done even if the linker is creating a non-symbolic shared
     library.  The switch `--[no-]allow-shlib-undefined' controls the
     behaviour for reporting unresolved references found in shared
     libraries being linked in.
------------------------------------------------------------

I will change it soon.

Regards,


Tony.



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf