[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
linking on MacOSX
From: |
Yves de Champlain |
Subject: |
linking on MacOSX |
Date: |
Wed, 17 Aug 2005 03:52:14 -0400 |
Hi
I'm building GWorkspace on MacOS 10.4 with gcc 4.0 and to effectively
link everything without any undefined warning, I have to do this :
patch {
set bundles {FSNode/ExtendedInfo/Role Tools/thumbnailer/
ImageThumbnailer}
set viewers {App Folder IBView Image NSColor NSRTF NSTIFF Rtf
Sound}
set v_path ${worksrcpath}/Inspector/ContentViewers
set fmodules {Annotations Contents CrDate Kind ModDate Name
Owner Size}
set fm_path ${worksrcpath}/GWorkspace/Finder/Modules
system "echo 'ADDITIONAL_LDFLAGS += -lobjc -lgnustep-base -
lgnustep-gui' \
>> ${worksrcpath}/FSNode/GNUmakefile.preamble"
system "echo 'ADDITIONAL_LDFLAGS += -lobjc -lgnustep-base -
lgnustep-gui -lFSNode' \
>> ${worksrcpath}/Inspector/GNUmakefile.preamble"
foreach bundle ${bundles} {
system "echo 'BUNDLE_LDFLAGS += -lgnustep-base -lgnustep-gui' \
>> ${worksrcpath}/${bundle}/GNUmakefile.preamble"
}
foreach viewer ${viewers} {
system "echo 'BUNDLE_LDFLAGS += -lgnustep-base -lgnustep-gui' \
>> ${v_path}/${viewer}Viewer/GNUmakefile.preamble"
}
foreach module ${fmodules} {
system "echo 'BUNDLE_LDFLAGS += -lgnustep-base -lgnustep-gui' \
>> ${fm_path}/FModule${module}/GNUmakefile.preamble"
}
}
Am I missing something ?
yves
- linking on MacOSX,
Yves de Champlain <=