This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cross-compiling ... libstdc++?


Hi. I apologize now if this post is off topic...


I finally got a cross compiler working after using Dan Kegel's cross-tools script(s) ... (http://kegel.com/crosstool/ if anyone wants to check it out) ... but I have been wondering about certain errors that popped up during the manual configuration of gcc as a cross-compiler for the arm-linux target....

I attempted to manually configure/install gcc as a cross compiler under a native x86 kernel 2.4.22 I was able to compile things fine... for example I could execute arm-linux-g++ -c foo.cpp and it produced an object file correctly, as long as I didn't include any header files.

Basically it was unable to find any files that were included (or linked ) ... arm-linux-g++ foo.cpp produced an error : crt1.o not found ...

I think that maybe this was a result of libstdc++ not being configured correctly?

Does anyone have any information that pertains to configuring/compiling/installing libstdc++ to work under the target arm-linux? ... Sadly, I've formated the partition that I had initially begun the manual install of gcc, so I can't generate much more specific errors... I have a functional cross-compiler toolchain working now, but still would appreciate it if someone could point me to a good resource about something on this problem .... - in case I get adventurous in the future :-)


Thanks a lot for your help! - and I apologize again if this is off topic...

/*********************************************
Patrick G. Papadopulos *
*
VaTech: Computer Science *
VaTech; Psychology *
*
AIM: CSVT2005 *
*
"We all agree that your theory is crazy, *
but is it crazy enough?" - Niels Bohr *
*********************************************/
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]