Hello Yves,
thanks to all that responded to my post. I got a bunch of good
answers. I especially I was informed that xCode 1.0 can't be used.
I need to remove this and do a full install of xCode 1.1. Only this
will copy the files bundle1.o, crt1.o ... into the correct
location. So while doing this I got rid of one problem. Another
problem remained.
it seems to works for me ...
Neither for me! I get:
cd ./TestFrame
make messages=yes install
Making build-headers for framework TestFrame...
/opt/GNUstep/System/Library/Makefiles/mkinstalldirs /Build/
TestFrame/derived_src
/opt/GNUstep/System/Library/Makefiles/mkinstalldirs /Build/
TestFrame/TestFrame.framework/Versions/A/.
/opt/GNUstep/System/Library/Makefiles/mkinstalldirs /Build/
TestFrame/TestFrame.framework/Versions/A/Headers
/opt/GNUstep/System/Library/Makefiles/mkinstalldirs /Build/
TestFrame/TestFrame.framework/Versions/A/Resources
cd /Build/TestFrame/TestFrame.framework/Versions; \
rm -f Current; \
ln -s A Current
cd /Build/TestFrame/TestFrame.framework; \
if [ ! -h "Resources" ]; then \
rm -f Resources; \
ln -s Versions/Current/Resources Resources; \
fi; \
if [ ! -h "Headers" ]; then \
rm -f Headers; \
ln -s Versions/Current/Headers Headers; \
fi
cd /Build/TestFrame/derived_src; \
if [ ! -h "TestFrame" ]; then \
rm -f ./TestFrame; \
ln -s ../TestFrame.framework/Headers \
./TestFrame; \
fi
for file in Person.h __done; do \
if [ $file != __done ]; then \
/usr/bin/install -c -m 644 ./$file \
/Build/TestFrame/TestFrame.framework/Versions/A/
Headers/$file ; \
fi; \
done
Making all for framework TestFrame...
cd /Build/TestFrame; \
/opt/GNUstep/System/Library/Makefiles/mkinstalldirs ./shared_obj; \
rm -f obj; \
ln -s ./shared_obj obj
gcc Person.m -c \
-MMD -MP -DNeXT_Foundation_LIBRARY=1 -DNeXT_GUI_LIBRARY=1 -
DNeXT_RUNTIME=1 -dynamic -fno-common -DGSWARN -DGSDIAGNOSE -O2 -fno-
strict-aliasing -fnext-runtime -Wno-parentheses -Wno-import -I/
Build/TestFrame/derived_src -I. -I/opt/GNUstep/System/Library/
Headers/ -F/opt/GNUstep/Local/Library/Frameworks/ \
-o /Build/TestFrame/shared_obj/Person.o
\
gcc -dynamiclib -current_version 1.0.0 -install_name
TestFrame.framework/TestFrame -flat_namespace -undefined
warning -o /Build/TestFrame/TestFrame.framework/Versions/
A/./libTestFrame.dylib.1.0.0 -L/opt/GNUstep/System/Library/
Libraries/ -F/opt/GNUstep/Local/Library/Frameworks/ -framework
Foundation -framework AppKit /Build/TestFrame/shared_obj/
Person.o ; (cd /Build/TestFrame/TestFrame.framework/Versions/A/.;
rm -f libTestFrame.dylib; if [ "libTestFrame.dylib.1" !=
"libTestFrame.dylib.1.0.0" ]; then rm -f libTestFrame.dylib.1; ln -
s libTestFrame.dylib.1.0.0 libTestFrame.dylib.1; fi; ln -s
libTestFrame.dylib.1.0.0 libTestFrame.dylib); \
(cd /Build/TestFrame/TestFrame.framework/Versions/A/.; \
rm -f TestFrame; \
ln -s libTestFrame.dylib TestFrame) \
/usr/bin/libtool: for architecture: cputype (16777234) cpusubtype
(0) file: -lSystem is not an object file (not allowed in a library)
(echo "{"; echo ' NOTE = "Automatically generated, do not edit!";'; \
echo " NSExecutable = \"TestFrame\";"; \
echo " NSMainNibFile = \"\";"; \
echo " NSPrincipalClass = \"TestFrame\";"; \
echo "}") >/Build/TestFrame/TestFrame.framework/Versions/A/
Resources/Info.plist
cd /Build/TestFrame/TestFrame.framework; \
rm -f TestFrame; \
ln -s Versions/Current/./TestFrame TestFrame
Making install for framework TestFrame...
/opt/GNUstep/System/Library/Makefiles/mkinstalldirs //Library/
Frameworks
rm -rf //Library/Frameworks/TestFrame.framework; \
(cd /Build/TestFrame; gnutar cfX - /opt/GNUstep/System/Library/
Makefiles/tar-exclude-list TestFrame.framework) | (cd //Library/
Frameworks; gnutar xf -)
cd ./TestTool
make messages=yes install
Making all for tool TestTool...
cd /Build/TestTool; \
/opt/GNUstep/System/Library/Makefiles/mkinstalldirs ./shared_obj; \
rm -f obj; \
ln -s ./shared_obj obj
gcc TestTool_main.m -c \
-MMD -MP -DNeXT_Foundation_LIBRARY=1 -DNeXT_GUI_LIBRARY=1 -
DNeXT_RUNTIME=1 -dynamic -fno-common -DGSWARN -DGSDIAGNOSE -O2 -fno-
strict-aliasing -fnext-runtime -Wno-parentheses -Wno-import -
framework TestFrame -I. -I/opt/GNUstep/System/Library/Headers/ -F/
opt/GNUstep/Local/Library/Frameworks/ \
-o /Build/TestTool/shared_obj/TestTool_main.o
gcc: -framework: linker input file unused because linking not done
gcc: TestFrame: linker input file unused because linking not done
gcc -o /Build/TestTool/shared_obj/TestTool \
/Build/TestTool/shared_obj/TestTool_main.o \
-L/opt/GNUstep/System/Library/Libraries/ -lm -F/opt/
GNUstep/Local/Library/Frameworks/ -framework TestFrame -framework
Foundation
ld: can't locate framework for: -framework TestFrame
make[1]: *** [/Build/TestTool/shared_obj/TestTool] Error 1
make: *** [TestTool.all.tool.variables] Error 2
TestFrame.framework got installed in /Library/Frameworks inspite of
the above error message. What's this locate problem about?
Thanks a lot!
Regards,
Andreas
_______________________________________________
MacOSX-dev mailing list
MacOSX-dev@omnigroup.com
http://www.omnigroup.com/mailman/listinfo/macosx-dev