This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: The __Main Question
- From: "Mike Laman" <mlaman at cox dot net>
- To: "GCC" <gcc at gcc dot gnu dot org>
- Date: Mon, 2 Sep 2002 18:56:10 -0700
- Subject: Re: The __Main Question
- References: <02090210280304.00731@localhost.localdomain>
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
>