Author Jason.Vas.Dias
Recipients Alex.Leach, Jason.Vas.Dias, georg.brandl, r.david.murray
Date 2011-05-30.18:27:16
SpamBayes Score 0.00154118
Marked as misclassified No
Message-id <1306780037.5.0.593588188174.issue11946@psf.upfronthosting.co.za>
In-reply-to
Content
The alternative is to use a "GCC Spec File" , such as
that printed by 
 $ gcc -dumpspecs

Here is one such I've used in the past to overcome similar problems:

$ cat /home/jason/local32.spec
*lib:
+ -lc_nonshared

*startfiles:
+ /lib32/crti.o

*endfiles:
+ /lib32/crtn.o

*link:
+ -dynamic-linker /usr/local/lib%{!m32:64}%{m32:32}/ld-linux-%{!m32:x86_64}%{m32:i386}.so.2 -L/usr/local/lib/gcc-lib/%{!m32:x86_64-redhat-linux}%{m32:i386-redhat-linux}/4/%{m32:32} -L/usr/local/lib/%{!m32:64}%{m32:32} -R/usr/local/lib/gcc/%{!m32:x86_64-redhat-linux}%{m32:i386-redhat-linux}/4 -R/usr/local/lib%{m32:32}%{!m32:64} -R/usr/local/lib

*cpp:
+ -isystem /usr/local/include
History
Date User Action Args
2011-05-30 18:27:17Jason.Vas.Diassetrecipients: + Jason.Vas.Dias, georg.brandl, r.david.murray, Alex.Leach
2011-05-30 18:27:17Jason.Vas.Diassetmessageid: <1306780037.5.0.593588188174.issue11946@psf.upfronthosting.co.za>
2011-05-30 18:27:16Jason.Vas.Diaslinkissue11946 messages
2011-05-30 18:27:16Jason.Vas.Diascreate