[uClibc] uClibc and C++

Dmytro Bablinyuk dmytro.bablinyuk at rftechnology.com.au
Fri Dec 17 01:52:10 UTC 2004


It looks like a great news.
I don't have yet PowerPC eval board neither target. So for now we will 
do development on i386 with intention to go to PowerPC when we have 
target board.
So, it looks like a very good news.
So now I need to get it working on my linux desktop.

Thanks a lot.
Dmytro

Mike Frysinger wrote:
> On Thursday 16 December 2004 07:32 pm, Dmytro Bablinyuk wrote:
> 
>>I have seen uClibc++ but it looks like supports only i386.
> 
> 
> why not see if uClibc++ works on powerpc ?
> 
> i just glanced through the code and didnt see any x86-specific junk ... also 
> just did a quick test on my powerpc and it seemed to work ok:
> 
> $ file src/libuClibc++.so.0.1.6 
> src/libuClibc++.so.0.1.6: ELF 32-bit MSB shared object, PowerPC or cisco 4500, 
> version 1 (SYSV), not stripped
> $ cat test.cpp
> #include <iostream>
> using namespace std;
> int main() { cout << "HI" << endl; return 0; }
> $ gcc test.cpp -Iinclude -Lsrc -luClibc++ -o test
> $ file test
> test: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), for 
> GNU/Linux 2.4.1, dynamically linked (uses shared libs), not stripped
> $ LD_LIBRARY_PATH=./src ./test
> HI
> -mike
> 



More information about the uClibc mailing list