Searching \ for 'Can you link Hi-Tech C object files (.O's) with MP' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/language/index.htm?key=c
Search entire site for: 'Can you link Hi-Tech C object files (.O's) with MP'.

Truncated match.
PICList Thread
'Can you link Hi-Tech C object files (.O's) with MP'
2000\05\10@203947 by Andrew Greenberg

flavicon
face
<x-flowed>Hi!

Has anyone ever linked in Hi-Tech C object files into MPLINK?

We've got an assembly language interrupt-driven RTOS written in MPLAB, and
we'd like to write a mainline routine in Hi-Tech C.

We don't want to re-write the RTOS to work under Hi-Tech's ASPIC, so we
were wondering if we could compile the mainline C routine as a .O file and
link it in with the existing MPASM code.

Anyone know? Thanks!

Andrew

----------------------------------------------
Andrew Greenberg

Project Manager
Portland State Aerospace Society / PSU AESS
http://www.ee.pdx.edu/~aess

Home:  503.788.8878
Fax:   503.516.9070
Email: spam_OUTdrewTakeThisOuTspamuad.com
----------------------------------------------

</x-flowed>

2000\05\10@234510 by Nikolai Golovchenko

flavicon
face
On Thursday, May 11, 2000 Andrew Greenberg wrote:
> Hi!

> Has anyone ever linked in Hi-Tech C object files into MPLINK?

> We've got an assembly language interrupt-driven RTOS written in MPLAB, and
> we'd like to write a mainline routine in Hi-Tech C.

> We don't want to re-write the RTOS to work under Hi-Tech's ASPIC, so we
> were wondering if we could compile the mainline C routine as a .O file and
> link it in with the existing MPASM code.

What's the problem in rewriting MPASM to ASPIC? It took me very little
time to convert any already written assembler routine by
search&replace. Also you can use in ASPIC the local variables
allocation and don't care about registers declaration.

> Anyone know? Thanks!

> Andrew

Nikolai
http://techref.massmind.org/member/NG--944

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...