- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've checked out a directory from CVS into a project via Eclipse. The directory contains a number of '.c' and a single '.S' file. All the files are shown, with the correct file types, in the Eclipse project explorer. When I build the project the '.c' files are compiled but the '.S' file is not assembled. When I look at the Makefile I see that ASM_SRCS is empty. Unfortunately this is in the generated settings part of the Makefile so I can't change it directly. I can kludge it by adding the '.S' file to ASM_SRCS after the generated part of the Makefile but I suspect it's not the official method :) Is this a known issue or do I need to do something else to get Eclipse to recognize that it needs to assemble the '.S' file? Thanks, Darren.Link Copied
8 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This looks like a bug. As a workaround, try renaming your file with a lowercase '.s'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- This looks like a bug. As a workaround, try renaming your file with a lowercase '.s'. --- Quote End --- Thanks Dasi - that did it! Should I submit this as a bug to Altera and, if so, any pointers on how to do it? Thanks, Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've already submitted a bug report for this issue, so don't bother. For future reference, you can submit bug reports through here: https://mysupport.altera.com/eservice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great - I hate to see these things getting lost.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dasi,
any news about the submitted bug report ? I'm hitting the same problem and need a real solution, as renaming the .S file into a .s files suppresses the pre-processor stage of the compilation of the .S file. Regards, P9- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pin9,
If you're really stuck you could probably use the kludge described in the original report - add a line like the following to the Makefile AFTER the 'GENERATED SETTINGS END' comment in the Makefile: ASM_SRCS += xxx.S Which will add xxx.S to the list of assembler sources but should not be touched by eclipse. I haven't tried this since the original report (as I don't need the pre-processor) but it may work for you.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or arrange to pass ASM_SRCS=foo.S on the command line to make.
The assignment on the command line should override all assignments within the makefile.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks all for your suggestions.
Darren: even though I don't like it 100%, your suggestion is the best I can live with for now. I tried it and I finally get the build I need!!! Regards, P9
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