[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Fwd: makefiles, framework and windows linking]
From: |
Nicola Pero |
Subject: |
RE: [Fwd: makefiles, framework and windows linking] |
Date: |
Wed, 12 Dec 2007 16:36:27 +0100 (CET) |
> I develop vespucci under PC. It uses the SimpleWebKit framework. It
> compiles fine under windows, [...]
> I notice something though: when using a framework I need to include
> its library in PC. This causes the following GNUstep.preamble:
>
> # Additional flags to pass to the linker
> ADDITIONAL_LDFLAGS += -lSimpleWebKit
>
> # Additional include directories the compiler should search
> ADDITIONAL_INCLUDE_DIRS +=
>
> # Additional library directories the linker should search
> ADDITIONAL_LIB_DIRS += -L/usr/GNUstep/Local/Library/Libraries
> -L/usr/GNUstep/Local/Library/Frameworks
> -L/usr/GNUstep/Local/Library/Frameworks/SimpleWebKit.framework/Versions/A
> -L/usr/GNUstep/Local/Library/Libraries
I don't understand the ADDITIONAL_LIB_DIRS. If the framework is installed,
it should already be in the standard -L paths, so you don't need any
ADDITIONAL_LIB_DIRS ;-)
Ie, you only need -L$GNUSTEP_LOCAL_LIBRARIES which is added automatically by
gnustep-make - and which should work on all platforms (except for
apple-apple-apple
which has got *real* frameworks - there IIRC you need -framework SimpleWebKit
to link instead of -lSimpleWebKit).
So I assume you should remove that ADDITIONAL_LIB_DIRS definition and see how
it goes :-)
Thanks
PS: If the framework is not installed yet, you can link against it by adding
ADDITIONAL_LIB_DIRS += -Lpath_to_the_framework/xxx.framework/$TARGET_LDIR
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: [Fwd: makefiles, framework and windows linking],
Nicola Pero <=