[Scratchbox-devel] sbox compiler's command-line options
Timo Savola
tsavola at movial.fi
Thu Oct 5 14:08:04 EEST 2006
On Thu, 2006-10-05 at 13:41 +0300, Andrey Khurri wrote:
> Do you know if this option is supported at all by sbox compilers or
> should it be invoked in some other way than '-llibrary' or '-l
> library'? I also thought that sbox compilers may have less available
> command-line options comparing to "normal" gcc. Can it be truth?
No. Scratchbox compilers are standard GCC cross-compilers.
> Below is an output of the error for PC target:
>
> sbox-i686-linux-gcc: -lgthread-2.0: linker input file unused because
> linking not done
> sbox-i686-linux-gcc: -lglib-2.0: linker input file unused because
> linking not done
> sbox-i686-linux-gcc: -lgobject-2.0: linker input file unused because
> linking not done
> sbox-i686-linux-gcc: -lglib-2.0: linker input file unused because
> linking not done
> sbox-i686-linux-gcc: ../libinet6/.libs/libinet6.a: linker input file
> unused because linking not done
> sbox-i686-linux-gcc: ../libhiptool/.libs/libhiptool.a: linker input
> file unused because linking not done
> cc1: error: unrecognized command line option "-lgthread-2.0"
> cc1: error: unrecognized command line option "-lglib-2.0"
> cc1: error: unrecognized command line option "-lgobject-2.0"
> cc1: error: unrecognized command line option "-lglib-2.0"
It would be belpful to know how exactly you invoked gcc, but I'm
guessing you passed the -c option to it.
timo
More information about the Scratchbox-devel
mailing list