Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [condor-users] Newbie - /usr/bin/ld: cannot find -lgcc_s
- Date: Tue, 11 May 2004 16:31:44 +0100
- From: "Kewley, J (John)" <J.Kewley@xxxxxxxx>
- Subject: RE: [condor-users] Newbie - /usr/bin/ld: cannot find -lgcc_s
> -----Original Message-----
> From: Massimo Canonico [mailto:canonico@xxxxxxxxxxxxx]
> Sent: 11 May 2004 16:24
> To: condor-users@xxxxxxxxxxx
> Subject: Re: [condor-users] Newbie - /usr/bin/ld: cannot find -lgcc_s
>
>
> I don't solve the problem...but I can do more precise in the
> description
>
> Probably..my problem is that condor_compile use the standard ld
> (/usr/bin/ld) of the system and not the ld for the gcc3.3
> (/usr/local/gcc-3.3/bin/ld).
>
> How can I say to condor_compile to use a specific ld and not
> the default ld?
I was just writing an email to suggest the following:
In recent versions, gcc and g++ will both compile (but not link) a file
based on its
suffix, so .cpp files will built by gcc as C++ files. However, to link them
you must either
use g++, or gcc + appropriate flags/options (probably also ld + appropriate
options).
These options would include :
-L<wherever your g++ libraries are kept>
-lX -lY (for each X, Y g++ libraries that you use)
[Possibly also the equivalent for gcc libraries if you use ld instead]
If your suspiscions are correct, maybe adding these to your condor_compile
command
as extra flags will do the trick.
Cheers
JK
Condor Support Information:
http://www.cs.wisc.edu/condor/condor-support/
To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
unsubscribe condor-users <your_email_address>