This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

what am i doing wrong?


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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]