by any chance you passed "-static" flag to gcc?
build library with "make showcommands" and check the flags passed
during compilation.

On Tue, Mar 1, 2011 at 3:37 PM, Lay <[email protected]> wrote:
> Hi Android porters,
>
> I am trying to port ralink wifi rt2870sta.ko into Android v2.1. After
> compiling the driver with arm-eabi-gcc, the code size of rt2870sta.ko
> came up to 9Mbyte. This is too large. When I compiled using the normal
> PC gcc on Ubuntu 10.04, the code size is about 700kbyte.
>
> Is this normal behavior?
>
> Thank you.
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>



-- 
Regards,
Deva
www.bittoggler.com

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to