delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/02/02:13:56

From: BMullenber AT aol DOT com (BMullenber)
Subject: what am i doing wrong?
2 Jan 1998 02:13:56 -0800 :
Message-ID: <de25ddca.34acb8d4.cygnus.gnu-win32@aol.com>
To: gnu-win32 AT cygnus DOT com

I have really no idea how to link a object file into a exec program or even
how to run g++. I tried a simple hello program and had no success.  Anyone
know how to link a program and want to help me, i made an obj file using
another compiler?

what exec program is the linker, is it ln.exe?

C:\gnuwin32\b18\H-i386-cygwin32\bin>ln C:\compiler\work\hello.obj
/GNUWIN32/B18/H-I386~1/BIN/LN.EXE: cannot create hard link `./C:\compiler
ello.obj' to `C:\compiler\work\hello.obj': No such file or directory

Also, I set the Variables and Path too, is this correct?  I have win95.

cd\gnuwin32\b18\
set GCC_EXEC_PREFIX=C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
PATH=C:\gnuwin32\b18\H-i386-cygwin32\bin;C:\gnuwin32\b18\tcl\bin
set TCL_LIBRARY=C:\gnuwin32\b18\tcl\lib\tcl7.6
set GDBTK_LIBRARY=C:\gnuwin32\b18\share\gdbtcl

Brandon
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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