Il giorno martedì 6 marzo 2018 12:20:47 UTC+1, Mr. Man-wai Chang ha scritto:
> On 6/3/2018 00:23, Ilias Abrams wrote:
> > Hi guys, can a kindly soul explain to me how I can compile a .c file with
an .asm file together on a RPI 2? I have an assembly file that I am calling a
function through a C code. What I need to do now so I can combine and compile
both files togethe
>
> You talking about inline Assembly? You could the ASM compiler directive?
>
> Or a makefile including an external ASM source file? The latter scenario
> needs an external assembly compiler.
This has nothing to do with the RPi.
You have to check how your compiler (I assume gcc) handles .asm and .c files.
GCC documentation and Google are your frineds.
Bye Jack
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|