Re: GNU Assembler (GAS) query
For the macros, you can use the C preprocessor by renaming your source to .S
instead of .s and using gcc to compile it:
gcc -c foo.S
Then you can use #defines et al.
For self modifying code, just use .data for those functions.
.
Relevant Pages
- Re: ccache support for make buildworld/make release
... I think Ian Dowse often uses ccache to compile world, ... stop when the most recent gcc import happened 'cos the preprocessor ... (freebsd-current) - Re: How do I install this missing library?
... you really should be carefully following LSTC's installation ... libg2c is part of gcc. ... to tell a newcomer to compile. ... like the source code to GNU tar, and make sure you understand what's ... (comp.os.linux.misc) - Re: HPGCC Questions ladies and gentlemen!!!
... No matter how you slice it in order to compile a C program you need to know ... it took a few hours just to get gcc running in my computer ... of the students that used an ide in the c++ class I took a few years ago. ... so why not use a data inspector if it's available? ... (comp.sys.hp48) - Re: Aquarius prolog so fast?
... Mercury cannot do all this because Mercury cannot keep track of the fact ... you need this capability quite rarely, ... Why not the alternative GCC back-end, ... While Mercury can compile to the internal data structures of the gcc backend, ... (comp.lang.prolog) - Re: Question about gcc on OS X 10.0.4.11 Tiger
... running Linux and gcc 4.0.2. ... How do I switch to a different version of gcc to compile with on OS X ... fgetsis a libc function and is not really part of the compiler. ... int main(int argc, char* argv){ ... (comp.sys.mac.programmer.help) |
|