Reply
Thread Tools
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#11
Originally Posted by danielwilms View Post
If you have the latest MADDE installation and type:

mad list

then you should see:

maemo412-1 (installable)

now try:

mad-admin create maemo412-1

This should create the requested target for you. It might be that you have to fetch some data, but please just follow the instructions and it should work for diablo as well.

Cheers Daniel
Code:
mad-admin create -f -s maemo412-1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 32.5M  100 32.5M    0     0   839k      0  0:00:39  0:00:39 --:--:--  849k
Working on sysroot maemo-sdk-rootstrap_4.1.2_armel
.....9....8....7....6....5....4....3....2....1....0
Creating missing links... done.
Find toolchain binaries
Link toolchain binaries
Target 'maemo412-1' created.
Set default target maemo412-1.
 
Posts: 9 | Thanked: 0 times | Joined on Jan 2010 @ Canada
#12
Thanks for the solution....

Last edited by Zylonite; 2010-03-05 at 02:32.
 
Posts: 9 | Thanked: 0 times | Joined on Jan 2010 @ Canada
#13
Can someone explain how to cross compile a package that already has the the autotools scripts such as configure and etc...

In scratchbox you can just configure and make the package and scratchbox will automatically build it for the selected target.


Is it the same case for MADDE?

for example

maemo@ubuntu:~/work/test$ mad list

Targets:
fremantle-qt-0942 (installed)
maemo412-1 (default)

Runtimes:


maemo@ubuntu:~/work/test$mad ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
maemo@ubuntu:~/work/test$


shouldn't MADDE automatically take care of setting up the host and target for configure script?


Thanks in advance...


note: I don't need Qt...
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#14
Originally Posted by Zylonite View Post
Can someone explain how to cross compile a package that already has the the autotools scripts such as configure and etc...
Hi,

autotools is not supported for MADDE. Check out the FAQ for more information.

Cheers Daniel
 
Posts: 93 | Thanked: 30 times | Joined on Oct 2007 @ Glendale, CA
#15
Originally Posted by danielwilms View Post
Hi,

autotools is not supported for MADDE. Check out the FAQ for more information.

Cheers Daniel
I just checked the FAQ and there is not much more information.

Is there an attempt to support autotools base projects that
are set up to do cross compilation?

Another thing I thought was interesting:
$mad set maemo412-1
$mad list

Targets:
fremantle-qt-0951 (installed)
maemo412-1 (default)
$mad qmake

qmake: not supported in this target.

So close.
 
Posts: 62 | Thanked: 97 times | Joined on Dec 2009 @ Finland, Kerava
#16
Originally Posted by microe View Post
I just checked the FAQ and there is not much more information.

Is there an attempt to support autotools base projects that
are set up to do cross compilation?
No, we are not planning to support autotools.

Another thing I thought was interesting:
$mad set maemo412-1
$mad list

Targets:
fremantle-qt-0951 (installed)
maemo412-1 (default)
$mad qmake

qmake: not supported in this target.

So close.
Diablo does not contain Qt at all.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:08.