[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Including Frameworks
From: |
Nicola Pero |
Subject: |
Re: Including Frameworks |
Date: |
Sun, 31 Oct 2004 01:07:04 +0000 (GMT) |
> > Frameworks are more like pseudo-frameworks under Linux/non-dyld/mach-o
> > systems. There's been some work to fix this, but things like GCC and LD
> > do not support the -F and -framework flags. Your best bet for
> > instructions on how to compile a framework is to look at some real-world
> > examples. I suggest checking out the StepTalk source.
>
> Sniff... okay.
>
> I found a thread from 2003 or so on this, and so thought it had been
> fixed by now :-T
>
> Would it require a lot of intimate knowledge of the GS-make stuff to
> add some sort of compatibility layer that adds the -I and -l flags when
> it finds a FRAMEWORKS specification?
>
> I'd rather fix this once in the GNUMakefile system than keep entering
> oodles of options in every makefile I create...
I'm not quite sure why writing
FRAMEWORKS += PreferencePanes
would be particularly simpler than writing
ADDITIONAL_GUI_LIBS += -lPreferencePanes
:-)
... unless what you are really asking for is that you want PreferencePanes
to be converted to '-framework PreferencePanes' on Apple and to
'-lPreferencePanes' on GNUstep in which case we already have
ADDITIONAL_NATIVE_LIBS += PreferencePanes
which does exactly that. Presumably this is what you were expecting
FRAMEWORKS += ... to do ?
Thanks