- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello guys!
Is there any manual or tutorial about generating elf file (.elf) from assembly code (.s) in Eclipse. I can't find any documentation about this way of programming.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you feed a .s file into gcc it will just assemble it.
IIRC if you use .S then it is also processed by the C pre-processor (which is often useful). Depending on what you are actually doing, writing the code in C might generate good enough object code (and is easier). OTOH I wouldn't even try to use an IDE's build scheme for anuthing complex. Write your own makefile and linker script.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page