On Mon, 2007-04-16 at 20:30 +0100, Tijnema ! wrote:
> Hi,
>
> Is it normal when using -shared to create binaries that they are a segfault.
>
> This is what i did for example
> /# echo "main(){}" > dummy.c
> /# gcc -shared dummy.c -o dummy
> /# ./dummy
> Segmentation faultYes. The -shared option indicates that gcc should produce a dynamic library, rather than a runnable executable. What exactly are you trying to do? Simon.
signature.asc
Description: This is a digitally signed message part
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
