Re: build STLport 5 under 10.4?
Re: build STLport 5 under 10.4?
- Subject: Re: build STLport 5 under 10.4?
- From: email@hidden
- Date: Mon, 5 Dec 2005 09:38:17 -0800 (PST)
Thank you Paul, that has gotten me started. STLport 5 now compiles and links for me, but I have
been unable to link it to a project built with Xcode 2.2. I get
/usr/bin/ld: Undefined symbols:
stlpmtx_std::__stl_throw_length_error(char const*)
stlpmtx_std::cout
stlpmtx_std::ios_base::_M_throw_failure()
collect2: ld returned 1 exit status
when Xcode runs the command
/usr/bin/g++-4.0 -o /Users/mark/tests/gentest/build/Debug/gentest
-L/Users/mark/tests/gentest/build/Debug -L/Users/mark/misc_code/metakit-2.4.9.4/builds
-L/Users/mark/misc_code/STLport-5.1.0/lib -F/Users/mark/tests/gentest/build/Debug -filelist
/Users/mark/tests/gentest/build/gentest.build/Debug/gentest.build/Objects-normal/i386/gentest.LinkFileList
-lstlport -lstlport.5.1.0 -lstlport.5.1 -lstlport.5 -arch i386 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk
I have tried setting various symbols, such as LD_LIBRARY and DYNLD_LIBRARY, and putting the
stlport.dylib file and the various aliases generated by its makefile into different locations,
such as /usr/local/lib and the build folder, without success.
Can you tell me if you did anything special to link with STLport?
> From: Paul Thomas <email@hidden>
> Subject: Re: build STLport 5 under 10.4?
> On 22 Nov 2005, at 17:52, email@hidden wrote:
>
> > Has anyone built STLport 5 using gcc4? After setting native
> > include paths in _site_config.h
> >
>
> I built from CVS (just updated and rebuilt to check) but I only changed
> _STLP_NATIVE_INCLUDE_PATH, not the others
> > #CXXFLAGS += -fuse-cxa-atexit
--
mARK bLOORE <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden