|
From: <jp...@bo...> - 2002-05-06 02:55:47
|
Thanks Yeoh,
=20
In fact, I had rsxnt installed in my computer and the wrong path was
the cause of all this mess, because it was refering to some enviroment
variables of rsxnt that devC maybe use. When I cleaned up the path, it
started working fine.
=20
Thanks all of you for your valuable help!
=20
Juliano
=20
=20
=20
---------------------------------------
"Porque, se eu orar em l=EDnguas,
o meu esp=EDrito ora de fato." I Cor=EDntios 14:14
--------------------------------------
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Yeoh HS
Sent: Saturday, May 04, 2002 1:31 AM
To: dev...@li...
Subject: Re: [Dev-C++] crt0.o
Hi Juliano,
=20
I compiled and linked your program without any problems.
=20
I looked for the file crt0.o and yes there is no such file in any of the
Dev-C++ directories. The ones that I found were: crt1.0, crt2.0, crtmt.o
and crtst.o.
=20
I've also examined my Makefile.win and the paths to the libs are
correct. In the Makefile.win, I see that g++.exe is invoked twice, once
to compile the cpp file into .o file and then a second time to pass info
to the linker ld.exe to link the .o files with the standard libs to
produce an exe file.
=20
I'm using Dev-C++ 4.9.2.0 beta. Which version are you using? Perhaps
you can list your Makefile.win.
=20
Have you installed any other versions of gcc compilers on your system?
You might also want to check your system path to see which ld.exe is
executed. Your ld.exe is looking for a crt0.o. Do a search of your
harddisk for crt0.o. See if you can find it. Also search for ld.exe. Any
chances of multiple copies? This is a perplexing problem.
=20
=20
Regards,
Yeoh
~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~
Author of "How to Create an eBook Using Visual C++"
Free Downloads at http://www.yeohhs.com
ICT eBooks by Yeoh HS
~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~
----- Original Message -----=20
From: Juliano P=E1vel <mailto:jp...@br...> Brasil Cust=F3dio=20
I've juste installed Dev-C++ in my computer (Win2K) and I tried to
compile the simple program bellow, but I've got the error message
"C:\DevC\Bin\ld.exe: cannot open crt0.o: No such file or directory". The
Dev-C++ is installed in a different directory because I was trying to
fix this problem, but I was not succesfull in doing it.
=20
|