Article View: gnu.gcc.help
Article #42733Re: HOW: a.out with gcc 2.7.0 and linux ?
From: Dan Egli
Date: Sun, 05 Nov 1995 00:00
Date: Sun, 05 Nov 1995 00:00
20 lines
1176 bytes
1176 bytes
Hello Lutz! Wednesday November 01 1995 16:23, Lutz Wrage wrote to All: LW> I just tried to compile the linux-1.2.13 kernel with gcc-2.7.0. It LW> works fine until the linker warns about undefined symbols. LW> I think I have to explicitly tell gcc (and ld?) to produce an a.out LW> executable, but I was not able to figure out the right option LW> settings. Can anybody help? well to do that, remove everything past the -o vmlinuz (or whatever, it's like that) However, if you are getting undef'd symbols then either a module didn't compile to get linked in, or you aren't linking in the propper libraries. Check your -l lines. I know you need -lc, probably -lm too, and I know there's others, but I don't remember them offhand.
Technical Details
Message-ID:
<47irmi$6kr@xmission.xmission.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,60169f69d41f7d19,start X-Google-Attributes: gid11318c,public From: user@tabbs.com (Dan Egli) Subject: Re: HOW: a.out with gcc 2.7.0 and linux ? Date: 1995/11/05 Message-ID: <47irmi$6kr@xmission.xmission.com> X-Deja-AN: 118699719 sender: tab@xmission.xmission.com organization: I-News .929b/Some Place, Some Time newsgroups: gnu.gcc.help