Ok, I solved the problem by now and think that the "solution" is 
helpful for others, so I post it.


> Ilibstdc++ is missing, I did not build it when I built the cross tool
> chain, that you download.

I downloaded first the arm-toolchain from 
ftp.handhelds.org:/pub/linux/arm/toolchain/beta/arm-toolchain.tgz ...  
and this one did NOT include the libstdc++, therefore my problem.

I know that it's beta and I should not complain, but I hesitated first 
to download the other toolchain. Simply because the other, non-beta 
toolchain contained 2.2.13 in it's filename, so I first thought it is 
for an older kernel.


> You can get a copy of the libstdc++ source files from
> http://gcc.gnu.org/libstdc++/ and should be able to build
> the library with the cross toolchain that you downloaded from
> ftp.handhelds.org. I do not think you will have any problems building
> the llibstdc++ library.

Then I've downloaded the v3 libstdc++. It did not compile, when I made 
a "./configure --target=arm-v4l-linux", I've got an error on "ltconfig" 
not understanding --host. I even installed libtool 1.3.5 and did my own 
"libtoolize --force", but to no avail, I've got tons of other errors. 
Also I've got the impression that even this downloadable libstdc++ is 
meant for building together with gcc, the ac_aux_dir (or similar) 
points to "..", so automake --add-missing creates files in the parent 
dir.

Conclusion: compiling your own libstdc++ v3 is not for the faint of 
heart.


Finally I downloaded the non-beta toolchain from 
ftp:/ftp.handhelds.org/pub/linux/arm/toolchain/arm-linux-toolchain-post-2.2.13.tgz. 
This one includes a static libstdc++ library. With that I've got my 
application compiled and running.

In the end I realized that the used kernel for building the toolchain 
is irrelevant for me, I'm not going to write apps that has to deal with 
kernel structures and system calls anyway. And as far as I can see my 
little demo-app works perfectly.


Greetings,
Holger

-- 
MN-Logistik GmbH         http://www.mn-logistik.de
Holger Schurig           Computer Systems Administrator
Ottostra�e 1a
61191 Rosbach v.d.H�he
Tel: 06003/9141-0        Fax: 06003/9141-49

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to