[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] CDT assembly file extension
|
By convention, .S files are built using GCC to allow preprocessing. Hence, I
worked around this problem by modifying
cdt.mangagedbuild.tool.gnu.c.compiler.input as follows:
1. Change sourceContentType from "org.eclipse.cdt.core.cSource" to ""
2. Change sources from "c" to "c,S"
According to Managed Build System Extensibility Document "sourceContentType"
overvides "sources". It seems to work as expected, however, I'm an Eclipse
newbie and there may be some side effects I haven't stumbled across.
Hugh,,
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Treggiari, Leo
> Sent: 23 February 2006 03:47
> To: CDT General developers list.
> Subject: RE: [cdt-dev] CDT assembly file extension
>
> This is a known issue. See bugzillas 103530, 115388, and 105022.
>
> Regards,
> Leo
>
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Alex Yin
> Sent: Wednesday, February 22, 2006 7:39 PM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] CDT assembly file extension
>
> Hi,
>
> For assembly files, when using uppercase .S as the filename extension,
> CDT
> managed make project ignores all the uppercase .S files in the build,
> and
> it only recognizes the lowercase .s files.
>
> >From the "plugin.xml" of "org.eclipse.cdt.managedbuilder.gnu.ui", I
> found
> following lines:
> <inputType
> sourceContentType="org.eclipse.cdt.core.asmSource"
> sources="s,S"
> id="cdt.managedbuild.tool.gnu.assembler.input">
> </inputType>
>
> It looks like both lowercase .s and uppercase .S should be accepted as
> valid
> assembly files, but somehow it does not work for .S files. Is this a
> known
> bug and fixed in the latest build? Is there a workaround to this
> problem? I
> am using Eclipse 3.1 with CDT 3.0.0.
>
> Thanks,
> --alex
>
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>