LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2015, 11:08 PM   #16
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled

$./configure --host=arm-linux --prefix=/home/tslib --enable-shared=yes --enable-static=yes
$make
$make install

executing after these 3 commands in cd /home/tslib created lib folder in that cd /lib this file is created libts-1.0.so.0.0.0
if i checked file libts-1.0.so.0.0.0 ==>

i got this output for checking cross compile or not

libts-1.0.so.0.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=0xd113e8e6a6562ca3bd32f286ed9611919adc9a44, not stripped
 
Old 11-02-2015, 03:55 AM   #17
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled
i am following these steps==>

#!/bin/sh

#export CROSS_COMPILE=/home/sachin/Documents/ARM_CROSS_COMPILER/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-
export CC=/home/sachin/Documents/ARM_CROSS_COMPILER/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-gcc
export CFLAGS=-march=armv4t
export CXX=/home/sachin/Documents/ARM_CROSS_COMPILER/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++
export AR=/home/sachin/Documents/ARM_CROSS_COMPILER/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-ar
export AS=/home/sachin/Documents/ARM_CROSS_COMPILER/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-as
export RANLIB=/home/sachin/Documents/ARM_CROSS_COMPILER/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-ranlib
export LD=/home/sachin/Documents/ARM_CROSS_COMPILER/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-ld
export STRIP=/home/sachin/Documents/ARM_CROSS_COMPILER/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-strip
export ac_cv_func_malloc_0_nonnull=yes
sudo ./autogen-clean.sh
./autogen.sh
sudo ./configure --host=arm-fsl-linux-gnueabi --prefix=/home/tslib --enable-shared=yes --enable-static=yes
sudo make
sudo make install

---------- Post added 11-02-15 at 04:55 AM ----------

but not solved
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Eglibc cannot compile suffix of object files while trying to cross compile Bry6n Linux From Scratch 0 08-21-2012 06:14 PM
Cross-Compile some libraries for FriendlyARM striker07 Linux - Embedded & Single-board computer 1 04-21-2011 05:36 AM
How to cross compile? jiyun0121 Linux - General 3 09-01-2005 06:15 PM
cross compile zaicheke Linux - Software 7 01-20-2005 08:23 PM
How to compile a tiny simple library by g++? Xiangbuilder Programming 13 10-20-2003 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration