gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Added frameworks support.


From: mirko . viviani
Subject: Added frameworks support.
Date: Sat, 28 Oct 2000 23:54:19 +0000

Ciao.

I have just committed my changes to bring framework support in gnustep.
Due to missing support in both compiler and linker my implementation works
slightly differently from OpenStep... it's most familiar to OpenStep/win.

There are three new directories inside Library:

<path_to>/Library/
  Frameworks/
    MyFramework.framework/
      Headers -> link to Version/Current/Headers
      Resources -> link to Version/Current/Resources
      Version/
        Current -> link to current version
        A/
          Headers
          Resources/
          ix??/
  Headers/
    MyFramework -> link to MyFramework.framework/Headers
  Libraires/
    ix??/
      links to frameworks libs.

To build a framework you must use the framework.make that create and link
a NSFramework_<name> class wrapper needed by NSBundle to properly handle
frameworks (class names, path, version).

The class wrapper created by the framework.make is NOT GPLed and can be linked
with every sw (commercial or not), but there isn't a statement in the makefile
yet and sincerely I don't know how to deal with these things. Adam ?

The build process is not supported yet on some platforms, formely: NeXT (NS,
OS, OSX), Irix, Ming32, Cygwin, hp-ux.

I have tested it only on FreeBSD.

On NeXT systems we must change the awk/sed script to retrieve class names since
the compiler uses different format names.

Please test it and let me know if you have any problems.

NB: these changes break currently GSWeb frameworks.

Enjoy.

--
Bye,
  Mirko <address@hidden>  (NeXTmail, MIME)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]