交叉编译arm-none-eabi-gcc编译汇编文件(startup_stm32f10x_hd.S)遇到的有关问题

交叉编译arm-none-eabi-gcc编译汇编文件(startup_stm32f10x_hd.S)遇到的有关问题

日期:2014-05-16  浏览次数:20686 次

交叉编译arm-none-eabi-gcc编译汇编文件(startup_stm32f10x_hd.S)遇到的问题

我用的是CodeSourcery的交叉编译工具arm-none-eabi-gcc编译一个汇编文件(官方的Stm32的启动文件)startup_stm32f10x_hd.S,错误信息表明它连汇编中的注释都不认识,不知道是怎么回事,我是在makefile中编译的.错误信息如下,makefile的相关部分在后面列出,startup_stm32f10x_hd.S也在后面列出,请求各位帮助,谢谢

///

编译信息:

make[1]: Entering directory `/home/abing/Yunio/GROUND/GProj/stm32lib/CMSIS/DeviceSupport'

arm-none-eabi-gcc -c -mthumb -mcpu=cortex-m3 -mthumb-interwork -I. -x assembler-with-cpp  -Wa,-adhlns=startup_stm32f10x_hd.lst,-ggdb  startup_stm32f10x_hd.S -o startup_stm32f10x_hd.o

startup_stm32f10x_hd.S: Assembler messages:

startup_stm32f10x_hd.S:1: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:2: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:3: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:4: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:5: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:6: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:7: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:8: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:9: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:10: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:11: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:12: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:13: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:14: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:15: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:16: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:17: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:18: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:19: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:20: Error: junk at end of line, first unrecognized character is `*'

startup_stm32f10x_hd.S:21: Error: bad instruction `the PRESENT FIRMWARE WHICH IS

免责声明: 本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。

linux arm 汇编 编译,交叉编译arm-none-eabi-gcc编译汇编文件(startup_stm32f10x_hd.S)遇到的有关问题...相关推荐

  1. openssl 的编译(linux、Ubuntu) 和 交叉编译(arm、Hi3531A)的问题分析、解决

    目录 一.编译环境及准备材料 二.Ubuntu下编译openssl 三.交叉编译 openssl 一.编译环境及准备材料 1.编译环境: 1.1.Ubuntu环境 - ubuntu 14.04.1 $ ...

  2. 交叉编译php-5.6.30,linux下用arm-none-linux-gnueabi交叉编译arm内核模块

    前不久导师要求交叉编译一个基于arm平台开发的内核模块来练手,在网上查了很多资料才弄出来,于是将这些零散的信息综合起来给和我一样的入门人员了解.水平有限,请谅解~ 1.安装arm-none-linux ...

  3. linux 中的代码如何编译错误提示,Ubuntu 下GCC编译代码错误提示没有system.h和conio.h,如何得到这两个文件...

    mudaizi12345 于 2015-01-23 23:42:50发表: very good mudaizi12345 于 2015-01-23 20:36:00发表: 路过试一试 菜菜123 于 ...

  4. 使用gcc编译c语言程序,用GCC编译C ++程序

    在这里,我们将看到如何使用GCC(GNU C编译器)编译C ++程序.让我们考虑一下,我们要编译这个程序. 示例#include using namespace std; main() { cout  ...

  5. gcc编译可执行文件和cmake编译可执行文件

    gcc编译 gcc的下载(下载mingw,里面包含gcc) 下载安装MinGW-w64详细步骤(c/c++的编译器gcc的windows版,win10真实可用) gcc编译可执行文件 由源码转换为可执 ...

  6. GCC编译过程及基本命令总结

    一.GCC简介 GCC即GNU Compiler Collection,原本只是针对C语言的编译工具,现在已经变成了一个工具集,包含了C.C++.JAVA等语言的集合体. 管理和维护:由GNU项目负责 ...

  7. 用gcc编译.cpp文件可能出现undefined reference to `__gxx_personality_v0'问题的解决

    用gcc编译.cpp文件时出现错误:undefined reference to `__gxx_personality_v0', 解决的办法就是通过g++来编译,就可以通过了!! 用gcc编译的话需要 ...

  8. arm linux gcc 编译,Linux arm-linux-gcc交叉编译环境配置

    Linux下的arm-linux-gcc交叉编译环境安装 安装arm-linux-gcc (1) 打开终端,使用sudo命令进入从超级管理员: sudo su 输入超级管理员密码. (2) 使用cd命 ...

  9. ARM(IMX6U)裸机汇编LED驱动实验——驱动编写、编译链接起始地址、烧写bin文件到SD卡中并运行

    参考:Linux之ARM(IMX6U)裸机汇编LED驱动实验–驱动编写 作者:一只青木呀 发布时间: 2020-08-07 09:13:48 网址:https://blog.csdn.net/weix ...

最新文章

  1. 微软Win 7系统安全性方面的十大特色
  2. 自行架设DNS的操作步骤及相关说明
  3. linux运维基础2
  4. git学习——四git版本管理
  5. IntelliJ IDEA汉化版jar包
  6. DockerFile 入门到精通
  7. hashmap怎么取值_HashMap?面试?我是谁?我在哪
  8. Mac上http/POST/PUT/GET/DELETE请求工具-ApiPost Client for Mac 2.0.2.dmg
  9. Bzoj3004 吊灯
  10. 前端web 技术盘点
  11. 捕获浏览器关闭、刷新事件,在窗体关闭时从全局对象里移除当前用户
  12. macos 废纸篓强制删除文件文件夹
  13. linux下xz文件如何解压,tar.xz文件如何解压
  14. 数据挖掘 顶级期刊_澳大利亚麦考瑞大学, 国际数据挖掘顶级期刊ACM TKDD副主编招收5名数据挖掘全奖PhD...
  15. 选择短信平台请注意以下几点:
  16. 【苦练基本功】代码整洁之道 pt3(第7章-第9章)
  17. heidisql修改mysql密码_读取HeidiSQL 配置文件中的密码
  18. 用Latex编辑数学公式
  19. 路由追踪命令Tracert
  20. 解决前端跨域的几种方法

热门文章

  1. 一份机房装修清单报价
  2. 从头学习C语言——(3)输入函数
  3. Redis不是一直号称单线程效率也很高吗,为什么又采用多线程了?
  4. python判断能否组成三角形_Python练习题4.16判断是否构成三角形
  5. 多线程(二)线程控制(创建 退出 等待)
  6. mate10无法升级鸿蒙,华为高管辟谣,Mate40下月无法升级鸿蒙,一般用户无法体验...
  7. 线程锁,进程锁以及分布式锁丨锁的实现及原理分析丨高效的使用
  8. 计算机网络三:域名、IP地址和TCP/IP协议
  9. ajax用户注册验证视频,jquery+ajax实现注册实时验证实例详解
  10. MRPII/ERP软件系统的实现(转)