



GNU toolchain GDB problem!!
by dadas on Mar 6, 2015 |
dadas
Posts: 4 Joined: Oct 26, 2014 Last seen: Feb 11, 2025 |
||
Hi all,
I am very new on openrisc. I have installed the gnu toolchain successfully from http://openrisc.github.io/newlib/building.html they all installed succesfully. But now I couldn't find or1k-elf-gdb!!! I dont know why.. When I write locate or1k-elf-gdb nothing remains from the terminal.. maybe it is a very basic thing but i have to solve it..please help.. regards, Latif, |
RE: GNU toolchain GDB problem!!
by dadas on Mar 9, 2015 |
dadas
Posts: 4 Joined: Oct 26, 2014 Last seen: Feb 11, 2025 |
||
I have understood that or1k-elf-g++ was installed successfully. I think it will work.. But now there is another problemm.. When I try to compile a c++ code the or1k-elf-g++ gives an error like "undefined reference to open"!! It is so strange? I dont know why... If I dont use a standart c++ lib like iostream or list g++ works fine and gives me the elf file.. But if I use the libs in my code, it says the same error.."undefined reference to open"!! What an interesting error!! I am realy suprised..
Any idea for that?? Please help if you can.. (I have installed newlib gnu toolchain as shown on the opencorse website).. regards |



