delorie.com/archives/browse.cgi | search |
X-pop3-spooler: | POP3MAIL 2.1.0 b 4 980420 -bs- |
Message-ID: | <19980703204004.51773@cerebro.laendle> |
Date: | Fri, 3 Jul 1998 20:40:04 +0200 |
From: | Marc Lehmann <pcg AT goof DOT com> |
To: | ehamdoun AT matpts DOT univ-poitiers DOT fr, beastium-list AT Desk DOT nl |
Cc: | beastium <beastium-list AT Desk DOT nl> |
Subject: | Re: mailto:beastium-list AT desk DOT nl |
Mail-Followup-To: | ehamdoun AT matpts DOT univ-poitiers DOT fr, beastium-list AT Desk DOT nl, |
beastium <beastium-list AT desk DOT nl> | |
References: | <199807031436 DOT QAA06095 AT l3ma DOT univ-poitiers DOT fr> |
Mime-Version: | 1.0 |
In-Reply-To: | <199807031436.QAA06095@l3ma.univ-poitiers.fr>; from ehamdoun@matpts.univ-poitiers.fr on Fri, Jul 03, 1998 at 04:36:02PM +0200 |
X-Operating-System: | Linux version 2.1.108 (root AT cerebro) (gcc version pgcc-2.91.43 19980628 (gcc2 ss-980502 experimental)) |
Status: | RO |
Lines: | 24 |
On Fri, Jul 03, 1998 at 04:36:02PM +0200, ehamdoun AT matpts DOT univ-poitiers DOT fr wrote: > Hello, > i'm not subscribed in the mailing list , but i have a big problem with, pgcc: > > i have installed pgcc 2.9.0.29 ( the rpm for redhat 5 ) gcc works well, > but c++ and g77 doesn't work at all!! this is what i get when i type c++: > (without any argument) > /usr/lib/crt1.o(.text+0x36): undefined reference to main > collect2: ld returned 1 exit status this is not pgcc specific. read the documentation to g++ and g77. basically, you have to provide a program to compile or link, and that program must define main somewhere. Try to compile and link a program and see wether that works. -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e| -=====/_/_//_/\_,_/ /_/\_\ --+ The choice of a GNU generation | |
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |