This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XFree 4.2.1 + fontconfig-2


Alan Hourihane wrote:

> When you've come to a decision on the patch, post a new one so I
> can take a look and then commit it.

There's a new one.

The cygwin.rules diff includes:

- new macro SharedLibraryName
  evalutes to cygName-Version.dll
- new macro ImportLibraryName
  evaluates to libName-Version.dll.a
- new macro ShortImportLibraryName
  evaluates to libName.dll.a
- new macro InstallLink 
  creates a symlink on install. Needed for symlinking ImportLibraryName() 
  to ShortImportLibraryName()
- new macro LinkImportLibrary
  creates a link to ImportLibraryName as xc/exports/lib/libName.a
- cleaup of of old macros to use the ShareLibraryName and ImportLibraryName
  macros instead of the old Concat3() composition
- added new ld option --exclude-libs All in MakeDLLProg. This should prevent
  exporting of symbols which were imported from another library.
- Some macros now also need the library version to pass it to the new *Name 
  macros. Added rev to parameterlists.
- Installing a link libName-Version.dll.a with name libName.dll.a  

The --exclude-libs ALL is needed at my system since Xft exported symbols
from Xrender. linking a program with -Xrender -lXft failed because of
duplicate symbols. Since we're using spec files to specify which symbols 
have to be exported, --exclude-libs ALL should be no problem.
  
The second path changes the order of the libraries. It is now -lXrender
-lXext -lX11. This fixes an error where some symbols from libX11 were not 
found when the linker resolved symbols from libXrender.

bye
    ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723

Attachment: Xcursor-liborder.diff
Description: Text document

Attachment: cygwin-dll.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]