Re: Linking libraries?
- From: Frank Kotler <fbkotler@xxxxxxxxxxx>
- Date: Tue, 30 May 2006 09:37:13 -0400
Julienne Walker wrote:
....
global _main
extern _getenv
_main:
I still think we're going to want to lose the underscores for Linux... Well, Solar's got it working...
Still another option is to leave our entrypoint at "_start" (and *don't* "ret"!), and add "--nostartfiles" to gcc's command line. Seems "risky" to be calling C's library functions without having run C's startup code, but it "seems to work".
Best,
Frank
.
- Follow-Ups:
- Re: Linking libraries?
- From: Julienne Walker
- Re: Linking libraries?
- References:
- Linking libraries?
- From: Solar
- Re: Linking libraries?
- From: Julienne Walker
- Linking libraries?
- Prev by Date: Re: MASM Expert needed immediately
- Next by Date: Re: Linking libraries?
- Previous by thread: Re: Linking libraries?
- Next by thread: Re: Linking libraries?
- Index(es):
Relevant Pages
|