Re: Linking libraries?



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
.



Relevant Pages

  • Re: Linking libraries?
    ... extern _getenv ... I still think we're going to want to lose the underscores for Linux... ... Yea, underscores are iffy. ...
    (alt.lang.asm)
  • Re: ssh-&-Xming-Problem
    ... extern ein Linux zu booten (z.B. KNOPPIX oder ...
    (de.comp.os.unix.linux.misc)
  • ISA 2006 - DMZ / SSH Server Zugriff
    ... Wir haben einen ISA 2006 mit 3 Schnittstellen / Netzwerke ... Ich habe eine Serververöffentlichung für den SSH Server auf dem Linux ... Rechner mit Zugriff von Intern und Extern eingerichtet. ...
    (microsoft.public.de.german.isaserver)
  • Re: newbie k3b problem
    ... graham wrote: ... That's handy! ... occurrence) converted to underscores. ... over to Linux so I didn't bother looking for, or writing, a script. ...
    (alt.os.linux.suse)
  • Linux rules!!
    ... "Linux gets sensitive government use approval" ... Remove all underscores from my email address to get the correct one. ... Apologies for the inconvenience, but this is to reduce spam. ...
    (alt.os.linux)