Hi,
All you need is a .REL file that does contain a 'main@' symbol, right ?
How about creating a .REL with M-80 that declares your 'main@' symbol
and that contains code that jumps to an external label called 'mainX'.
It may sound crude but it could work. BTW. I've used M-80 very often and
with large files and it never crashed or something like that. Is this
generated source very large ?
Frits
>
> Hello all,
>
> I recently got my hands on a version of MSX-C 1.2 and having some
> troubles using it. CF (the parser), FPC (parameter checker) and CG
> (code generator) are working fine: my C program translates into very
> beautiful ASM. Then, M-80 is called to generate a relocatable object
> (.REL) and this step fails: M-80 produces a .REL with filesize 0
> (zero, nada, noppes).
>
> I replaced M-80 by Gen80, but Gen80 doesn't accept the labels
> generated
> by CG - things like 'main@' and '?52431' ... I did a
> search/replace in the
> ASM file, so @ would become X and ? would become Y and then Gen80 runs
> just fine. Unfortunately, L-80 (which has to link the pieces together)
> _needs_
> e.g 'main@' as symbol and can't find it because I replaced it
> with mainX.
> Damn!
>
> Q: Does anyone here have experience with MSX-C 1.2 and got it up and
> running?
> Q: Is there any assembler out there which I could use instead
> of M-80 or
> Gen80?
> It must of course accept the ...@ and ?... labels _and_ be able to
> produce
> L-80 compatible .REL files...
>
> Thnx,
> Eric
>
>
>
> ****
> MSX Mailinglist. To unsubscribe, send an email to
> [EMAIL PROTECTED] and put
> in the body (not subject) "unsubscribe msx
> [EMAIL PROTECTED]" (without the
> quotes :-) Problems? contact [EMAIL PROTECTED]
> ****
>
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED]
****