From: Ian Miller Newsgroups: comp.os.msdos.djgpp Subject: Re: need help with the installation of DJGPP under dos Date: 14 Apr 1998 13:06:10 +0100 Organization: Defence Evaluation & Research Agency Lines: 52 Message-ID: <87vhsctxot.fsf@hasn.dera.gov.uk> References: <6gqmm1$502$1 AT news00 DOT btx DOT dtag DOT de> NNTP-Posting-Host: 146.80.115.106 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Tilo-Johannsen AT t-online DOT de (Tilo Johannsen) writes: > hello, these are the download files in C:\ DJGPP > > Bnu281b > csdpmi4b > djdev201 > faq210b > gcc280b > mak3761b > txi390b > unzip386 > > Here my little test progam: > > > #inckude > main() > { > printf("AOL C-Kurs\n"); > } > > Here the output..... > > C:\DJGPP>gcc -o erstes.exe erstes.c lstdcxx > gcc.exe: lstdcxx: No such file or drectory (ENOENT) > erstes.c:1: undefined or invalidd # directive Try this: #include main() { printf("AOL C-Kurs\n"); } Compile and link this standard C program using gcc -o erstes.exe erstes.c (You have not installed the C++ distribution files so attempting to link the C++ standard library, libstdcxx.a, is pointless.) It should work. Hope this helps, Ian -- Ian Miller, Dorset, UK DJGPP 2.01, Win95 DOS box (LFN undefined, FNCASE=y) The views expressed above are entirely those of the writer and do not represent the views, policy, or understanding of any other person or official body.