This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: The __Main Question


Hi Mike,

This is a port I am working on (and having fun).

I have had USER_LABEL_PREFIX defined as you desccribed
to get rid of other underscores, but "__main" seems to be a fixed string.

I cannot find anything for letting me specify the "white space" character.
GCC generates tabs. I'd like to be able to define a macro or something
to furnish a different white space character (the space character (' ') for
me)
instead of the tab.

I agree about being able to "define the form and format in the assembly
output
(in the header file)". That's my understanding of the philosophy of being
able to use GCC as a cross compiler. That's why I raise these issues.

I'm actually making good progress. I'm generating code, fixing lots
of bugs and having fun...

Mike


----- Original Message -----
From: "Michael S. Zick" <mszick@goquest.com>
To: "Mike Laman" <mlaman@cox.net>
Sent: Monday, September 02, 2002 8:28 AM
Subject: The __Main Question


> Since you didn't mention which processor you are assembling for,
> I can only tell you where to look.
> in gcc/config/YourProcessor/xyz.h
>
> Look for this sort of define (from the mcore micro-controller):
>
> /* The prefix to add to user-visible assembler symbols. */
> #undef  USER_LABEL_PREFIX
> #define USER_LABEL_PREFIX ""
>
> Whatever file you find that in; Should be everything about how you define
the
> form and format of what gcc passes to your assembler.
>
> Which I think is the question you asked to begin with.
>
> Mike
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]