|
From: KURT P. <pet...@ms...> - 2011-06-18 02:46:33
|
*.s file is included as attachment. Date: Sat, 18 Jun 2011 10:14:27 +0800 From: jo...@us... To: min...@li... Subject: Re: [Mingw-users] junk at end of assembler file On 6/18/2011 10:03, Xiaofan Chen wrote: > On Sat, Jun 18, 2011 at 9:50 AM, JonY <jo...@us...> wrote: >> On 6/18/2011 06:14, KURT PETERS wrote: >>> >>> I'm using MingW with largely the default config with eclipse >> CDT, mingW 4.5.0, on windows XP. I did a quick "hello world" test which >> ran nicely. I then went to compile cgic.c from boutelle's web site, >> mentioned in this article: http://www.linuxjournal.com/article/6863. >> >> Can you please post the file instead of a link? I can't find the codes >> that you mentioned. > > I think he means this one. > http://www.boutell.com/cgic/#obtain > > I just tried it under MinGW and there is no issues. I think the OP > may have a environment setup problem. > > mcuee@mcuee-PC-Win7 /d/work/cgic/cgic205 > $ make > gcc -g -Wall -c -o cgic.o cgic.c > rm -f libcgic.a > ar rc libcgic.a cgic.o > ranlib libcgic.a > gcc -g -Wall -c -o cgictest.o cgictest.c > gcc cgictest.o -o cgictest.cgi -L./ -lcgic > gcc -g -Wall -c -o capture.o capture.c > gcc capture.o -o capture -L./ -lcgic > > mcuee@mcuee-PC-Win7 /d/work/cgic/cgic205 > $ capture > Content-type: text/html > > <title>Captured</title> > <h1>Captured</h1> > Your form submission was captured for use in > debugging CGI code. > It'll be interesting if the OP can post his .s from "C:\DOCUME~1\kpeters\LOCALS~1\Temp\ccZdExdz.s". For now I suspect he has an old assembler installed. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ MinGW-users mailing list Min...@li... This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users Also: mailto:min...@li...?subject=unsubscribe |