Skip to content
Advertisement

auto_start error in ld86 compiling

I’m trying to compile a fairly basic program under Linux and I’m having trouble with ld86. Anyone have an idea as to what auto_start is?

JavaScript

UPDATE 3/12/2012: Seems to go away when I define my own printf()

Advertisement

Answer

Huzzah! I have found it.

When calling main() in main.c I was using parameters like this

JavaScript

However, if I use no parameters… it goes away

JavaScript

Must be because I do not pass anything into main from assembly. Also printf() has nothing to do with it, must have been playing with too many things at once.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement