Re: Linux Security
From: Mark Hobley (markhobley_at_hotpop.deletethisbit.com)
Date: 02/18/05
- Previous message: Steven Kinch: "Re: Anti-Virus Product for Linux/Fedora?"
- In reply to: dude84: "Re: Linux Security"
- Next in thread: E. Charters: "Re: Linux Security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 18 Feb 2005 21:08:07 GMT
dude84 <dhughes594@earthlink.net> wrote:
>
> E. Charters wrote:
My background is MSDOS assembly language, I've not done much Linux stuff, so
I'm not experienced in this field.
I can tell you that to use C functions from a library, it is necessary to
initialize the C environment. The C compiler builds the executable in such a
manner that a call to an initialization routine called something like __cmain,
but I can't remember exactly, since it has been a long time since I did this.
You will need to make the appropriate call before you can use the C libraries.
You will need to make sure that the stack is set up in such a manner as expected
by the libraries that you are calling.
I suggest that you make a "hello world" program in c then get the compiler to
output the assembly language source. You need to then try and get your
assembler to compile it and see if you can run it.
I hope in future to have a MASM 6 equivalent for Linux.
Regards,
Mark.
-- Mark Hobley 393 Quinton Road West Quinton Birmingham B32 1QE Telephone: (0121) 422 6580 Email: markhobley at hotpop dot donottypethisbit com http://markhobley.yi.org/
- Previous message: Steven Kinch: "Re: Anti-Virus Product for Linux/Fedora?"
- In reply to: dude84: "Re: Linux Security"
- Next in thread: E. Charters: "Re: Linux Security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|