building libusb-1.0.8 errors on imx6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

building libusb-1.0.8 errors on imx6

947 Views
pisces
Contributor II

Hi 

we need the libusb so file on our IMX.6 platform.

but when we set the acroos complier and try to configure and build.

it report errors as below:

Assembler messages:
Fatal error: invalid -march= option: `armv5t'
configure:3249: $? = 1

before building, we set the environemnt as below:

export PATH=/home/frank/toolchain/bin:$PATH

export CC=arm-fslc-linux-gnueabi-gcc AR=arm-fslc-linux-gnueabi-ar LD=arm-fslc-linux-gnueabi-ld STRIP=arm-fslc-linux-gnueabi-strip

Can anyone help me regarding this?

the attached doc file is the instructions i got from the vendor.

to make the sec1110 smart card chip run, we need to build some libs running on ARM platform.

any suggestiongs will  be highly appreciated.

 

thanks.

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

938 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello weigang,

The i.mx6 is armv7 can not compile by Armv5, that the reason you might have this error.

 

Regards

0 Kudos
Reply