VALDEUC cross compilation starting

Support for C series TVs that all user could ask. Please do not ask a questions at other forums.
Post Reply

User avatar
beatfreak
SamyGO Project Donor
Posts: 581
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

VALDEUC cross compilation starting

Post by beatfreak » Mon Dec 30, 2013 2:25 pm

i started trying to compile something for my tv
according to viewtopic.php?t=5148 i installed gcc, libncurses
and did a svn checkout to get he toolchain

Code: Select all

b3nz0l@BlackjackLNX:~/Downloads/scct/download/svncct> svn checkout svn://svn.code.sf.net/p/samygo/code/develop/toolchains/T-VAL
...lots of downloaded files...
b3nz0l@BlackjackLNX:~/Downloads/scct/download/svncct> mv T-VAL/arm_v7_vfp_le_20091117 ./T-VAL/arm_v7_vfp_le
then attempt to do something

Code: Select all

b3nz0l@BlackjackLNX:~/Downloads/scct/src/hello> export PATH=$PATH:/home/b3nz0l/Downloads/scct/download/svncct/T-VAL/arm_v7_vfp_le/bin
b3nz0l@BlackjackLNX:~/Downloads/scct/src/hello> arm_v7_vfp_le-gcc -o helloworld hello.c
/home/b3nz0l/Downloads/scct/download/svncct/T-VAL/arm_v7_vfp_le/bin/../lib/gcc/armv7fl-montavista-linux-gnueabi/4.2.0/../../../../armv7fl-montavista-linux-gnueabi/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 as status
b3nz0l@BlackjackLNX:~/Downloads/scct/src/hello> ll ../../download/svncct/T-VAL/arm_v7_vfp_le/lib/gcc/
drwxr-xr-x 1 b3nz0l users 10 30. Dez 12:27 armv7fl-montavista-linux-gnueabi
b3nz0l@BlackjackLNX:~/Downloads/scct/src/hello> find ../../download/svncct/T-VAL/arm_v7_vfp_le/ -type f -iname crt1
b3nz0l@BlackjackLNX:~/Downloads/scct/src/hello> 
this is my makefile
SpoilerShow

Code: Select all

    ROSS_COMPILE = arm_v7_vfp_le-

    CC   = $(CROSS_COMPILE)gcc


    SRC_DIR   = ./
    OBJ_DIR   = $(SRC_DIR)


    INC =  \
       -I$(SRC_DIR)

    EXTRA_CFLAGS = -Wall -fPIC

    CFLAGS = -c -O2 $(INC) $(EXTRA_CFLAGS) $(DEFS)


    OBJS =helloworld.o
    SRCS =helloworld.c
          
    DEFS =-DARM7 -DD_SERIES #-DDEBUG_LOG

    TARGET_SO =hello.so
    OBJ_SUFFIX =o

    all :   $(TARGET_SO)

    .c.$(OBJ_SUFFIX):
       @echo Compile $(CC)... [$@]
       $(CC) $< $(CFLAGS) -o $*.$(OBJ_SUFFIX)
          
    O16S = $(SRCS:.c=.$(OBJ_SUFFIX))

    $(TARGET_SO) : $(O16S)
             @echo Linking ... [$@]
             $(CC) $(DEFS) -fPIC -shared -Wl,-soname,$(TARGET_SO) -o $(TARGET_SO) $(OBJS) $(EXTRA_CFLAGS) -lm -ldl
             

    clean :
       rm -rf $(OBJS) $(TARGET_SO)


    .SUFFIXES = .c .o
and this hello.c

Code: Select all

#include <stdio.h>
int main(void)
{
        printf("Hello World\n");
        return 0;
}
so i guess something is missing ^^
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

User avatar
juusso
SamyGO Moderator
Posts: 10094
Joined: Sun Mar 07, 2010 6:20 pm

Re: VALDEUC cross compilation starting

Post by juusso » Sat Jan 04, 2014 8:27 am

try original toolchain from opensource.samsung.com or from sourceforge samygo account.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

User avatar
beatfreak
SamyGO Project Donor
Posts: 581
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

Re: VALDEUC cross compilation starting

Post by beatfreak » Sun Jan 05, 2014 2:27 pm

ok, next try...

got UExxC6xx0.zip from http://opensource.samsung.com
as it supports
SpoilerShow
UE32C6000
UE32C6200
UE32C6500
UE32C6530
UE32C6600
UE32C6700
UE32C6800
UE32C8000
UE37C6000
UE37C6200
UE37C6500
UE37C6530
UE37C6600
UE37C6700
UE37C6800
UE40C6000
UE40C6200
UE40C6500
UE40C6530
UE40C6600
UE40C6700
UE40C6800
UE40C6900
UE40C7000
UE40C7700
UE40C8000
UE40C8700
UE46C6000
UE46C6200
UE46C6500
UE46C6530
UE46C6600
UE46C6700
UE46C6800
UE46C6900
UE46C7000
UE46C7700
UE46C8000
UE46C8700
UE55C6000
UE55C6200
UE55C6500
UE55C6530
UE55C6700
UE55C6900
UE55C7000
UE55C7700
UE55C8000
UE55C8700
after unpacking i had

Code: Select all

b3nz0l@BlackjackLNX:~/Downloads/scct> ll download/
insgesamt 296448
drwxr-xr-x 1 b3nz0l users       198  5. Jan 11:47 nn
drwxr-xr-x 1 b3nz0l users        10 30. Dez 12:27 svncct
drwxr-xr-x 1 b3nz0l users       630  5. Jan 11:49 uexxc6xx0
-rw------- 1 b3nz0l users 303562706 30. Dez 12:41 UExxC6xx0.zip
b3nz0l@BlackjackLNX:~/Downloads/scct> ll download/uexxc6xx0/
insgesamt 302740
-rw-r--r-- 1 b3nz0l users 162665325 30. Apr 2010  arm_v7_vfp_le_20091117.tgz
-rw-r--r-- 1 b3nz0l users    614233 27. Mai 2010  iptables-1.4.3.2.tgz
-rw-r--r-- 1 b3nz0l users  23600512  1. Jun 2010  LGPL_ffmpeg.tgz
-rw-r--r-- 1 b3nz0l users   4857224 30. Apr 2010  LGPL_LIBGPHOTO2.tar.gz
-rw-r--r-- 1 b3nz0l users    411929 30. Apr 2010  LGPL_LIBUSB.tar.gz
-rw-r--r-- 1 b3nz0l users   2439694  1. Jun 2010  LGPL_mms.tgz
-rw-r--r-- 1 b3nz0l users    595062  1. Jun 2010  LGPL_SDL.tar.gz
-rw-r--r-- 1 b3nz0l users    196258  1. Jun 2010  LGPL_smpeg.tar.gz
-rw-r--r-- 1 b3nz0l users    616842 27. Mai 2010  libthai-0.1.6.tar.gz
-rw-r--r-- 1 b3nz0l users  64415294  1. Jun 2010  linux.tgz
-rw-r--r-- 1 b3nz0l users   2237752 30. Apr 2010  selp_busybox-1.6.0-7.0.10.tgz
-rw-r--r-- 1 b3nz0l users  18157443 30. Apr 2010  selp_cross-binutils-2.17.50-10.0.19.tgz
-rw-r--r-- 1 b3nz0l users  27484927 30. Apr 2010  selp_glibc-2.5.90-19.0.53.tgz
-rw-r--r-- 1 b3nz0l users    401953 27. Mai 2010  wireless_tools.29.tgz
-r--r--r-- 1 b3nz0l users   1282639 19. Feb 2010  xfsprogs-3.0.5.0124.tgz
b3nz0l@BlackjackLNX:~/Downloads/scct> 
according to http://wiki.samygo.tv/index.php5/Settin ... _toolchain
i created a directory for this toolchain and placed the contents of

Code: Select all

-rw-r--r-- 1 b3nz0l users 162665325 30. Apr 2010  arm_v7_vfp_le_20091117.tgz
-rw-r--r-- 1 b3nz0l users  64415294  1. Jun 2010  linux.tgz
-rw-r--r-- 1 b3nz0l users   2237752 30. Apr 2010  selp_busybox-1.6.0-7.0.10.tgz
-rw-r--r-- 1 b3nz0l users  18157443 30. Apr 2010  selp_cross-binutils-2.17.50-10.0.19.tgz
-rw-r--r-- 1 b3nz0l users  27484927 30. Apr 2010  selp_glibc-2.5.90-19.0.53.tgz
in it. (after testing i think only arm_v7_vfp_le... would be enough)
rename the folder for a shorter name

Code: Select all

b3nz0l@BlackjackLNX:~> export PATH=$PATH:/home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/bin
b3nz0l@BlackjackLNX:~> cd Downloads/scct/src/hello/
b3nz0l@BlackjackLNX:~/Downloads/scct/src/hello> arm_v7_vfp_le-gcc -mglibc -o helloworld hello.c
b3nz0l@BlackjackLNX:~/Downloads/scct/src/hello> ll
insgesamt 20
-rw-r--r-- 1 b3nz0l users   89 30. Dez 13:09 hello.c
-rwxr-xr-x 1 b3nz0l users 8920  5. Jan 13:57 helloworld
b3nz0l@BlackjackLNX:~/Downloads/scct/src/hello>
looks better :)

next compile attempt for ntfs-3g
changes to toolchain:

Code: Select all

b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ll
insgesamt 2704
lrwxrwxrwx 1 b3nz0l users      26 18. Nov 2009  ar -> ../../bin/arm_v7_vfp_le-ar
lrwxrwxrwx 1 b3nz0l users      26 18. Nov 2009  as -> ../../bin/arm_v7_vfp_le-as
lrwxrwxrwx 2 b3nz0l users      27 18. Nov 2009  c++ -> ../../bin/arm_v7_vfp_le-g++
lrwxrwxrwx 1 b3nz0l users      27 18. Nov 2009  cpp -> ../../bin/arm_v7_vfp_le-cpp
lrwxrwxrwx 2 b3nz0l users      27 18. Nov 2009  g++ -> ../../bin/arm_v7_vfp_le-g++
lrwxrwxrwx 1 b3nz0l users      27 18. Nov 2009  gcc -> ../../bin/arm_v7_vfp_le-gcc
lrwxrwxrwx 1 b3nz0l users      28 18. Nov 2009  gcov -> ../../bin/arm_v7_vfp_le-gcov
lrwxrwxrwx 1 b3nz0l users       2 18. Nov 2009  gnm -> nm
lrwxrwxrwx 1 b3nz0l users       5 18. Nov 2009  gstrip -> strip
lrwxrwxrwx 1 b3nz0l users      26 18. Nov 2009  ld -> ../../bin/arm_v7_vfp_le-ld
lrwxrwxrwx 1 b3nz0l users      26 18. Nov 2009  nm -> ../../bin/arm_v7_vfp_le-nm
-rwxr-xr-x 2 b3nz0l users 2708473 17. Nov 2009  objcopy
lrwxrwxrwx 1 b3nz0l users      31 18. Nov 2009  objdump -> ../../bin/arm_v7_vfp_le-objdump
lrwxrwxrwx 1 b3nz0l users      30 18. Nov 2009  ranlib -> ../../bin/arm_v7_vfp_le-ranlib
lrwxrwxrwx 1 b3nz0l users      29 18. Nov 2009  strip -> ../../bin/arm_v7_vfp_le-strip
b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ln -s ../../bin/arm_v7_vfp_le-ar armv7fl-montavista-linux-gnueabi-ar
b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ln -s ../../bin/arm_v7_vfp_le-as armv7fl-montavista-linux-gnueabi-as
b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ln -s ../../bin/arm_v7_vfp_le-g++ armv7fl-montavista-linux-gnueabi-c++
b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ln -s ../../bin/arm_v7_vfp_le-cpp armv7fl-montavista-linux-gnueabi-cpp
b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ln -s ../../bin/arm_v7_vfp_le-g++ armv7fl-montavista-linux-gnueabi-g++
b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ln -s ../../bin/arm_v7_vfp_le-gcc armv7fl-montavista-linux-gnueabi-gcc
b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ln -s ../../bin/arm_v7_vfp_le-gcov armv7fl-montavista-linux-gnueabi-gcov
b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ln -s ../../bin/arm_v7_vfp_le-ld armv7fl-montavista-linux-gnueabi-ld
b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ln -s ../../bin/arm_v7_vfp_le-nm armv7fl-montavista-linux-gnueabi-nm
b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ln -s ../../bin/arm_v7_vfp_le-objdump armv7fl-montavista-linux-gnueabi-objdump
b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ln -s ../../bin/arm_v7_vfp_le-ranlib armv7fl-montavista-linux-gnueabi-ranlib
b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ln -s ../../bin/arm_v7_vfp_le-strip armv7fl-montavista-linux-gnueabi-strip
b3nz0l@BlackjackLNX:~/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin> ll
insgesamt 2752
lrwxrwxrwx 1 b3nz0l users      26 18. Nov 2009  ar -> ../../bin/arm_v7_vfp_le-ar
lrwxrwxrwx 1 b3nz0l users      26 20. Jan 19:46 armv7fl-montavista-linux-gnueabi-ar -> ../../bin/arm_v7_vfp_le-ar
lrwxrwxrwx 1 b3nz0l users      26 20. Jan 19:46 armv7fl-montavista-linux-gnueabi-as -> ../../bin/arm_v7_vfp_le-as
lrwxrwxrwx 1 b3nz0l users      27 20. Jan 19:47 armv7fl-montavista-linux-gnueabi-c++ -> ../../bin/arm_v7_vfp_le-g++
lrwxrwxrwx 1 b3nz0l users      27 20. Jan 19:47 armv7fl-montavista-linux-gnueabi-cpp -> ../../bin/arm_v7_vfp_le-cpp
lrwxrwxrwx 1 b3nz0l users      27 20. Jan 19:48 armv7fl-montavista-linux-gnueabi-g++ -> ../../bin/arm_v7_vfp_le-g++
lrwxrwxrwx 1 b3nz0l users      27 20. Jan 19:48 armv7fl-montavista-linux-gnueabi-gcc -> ../../bin/arm_v7_vfp_le-gcc
lrwxrwxrwx 1 b3nz0l users      28 20. Jan 19:48 armv7fl-montavista-linux-gnueabi-gcov -> ../../bin/arm_v7_vfp_le-gcov
lrwxrwxrwx 1 b3nz0l users      26 20. Jan 19:49 armv7fl-montavista-linux-gnueabi-ld -> ../../bin/arm_v7_vfp_le-ld
lrwxrwxrwx 1 b3nz0l users      26 20. Jan 19:49 armv7fl-montavista-linux-gnueabi-nm -> ../../bin/arm_v7_vfp_le-nm
lrwxrwxrwx 1 b3nz0l users      31 20. Jan 19:50 armv7fl-montavista-linux-gnueabi-objdump -> ../../bin/arm_v7_vfp_le-objdump
lrwxrwxrwx 1 b3nz0l users      30 20. Jan 19:50 armv7fl-montavista-linux-gnueabi-ranlib -> ../../bin/arm_v7_vfp_le-ranlib
lrwxrwxrwx 1 b3nz0l users      29 20. Jan 19:50 armv7fl-montavista-linux-gnueabi-strip -> ../../bin/arm_v7_vfp_le-strip
lrwxrwxrwx 1 b3nz0l users      26 18. Nov 2009  as -> ../../bin/arm_v7_vfp_le-as
lrwxrwxrwx 2 b3nz0l users      27 18. Nov 2009  c++ -> ../../bin/arm_v7_vfp_le-g++
lrwxrwxrwx 1 b3nz0l users      27 18. Nov 2009  cpp -> ../../bin/arm_v7_vfp_le-cpp
lrwxrwxrwx 2 b3nz0l users      27 18. Nov 2009  g++ -> ../../bin/arm_v7_vfp_le-g++
lrwxrwxrwx 1 b3nz0l users      27 18. Nov 2009  gcc -> ../../bin/arm_v7_vfp_le-gcc
lrwxrwxrwx 1 b3nz0l users      28 18. Nov 2009  gcov -> ../../bin/arm_v7_vfp_le-gcov
lrwxrwxrwx 1 b3nz0l users       2 18. Nov 2009  gnm -> nm
lrwxrwxrwx 1 b3nz0l users       5 18. Nov 2009  gstrip -> strip
lrwxrwxrwx 1 b3nz0l users      26 18. Nov 2009  ld -> ../../bin/arm_v7_vfp_le-ld
lrwxrwxrwx 1 b3nz0l users      26 18. Nov 2009  nm -> ../../bin/arm_v7_vfp_le-nm
-rwxr-xr-x 2 b3nz0l users 2708473 17. Nov 2009  objcopy
lrwxrwxrwx 1 b3nz0l users      31 18. Nov 2009  objdump -> ../../bin/arm_v7_vfp_le-objdump
lrwxrwxrwx 1 b3nz0l users      30 18. Nov 2009  ranlib -> ../../bin/arm_v7_vfp_le-ranlib
lrwxrwxrwx 1 b3nz0l users      29 18. Nov 2009  strip -> ../../bin/arm_v7_vfp_le-strip
and test

Code: Select all

b3nz0l@BlackjackLNX:~/Downloads/scct/src/ntfs3g> ./configure --with-fuse=external --disable-ntfsprogs --prefix=/home/b3nz0l/Downloads/scct/out1 --exec-prefix=/home/b3nz0l/Downloads/scct/out2 --host=armv7fl-montavista-linux-gnueabi CC=/home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking build system type... x86_64-suse-linux-gnu
checking host system type... armv7fl-montavista-linux-gnueabi
checking target system type... armv7fl-montavista-linux-gnueabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for armv7fl-montavista-linux-gnueabi-strip... armv7fl-montavista-linux-gnueabi-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for armv7fl-montavista-linux-gnueabi-gcc... /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc accepts -g... yes
checking for /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc... gcc3
checking whether ln -s works... yes
checking whether /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc... /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/ld
checking if the linker (/home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/ld) is GNU ld... yes
checking for /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-nm -B
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for armv7fl-montavista-linux-gnueabi-g++... armv7fl-montavista-linux-gnueabi-g++
checking whether we are using the GNU C++ compiler... yes
checking whether armv7fl-montavista-linux-gnueabi-g++ accepts -g... yes
checking dependency style of armv7fl-montavista-linux-gnueabi-g++... gcc3
checking how to run the C++ preprocessor... armv7fl-montavista-linux-gnueabi-g++ -E
checking for armv7fl-montavista-linux-gnueabi-g77... no
checking for armv7fl-montavista-linux-gnueabi-xlf... no
checking for armv7fl-montavista-linux-gnueabi-f77... no
checking for armv7fl-montavista-linux-gnueabi-frt... no
checking for armv7fl-montavista-linux-gnueabi-pgf77... no
checking for armv7fl-montavista-linux-gnueabi-cf77... no
checking for armv7fl-montavista-linux-gnueabi-fort77... no
checking for armv7fl-montavista-linux-gnueabi-fl32... no
checking for armv7fl-montavista-linux-gnueabi-af77... no
checking for armv7fl-montavista-linux-gnueabi-xlf90... no
checking for armv7fl-montavista-linux-gnueabi-f90... no
checking for armv7fl-montavista-linux-gnueabi-pgf90... no
checking for armv7fl-montavista-linux-gnueabi-pghpf... no
checking for armv7fl-montavista-linux-gnueabi-epcf90... no
checking for armv7fl-montavista-linux-gnueabi-gfortran... no
checking for armv7fl-montavista-linux-gnueabi-g95... no
checking for armv7fl-montavista-linux-gnueabi-xlf95... no
checking for armv7fl-montavista-linux-gnueabi-f95... no
checking for armv7fl-montavista-linux-gnueabi-fort... no
checking for armv7fl-montavista-linux-gnueabi-ifort... no
checking for armv7fl-montavista-linux-gnueabi-ifc... no
checking for armv7fl-montavista-linux-gnueabi-efc... no
checking for armv7fl-montavista-linux-gnueabi-pgf95... no
checking for armv7fl-montavista-linux-gnueabi-lf95... no
checking for armv7fl-montavista-linux-gnueabi-ftn... no
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-nm -B output from /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc object... ok
checking for objdir... .libs
checking for armv7fl-montavista-linux-gnueabi-ar... armv7fl-montavista-linux-gnueabi-ar
checking for armv7fl-montavista-linux-gnueabi-ranlib... armv7fl-montavista-linux-gnueabi-ranlib
checking for armv7fl-montavista-linux-gnueabi-strip... (cached) armv7fl-montavista-linux-gnueabi-strip
checking if /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc option to produce PIC... -fPIC
checking if /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc PIC flag -fPIC works... yes
checking if /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc static flag -static works... yes
checking if /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc supports -c -o file.o... yes
checking whether the /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/armv7fl-montavista-linux-gnueabi-gcc linker (/home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by armv7fl-montavista-linux-gnueabi-g++... /home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/ld
checking if the linker (/home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/ld) is GNU ld... yes
checking whether the armv7fl-montavista-linux-gnueabi-g++ linker (/home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/ld) supports shared libraries... yes
checking for armv7fl-montavista-linux-gnueabi-g++ option to produce PIC... -fPIC
checking if armv7fl-montavista-linux-gnueabi-g++ PIC flag -fPIC works... yes
checking if armv7fl-montavista-linux-gnueabi-g++ static flag -static works... yes
checking if armv7fl-montavista-linux-gnueabi-g++ supports -c -o file.o... yes
checking whether the armv7fl-montavista-linux-gnueabi-g++ linker (/home/b3nz0l/Downloads/scct/dcct/arm_v7_vfp_le/armv7fl-montavista-linux-gnueabi/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking for armv7fl-montavista-linux-gnueabi-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@gnu.org.
checking pkg-config is at least version 0.9.0... yes
checking for mv... /usr/bin/mv
checking for rm... /usr/bin/rm
checking for sed... /usr/bin/sed
checking for ldconfig... /sbin/ldconfig
checking Windows OS... no
checking fuse compatibility... external
checking for FUSE_MODULE... no
configure: error: FUSE >= 2.6.0 was not found. Either older FUSE is still present, or FUSE is not fully installed (e.g. fuse, libfuse, libfuse2, libfuse-dev, etc packages). Source code: http://fuse.sf.net
i don't know where configure expects FUSE to be (installed on building system, opensuse 13.1 is FUSE 2.9.2)

i think i need to also compile fuse for armv7fl and i need to create a wrapper script for pkg.config to point it to the right dirs with the arm libs
as i have no idea how to do that i'll freese this attempt until someone can help me
Last edited by beatfreak on Sat Feb 01, 2014 12:51 pm, edited 2 times in total.
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

User avatar
beatfreak
SamyGO Project Donor
Posts: 581
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

Re: VALDEUC cross compilation starting

Post by beatfreak » Mon Jan 20, 2014 7:12 pm

has anyone ever tried something like this?
http://www.oocities.org/glenn65535/arm_ ... lchain.txt
sure, it would be a lot more challenging to get this done compared to other small binaries but if successfull i think a native toolchain will always work better...
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

Post Reply

Return to “[C] Support”