![]() |
2010-07-27
, 17:45
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#32
|
![]() |
2010-07-28
, 09:02
|
Posts: 3 |
Thanked: 0 times |
Joined on Jul 2010
|
#33
|
![]() |
2010-07-28
, 09:14
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#34
|
![]() |
2010-07-28
, 11:26
|
Posts: 3 |
Thanked: 0 times |
Joined on Jul 2010
|
#35
|
![]() |
2010-07-28
, 11:43
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#36
|
Yes I can do that but what about compiling the app. It should get compiled with the toolchain in the rootfs, not the one on my machine. I want to be able to cross-compile the app so I can use it on that rootfs.
Does it make sense?
The Following User Says Thank You to Venemo For This Useful Post: | ||
![]() |
2010-07-28
, 17:15
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#37
|
Yes I can do that but what about compiling the app. It should get compiled with the toolchain in the rootfs, not the one on my machine. I want to be able to cross-compile the app so I can use it on that rootfs.
Does it make sense?
![]() |
2010-08-11
, 10:43
|
Posts: 62 |
Thanked: 97 times |
Joined on Dec 2009
@ Finland, Kerava
|
#38
|
Hy guys. I need help answering a question.
First of all let me say what I want to do: I have a rootfs, a toolchain and a device (not a Nokia device). I want to configure MADDE to help me crosscompile for ARM and create QT apps that I can run on my device. So far so good, but what if my toolchain / rootfs is x86 based? Can I setup MADDE to help me create x86 based QT apps, that I will then run on my x86 device? As far as I could find there is no way specifying that the target you create with mad-admin has a certain arch. I've tried to do that and used a x86 rootfs and a x86 cross toolchain. The target got created ok. When I try "mad gcc --version" I get the correct one, but when I try "mad gcc -Wall test.c" for eg, I get complains cause some ARM options get passed to gcc. I guess it expects to find an ARM compiler and does not bother to check it out. Am I right?
Thanks
mad-admin create my_target -tc my_toolchain -sr my sysroot -qt my_qt
mad-admin create newtarget
The Following User Says Thank You to rontti For This Useful Post: | ||
First of all let me say what I want to do: I have a rootfs, a toolchain and a device (not a Nokia device). I want to configure MADDE to help me crosscompile for ARM and create QT apps that I can run on my device. So far so good, but what if my toolchain / rootfs is x86 based? Can I setup MADDE to help me create x86 based QT apps, that I will then run on my x86 device? As far as I could find there is no way specifying that the target you create with mad-admin has a certain arch. I've tried to do that and used a x86 rootfs and a x86 cross toolchain. The target got created ok. When I try "mad gcc --version" I get the correct one, but when I try "mad gcc -Wall test.c" for eg, I get complains cause some ARM options get passed to gcc. I guess it expects to find an ARM compiler and does not bother to check it out. Am I right?
Thanks