New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xgcc: error: unrecognized command line option '-V' #1
Comments
I'm not quite sure, but I think it's because it can't find some of the libraries needed by the compiler. See the "Prerequisites" section here: http://wiki.dlang.org/GDC/Development/DevelopmentEnvironment. Be sure to use your package manager to install libmpc-dev, libmpfr-dev, and libgmp3-dev and then run the build again. |
Checked, everything from wiki list and libmpc-dev, libmpfr-dev, and libgmp3-dev is installed |
It is need to downgrade build scripts or that? |
I also found http://forums.debian.net/viewtopic.php?f=8&t=98199 But, I really don't know. I suggest posting a question at http://forum.dlang.org/group/D.gnu. There are a few folks there that have a much deeper knowledge of GCC than I. |
It did not help too
Ok. What autoconf version do you use? |
I'm using Arch Linux 64-bit |
It has come to my attention that the prebuilt binaries at http://gdcproject.org/downloads are capable of creating ARM Cortex-M binaries. I just tested it myself. I used the arm-linux-gnueabihf build, and the command I used for my STM32F4 (ARM Cortex-M4F) was: The key is to simply add the platform flags: If you're still having trouble with this build, you may want to just go that route and just download the pre-built binary. |
Thanks! |
Hi!
I am tried to use step-by-step instructions from wiki and this bash script to build toolchain on Debian GNU/Linux 8 and in both cases got this error after execute "make -j4 all-target-libgcc":
part of config.log:
Previous line "make -j4 all-gcc" is succeeds.
Can you help with this problem?
The text was updated successfully, but these errors were encountered: