From: SourceForge.net <no...@so...> - 2005-07-09 20:32:58
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3240870 By: dessent "--target=i386-elf" does not sound like a valid triplet to me. You can't just make things up for this value, it has to be an existing, supported value such as "i386-pc-linux", which will build a cross compiler that supports ELF for the Linux platform. However, you will require the target headers and C runtime library support installed (i.e. glibc) which I think is the problem you're having now. Functions like fork(), kill(), pipe() and so on are provided by the C runtime library which is not part of the compiler. When you build a cross compiler you have to have this C runtime library already available, otherwise you cannot link executables for that target. You can't just say "I want a cross compiler that supports ELF." You need to supply the C runtime somehow. For all of these reasons you should look at the scripts that automate this, such as crosstool. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=286529 |