This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, Nov 20, 2002 at 03:55:48AM +0000, Bahadir Balban wrote: > Hi there, Hello, > I've got arm-elf-gcc and arm-elf-gdb working on my linux box, however I > would also like to use an assembly development program, just like the one > included in ARM dev suite. I don't know about gcc assembler but I guess it > is a raw assembler that compiles raw code. (i.e. gives errors when labels or > comments included in a assembly.s file) arm-elf-as is the assembler. I don't understand what you mean with "raw assembler" and "raw code"? gas is a perfectly fine, full-featured assembler. > I have worked on mixed asm and c files in a project but only with ADS, So, > if all this is impossible, may I ask how you write mixed code? How do you > compile using gcc assembly code written with ADS? Sorry if these questions > sound stupid but I don't have much experience in this. Most of all, your questions are not very precise. Yes, you can do mixed code: have both assembly and C in different files in a same project that you then link together. You can also put inline assembly in C. There is one thing you cannot do: using assembly written for ADS with Gnu as, as they have different directive syntax. It is the general opinion of everybody on this list that it should be feasible (and not very hard) to translate from one to the other, but I don't know that anyone actually did it. HTH, /Y ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |