[gccsdk] Creating shared libraries
alan_baa at hotmail.com
Mon Nov 17 05:15:50 PST 2008
I don't seem to be able to create shared libraries
on RISC OS.
I found a simple example on the web and tried the
following to build it in an Obey file:
gcc -fPIC -Wall -g -c libhello.c
gcc -shared -Wl,-soname,libhello.so.0 -olibhello/so/0/0 libhello.o
The Result I got was:
/ADFS::HardDisc4.$/Apps/Development/!GCC/bin/ld: cannot open output file libhello/so/0/0: Can't open 'libhello.so.0.0'
collect2: ld returned 1 exit status
I also tried -olibhello.so.0.0 and that also did not work.
Can anyone suggest what I might be doing wrong?
BigSnapSearch.com - 24 prizes a day, every day - Search Now!
More information about the gcc