Re: GCC 4.8.1 unable to compile a .c File

2019-03-26 Thread Vinaya Dandur
The suggestion worked like magic. Thanks. Thanks and Regards, Vinaya D R On Sat, Mar 23, 2019 at 11:53 PM Paul Smith wrote: > On Sat, 2019-03-23 at 22:54 +0530, Vinaya Dandur wrote: > > My mistake. Thanks, but even if you include the issue still > > exists. Yes TRAP_BRKPT is not included in s

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Vinaya Dandur
Don't know how to thank you. Thanks a ton. Will try this out. I am happy that the gcc developer community listens. On Sat, 23 Mar, 2019, 11:53 PM Paul Smith, wrote: > On Sat, 2019-03-23 at 22:54 +0530, Vinaya Dandur wrote: > > My mistake. Thanks, but even if you include the issue still > > exi

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Paul Smith
On Sat, 2019-03-23 at 22:54 +0530, Vinaya Dandur wrote: > My mistake. Thanks, but even if you include the issue still > exists. Yes TRAP_BRKPT is not included in signal.h, however gcc somehow > finds the definition for TRAP_BRKPT and I don't know how. This works in > other hosts. A peruse of the

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Vinaya Dandur
My mistake. Thanks, but even if you include the issue still exists. Yes TRAP_BRKPT is not included in signal.h, however gcc somehow finds the definition for TRAP_BRKPT and I don't know how. This works in other hosts. Any how I shall post the question on other platforms. Thanks for you time. Thank

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Jonathan Wakely
On Sat, 23 Mar 2019 at 16:25, Vinaya Dandur wrote: > > Hi Jonathan, > > Thank you. Yes it is not an issue with the GCC but the TRAP_BRKPT is defined > in signal.h which the GCC could include but can't find the constant mentioned. Your code doesn't include , how do you expect it to find anything

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Paul Smith
On Sat, 2019-03-23 at 21:55 +0530, Vinaya Dandur wrote: > Thank you. Yes it is not an issue with the GCC but the TRAP_BRKPT is > defined in signal.h which the GCC could include but can't find the > constant mentioned. > Is there any way this problem could be resolved ? any pointers I can > get ? I

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Vinaya Dandur
Hi Jonathan, Thank you. Yes it is not an issue with the GCC but the TRAP_BRKPT is defined in signal.h which the GCC could include but can't find the constant mentioned. Is there any way this problem could be resolved ? any pointers I can get ? Thanks and Regards, Vinaya D R On Sat, Mar 23, 2019

Re: GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Jonathan Wakely
On Sat, 23 Mar 2019 at 15:15, Vinaya Dandur wrote: > > Dear Developers, > > It is unfortunate that I am facing this issue and to my bad luck, I do not > see an answer on google as well. > > Problem: > > I have downloaded and compiled GCC 4.8.1 with the below configure options > on SLES 12 and post

GCC 4.8.1 unable to compile a .c File

2019-03-23 Thread Vinaya Dandur
Dear Developers, It is unfortunate that I am facing this issue and to my bad luck, I do not see an answer on google as well. Problem: I have downloaded and compiled GCC 4.8.1 with the below configure options on SLES 12 and post installation, created soft links cc c++ gcc and g++ to point to gcc-