Thanks for pointing me in the right direction...
In a nutshell, I tried:
./configure -embedded arm
This buildt qmake (x86) and prepared all the makefiles for cross-
compiling using 'arm-linux-gcc' and 'arm-linux-g++'.
./make compiles all the samples...
At this point I could have created a symbolic link using these names
for the gcc and g++... However, as a test, I tried:
make cleanconf
I edited the mkspecs/qws/arm-linux/qmake.conf and pointed the gcc
and g++ to the location of my cross toolchains.
Then, I tried:
./configure -embedded arm
./make
and it built the example files.
I then loaded a subset of these into the CF card I'm using and
presto! It's working.
Thanks all for your help!
Eduardo
--- In "Yan Seiner" <> wrote:
>
> --- In "Eduardo Mendiola" <mendiolae@>
wrote:
> >
> > Hi,
> >
> > I spent the weekend getting familiar with Qt3 on my Debian 3.1
host.
> > I also compiled Qt/Embedded for 386. Now, I want to create
programs
> > for my TS-7200/TS-7KV target.
> >
> > TS provides the compiled Qt/Embedded libraries and a few sample
> > programs (no include files), so I'm wondering if:
> >
> > a) Do I develop on the Linux host and use the crosstools? I
noticed
> > the generated makefiles (from using qmake -project, qmake
> > project.pro) use the -lXext -lX11 -lm libraries, so I would need
to
> > reference the ones from the TS-7200 (ARM) target.
>
> Yes, you can cross-build qt. You need to make some tweaks to the
> qmake files. Unless you need X11, you do not need to link to those
> libs; you need to build for qws. I have a mini-distro that will
build
> Qt/E using my patched code; I can post it later this week but it is
> definitely alpha material.
>
> >
> > I tried tweaking the makefile from the x86 version and the
linker
> > complained about it. If this is the way to go, I'll keep working
on
> > it. I just want to know if anybody has been successful at this
and
> > what's the best approach.
>
> There are arm-linux qmake files you need to use.
>
> Building qt is a two-stage process; you need to build it once for
your
> build host to build the utils like uic, and then build it again for
> your target using the utils you built in the first build.
>
> >
> > or,
> >
> > b)Do I mount the debian filesystem through NFS and build
Qt/Embedded
> > directly on the target?
>
> Ugh.... That would likely take days. It takes an hour or so on my
P4
> 3 GHz SATA RAID 3 GB RAM box; it would take forever on a 200 MHz
arm
> with 32 mb ram over an nfs mount....
>
> --Yan
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|