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?
 
Thanks,
Alan
 
_________________________________________________________________
BigSnapSearch.com - 24 prizes a day, every day - Search Now!
http://clk.atdmt.com/UKM/go/117442309/direct/01/
_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to