On Friday, Aug 16, 2002, at 10:23 US/Pacific, Galen Faidley wrote:
> I hope this is the correct list to send my question to. I couldn't
> find the page dedicated to the list on apples site so I couldn't read
> the description, archives, or even join the list.
>
> I am using the version of gcc3 that came with the April developer
> tools:
> Apple Computer, Inc. GCC version 1041, based on gcc version 3.1
> 20020105 (experimental)
>
> I am experiencing problems with dynamic linking. The problems
> manifest themselves on runtime. When the first call to a function in
> my library is made the application gets stuck in a semaphore_wait_trap
> () . There is only one thread running so of course it will never get
> out of the trap. I may very well have built my library incorrectly
> (is there some documentation on how it should be done?)
There may be, but offhand I don't know where.
Try pasting this into your WWW browser:
file:///Developer/Documentation/DeveloperTools/devtools.html
This may also be helpful:
file:///Developer/Documentation/DeveloperTools/libtool/libtool_toc.html
Both of these docs are standard parts of the imminent Jaguar release;
alas, I don't have a Puma system handy to make sure they're in the same
places. If you don't find them right off, ask Sherlock (or UNIX
'find') to look for you.
> but I get no error when building the library or building the app. If
> I link my application statically everything behaves as it should.
I'm sorry I can't do more for you right now. Our linker expert is on
vacation for another week.
stuart hastings