



Openrisc gcc support dynamic linking?
by hwmin75 on Nov 7, 2012 |
hwmin75
Posts: 20 Joined: Mar 8, 2010 Last seen: Jul 21, 2018 |
||
Hello.
Can Now openrisc gcc support dynamic linking? BestRegards Thank you |
RE: Openrisc gcc support dynamic linking?
by stekern on Nov 8, 2012 |
stekern
Posts: 84 Joined: Apr 28, 2009 Last seen: Nov 10, 2016 |
||
Yes, support for dynamic linking have been added to gcc, binutils and clang/llvm.
The experimental work is available in those trees at the moment: https://github.com/skristiansson/or1k-gcc https://github.com/openrisc/or1k-src https://github.com/openrisc/llvm-or1k https://github.com/openrisc/clang-or1k |
RE: Openrisc gcc support dynamic linking?
by hwmin75 on Nov 8, 2012 |
hwmin75
Posts: 20 Joined: Mar 8, 2010 Last seen: Jul 21, 2018 |
||
thank you
|
RE: Openrisc gcc support dynamic linking?
by rozpruwacz on Nov 13, 2012 |
rozpruwacz
Posts: 25 Joined: Feb 28, 2009 Last seen: Apr 4, 2021 |
||
Does build instructions in https://github.com/openrisc/or1k-src README-OR1K file are up to date ? because I have problems building it ...
|
RE: Openrisc gcc support dynamic linking?
by stekern on Nov 13, 2012 |
stekern
Posts: 84 Joined: Apr 28, 2009 Last seen: Nov 10, 2016 |
||
no they do not apply, to build the or1k-linux target:
mkdir build-or1k-src cd build-or1k-src ../or1k-src/configure --target=or1k-linux --prefix=/opt/or1k \ --disable-shared --disable-itcl --disable-tk --disable-tcl --disable-winsup \ --disable-libgui --disable-rda --disable-sid --disable-sim --disable-gdb \ --with-sysroot --disable-newlib --disable-libgloss make make install |
RE: Openrisc gcc support dynamic linking?
by hwmin75 on Nov 20, 2012 |
hwmin75
Posts: 20 Joined: Mar 8, 2010 Last seen: Jul 21, 2018 |
||
For dynamic linking, Can I remove --disable-shared option in above Configure?
and For Gcc compiling. Can I refer to Buiding the OpenRISC Toolchain in http://www.openrisc.net/toolchain-build.html ? BestRegards. |



