做php网站用的软件,深圳皇冠科技有限公司网站,中国网站排行榜,吴中seo网站优化软件通过一些研究后我可以看到,vivado是硬件开发IDE [因为它们提供了一个试用期 – 所以它是硬件开发,他们总是想要收费].如果您使用的是Xilinx的标准SDK板,则应该预先配置所有内容.否则,硬件设计师会生成一个具有Microblaze的硬件设计.从那时起,您可能必须使用petalinux来生成兼容…通过一些研究后我可以看到,vivado是硬件开发IDE [因为它们提供了一个试用期 – 所以它是硬件开发,他们总是想要收费].如果您使用的是Xilinx的标准SDK板,则应该预先配置所有内容.否则,硬件设计师会生成一个具有Microblaze的硬件设计.从那时起,您可能必须使用petalinux来生成兼容的新引导,内核等图像.您可能需要从源代码重建libstdc,但我会将其作为最后的手段.例如,不要打扰它,直到你有gdb工作并有测试结果.开发指南显示了如何调用gdb(例如)在目标系统上gdbserver主机1534 / bin / myapp在开发系统上petalinux-utils –gdb myapp后跟目标远程192.168.0.10:1534我已经使用注释对Makefile进行了一些编辑.我已经评论了一些非必要的选项.请注意,我正在使用运算符逐渐构建CFLAGS / CXXFLAGS这里的基本思想是以最小的“标准”偏差进行构建.仅添加经过验证的基本选项构建和测试.逐个添加选项[每次重建和测试],直到找到导致问题的选项.然而,我确实怀疑 – 共同 – 是一个问题的根源.此外,在较小的程度上,我有点怀疑-Wl,– 根据需要这些选项应该有效吗当然,但xilinx / microblaze不是没有x86 ……我添加了两个命令行make变量DEBUG – 使用gdb生成调试VERBOSE – 显示构建过程的所有内容例如,尝试make whatever DEBUG 1 VERBOSE 1CC microblazeel-xilinx-linux-gnu-gccCXX microblazeel-xilinx-linux-gnu-gCPPFLAGS ?CMFLAGS -Wall -WerrorCMFLAGS -fmessage-length0# compile for gdb session# NOTES:# (1) -gdwarf-2 may or may not be the the right option for microblaze# (2) based on doc for -feliminate-unused-debug* petalinux/microblaze may want# stabs formatifdef DEBUGCMFLAGS -gdwarf-2CMFLAGS -O0# compile for normal build#elseCMFLAGS -O2CMFLAGS -feliminate-unused-debug-typesendif# NOTE: I used to use on commands,but now I leave it off -- debug or not# sure its ugly but you can get used to it pretty quickly--YMMVifndef VERBOSEQ :else###Q : Q :endif# let compiler/linker tell you _everything_:# (1) configure options when tool was built# (2) library search paths# (3) linker scripts being usedifdef VERBOSECMFLAGS -vLDFLAGS -Wl,--verbose2endifCMFLAGS -fno-builtin# NOTE: Id _really_ leave this off as it may confuse c std as # _M_insert (which is in the library,which is almost certainly _not_ using# -fno-common)###CMFLAGS -fno-common# NOTE: Im also suspicIoUs of this a little bit because the c lib may have# some weak symbols that the c library doesnt###LDFLAGS -Wl,--as-needed# NOTE: this seems harmless enough,but you can comment it out to see if it# helpsLDFLAGS -Wl,--hash-stylegnu# NOTE: an optimization onlyifndef DEBUGLDFLAGS -Wl,-O1endifCFLAGS $(CMFLAGS)CXXFLAGS $(CMFLAGS)# NOTES:# (1) leave this off for now -- doesnt save _that_ much and adds complexity# to the build# (2) IMO,I _never_ use it and I erase/uninstall it on any system I# administrate (or just ensure the build doesnt use it by removing it# from $PATH)--YMMV###XCCACHE $(CCACHE)# to compile$(Q)$(XCCACHE) $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) $ -o $# to link$(Q)$(CXX) $(RELOBJECTS) $(LDFLAGS) $(EXT_LIBS) -o $(RELBINARY)