This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 4.9.2 on rhel5
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Ricardo Telichevesky <ricardo at teli dot org>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Mon, 27 Jul 2015 19:12:28 +0100
- Subject: Re: gcc 4.9.2 on rhel5
- Authentication-results: sourceware.org; auth=none
- References: <55B67264 dot 1090707 at teli dot org>
On 27 July 2015 at 19:03, Ricardo Telichevesky wrote:
> Hello,
>
> Trying to compile gcc 4.9.2 on rhel5. Eventually got it compiled. Not sure
> what I did wrong, but in certain cases when using
> gcc -c ... the compiler "sticks" some unwanted symbols like:
>
> _strcspn_c1
> _strcpsn_c2
> _strspn_c1
>
> that obviously cause troubles when linking because each .o has this pesky
> stuff on it. Does it ring any bell? Anyone would know what triggers the
> compiler to automagically stick those symbols as globals in the code?
No idea. How did you configure gcc? ('gcc -v' will tell you).