Article View: be.comp.programming
Article #10008Re: gcc probleemke
From: Gunter Schelfhout
Date: Sun, 31 Mar 2002 18:22
Date: Sun, 31 Mar 2002 18:22
25 lines
1780 bytes
1780 bytes
Bart Vandewoestyne wrote:
> Gunter Schelfhout wrote:
>>
>> Eerst algorithm.c compileren:
>> gcc -o algorithm.o algorithm.c
>
> mc303@forsythe:~/2cw/syst_prog/practicum2$ gcc -o algorithms.o
> algorithms.c
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
>
> Ik snap em eerlijk gezegd niet...
>
> Greetzzz,
> mc303
>
ah, probeer ne keer:
gcc -c algorithms.c -o algorithms # -c: Compile or assemble the source
files, but do not link.
--
Blood, sweat & tears
Technical Details
Message-ID:
<StIp8.41788$DE4.5340@afrodite.telenet-ops.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.online.be!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mailReferences:
<3CA743FA.F9B401AB@pandora.be> <mzHp8.41662$DE4.5593@afrodite.telenet-ops.be> <uQHp8.41693$DE4.5418@afrodite.telenet-ops.be> <3CA74F2C.2C784542@pandora.be>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcea4,445f663aa5c7931a X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2002-03-31 10:22:59 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.online.be!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail From: Gunter Schelfhout <nospam@please.com> Subject: Re: gcc probleemke Newsgroups: be.comp.programming References: <3CA743FA.F9B401AB@pandora.be> <mzHp8.41662$DE4.5593@afrodite.telenet-ops.be> <uQHp8.41693$DE4.5418@afrodite.telenet-ops.be> <3CA74F2C.2C784542@pandora.be> Lines: 25 User-Agent: KNode/0.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: <StIp8.41788$DE4.5340@afrodite.telenet-ops.be> Date: Sun, 31 Mar 2002 18:22:42 GMT NNTP-Posting-Host: 213.119.20.242 X-Complaints-To: abuse@telenet.be X-Trace: afrodite.telenet-ops.be 1017598962 213.119.20.242 (Sun, 31 Mar 2002 20:22:42 MET DST) NNTP-Posting-Date: Sun, 31 Mar 2002 20:22:42 MET DST Organization: Telenet Internet