delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/25/20:50:45

From: "Fred ---o0o---" <fred DOT le AT laposte DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: hard to begin
Date: Mon, 26 Apr 1999 02:20:56 +0200
Organization: Cybercable Paris NewsServer
Lines: 131
Message-ID: <7g0bg5$hek$1@oceanite.cybercable.fr>
NNTP-Posting-Host: d018.paris-6.cybercable.fr
X-Trace: oceanite.cybercable.fr 925086021 17876 212.198.6.18 (26 Apr 1999 00:20:21 GMT)
X-Complaints-To: usenet AT oceanite DOT cybercable DOT fr
NNTP-Posting-Date: 26 Apr 1999 00:20:21 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.0810.800
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

  55 MB in c:\djgpp but I still can't compile the "hello.c" program.

  Sure, I've made a mistake somewhere.
  It's really hard to begin. Or maybe I just forgot a little thing ?
  But now I don't know what to do.
  Then, thanks for your help.

  Fred


hello.c
-----------
#include <stdio.h>
int main ()
{
  printf ("hello");
}


The command line :
----------------------------
bash$ gcc hello.c
c:/djgpp/bin/ld.exe: warning: cannot find entry symbol start; defaulting
to 00001970

sometime I try       gcc -o hello.exe hello.c    or without bash, but it's
the same

My env
------------
bash$ set > set.env

BASH=/djgpp/bin/bash.exe
BASH_VERSION=1.14.7(1)
BLASTER=A220 I5 D1 H5 P330 T6 E620
CAMLLIB=C:\mydev\lib
CMDLINE=bash
COMSPEC=C:\WINDOWS\COMMAND.COM
DJDIR=c:/djgpp
DJGPP=C:/djgpp/djgpp.env
EMU387=c:/djgpp/bin/emu387.dxe
EUID=42
GROUP=root
HISTFILE=c:/djgpp/fred/_bhist
HISTFILESIZE=500
HISTSIZE=500
HOME=/djgpp/fred
HOSTTYPE=PCAT
IFS=

LANGUAGE=fr
LFN=y
LIBRARY_PATH=C:\mydev\Dev-C++\lib
MAILCHECK=60
MIDI=SYNTH:1 MAP:E MODE:0
OLDPWD=/djgpp
OPTERR=1
OPTIND=1
OSTYPE=MSDOS
PATH=/djgpp/bin;/windows;/windows/command;/bin;/mydev/caml/bin;/mydev/dev-c+
+/bin
PPID=1
PROMPT=$p$g
PS1=bash\$
PS2=>
PS4=+
PWD=/djgpp/root
SHELL=C:\WINDOWS\COMMAND.COM
SHLVL=1
SOUND=C:\PROGRA~1\CREATIVE\CTSND
SYSROOT=c:
TEMP=C:\WINDOWS\TEMP
TEXMFMAIN=c:/djgpp/share/texmf
TMP=C:\WINDOWS\TEMP
TMPDIR=c:/djgpp/tmp
UID=42
USER=dosuser
_=dir
winbootdir=C:\WINDOWS
windir=C:\WINDOWS


config.sys
-----------------
...
FILE=20
...


c:\djgpp\manifest
--------------------------
bnu281b.mft
bnu281d.mft
bsh1147b.mft
bsh1147d.mft
bsn125b.mft
bsn125d.mft
djdev202.mft
djtst202.mft
fil316b.mft
fil316d.mft
find41b.mft
find41d.mft
flx254b.mft
flx254d.mft
gcc280b.mft
gcc280d.mft
grep22b.mft
mak377b.mft
mak377d.mft
pdc22.mft
rhide14b.mft
txi312b.mft
txt122b.mft
txt122d.mft

Well...
I don't understand.













- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019