The Following User Says Thank You to danielwilms For This Useful Post: | ||
|
2010-04-21
, 06:55
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#242
|
I have a question about third-party libraries in madde in this new thread. This one is getting a bit long and mixed up for me.
|
2010-04-21
, 08:37
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#243
|
Hi,
This may be the most idiot question ever, but...
MADDE is a cross-compiler, right?
So why isn't there any documentation about how to actually compile with it? I mean, without Qt Creator and stuff, to compile pure C and GTK applications.
The Following User Says Thank You to danielwilms For This Useful Post: | ||
|
2010-04-21
, 10:49
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#244
|
Thanks to Sampo, you will find the example now here!
Daniel
|
2010-04-21
, 10:49
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#245
|
As you saw in the thread, you are referring to, the third party library support is not completely solved yet, besides pointing directly to the library in your *.pro file. At least this works for me. We are discussing different options at the moment, and will document a conclusion soon. Still this is a tech-preview, and your feedback helped a lot to get the different perspectives.
The Following User Says Thank You to attila77 For This Useful Post: | ||
|
2010-04-21
, 11:48
|
|
Posts: 166 |
Thanked: 191 times |
Joined on Dec 2007
@ Oulu, Finland
|
#246
|
Thank you very much!
This is nice.
The next step would be getting MADDE to run the application on the device. Qt Creator is capable of it for Qt applications, but is there a way to do it manually?
(Without packaging and having to manually install the .deb on the N900, of course.)
If this is possible, I'd like to get Visual Studio to work with MADDE's compiler and run the application on the device.
If the above is possible, this will be an easy part.
A working debugger would also be great, but I think I'll manage without it.
(Even Qt Creator cant't debug the remote application.)
|
2010-04-21
, 13:07
|
Posts: 62 |
Thanked: 97 times |
Joined on Dec 2009
@ Finland, Kerava
|
#247
|
Hi,
This may be the most idiot question ever, but...
MADDE is a cross-compiler, right?
So why isn't there any documentation about how to actually compile with it? I mean, without Qt Creator and stuff, to compile pure C and GTK applications.
mad gcc -o foo foo.c
mad -t <target_name> gcc -o foo foo.c
mad -t <target_name> make
mad -I /usr/include/mydir/ gcc -o foo foo.c
mad -I <sysroot>/usr/include/mydir/ gcc -o foo foo.c
mad gcc -o foo foo.c `mad pkg-config --cflags --libs gtk+-2.0'
sec-094:~ savanain$ mad gcc -v -I /usr/include/kala -I lohi -o foo foo.c command: /Users/savanain/.madde/0.6.19/toolchains/arm-2009q1-203-arm-none-linux-gnueabi_mac/bin/arm-none-linux-gnueabi-gcc arg 0: /Users/savanain/.madde/0.6.19/toolchains/arm-2009q1-203-arm-none-linux-gnueabi_mac/bin/arm-none-linux-gnueabi-gcc arg 1: --sysroot=/Users/savanain/.madde/0.6.19/sysroots/fremantle-arm-sysroot-2.2009-51-1-qt453/ arg 2: -specs=/Users/savanain/.madde/0.6.19/targets/fremantle-qt-0951/specs arg 3: -v arg 4: -I arg 5: =usr/include/kala arg 6: -I arg 7: lohi arg 8: -o arg 9: foo arg 10: foo.c
|
2010-04-21
, 15:20
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#248
|
Check this:
http://wiki.maemo.org/MADDE/Device_runtime
|
2010-04-21
, 15:37
|
Posts: 62 |
Thanked: 97 times |
Joined on Dec 2009
@ Finland, Kerava
|
#249
|
The Following User Says Thank You to rontti For This Useful Post: | ||
|
2010-04-21
, 19:23
|
|
Posts: 1,296 |
Thanked: 1,773 times |
Joined on Aug 2009
@ Budapest, Hungary
|
#250
|
The instruction behind link are not anyhow related on QT. They are pure MADDE instructions. You don't need QT creater when you follow those instructions.
Daniel