public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] RTEMS thread model configuration
@ 2014-04-18 10:11 Sebastian Huber
  2014-05-02  8:46 ` Sebastian Huber
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Huber @ 2014-04-18 10:11 UTC (permalink / raw)
  To: gcc-patches; +Cc: joel.sherrill

From: Sebastian Huber <sebastian-huber@web.de>

The command line to build a GCC for RTEMS contained virtually always a
'--enable-threads'.  This patch helps to avoid this extra configuration
command line parameter and makes the GCC build a bit more user friendly
for RTEMS.

This patch should be applied to GCC 4.9 branch and master.

2014-04-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>

	* config.gcc (*-*-rtems*): Default to 'rtems' thread model.
	Enable selection of 'posix' or no thread model.
---
 gcc/config.gcc | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index 3c55c88..93d5994 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -791,7 +791,13 @@ case ${target} in
   ;;
 *-*-rtems*)
   case ${enable_threads} in
-    yes) thread_file='rtems' ;;
+    "" | yes | rtems) thread_file='rtems' ;;
+    posix) thread_file='posix' ;;
+    no) ;;
+    *)
+      echo 'Unknown thread configuration for RTEMS'
+      exit 1
+      ;;
   esac
   tmake_file="${tmake_file} t-rtems"
   extra_options="${extra_options} rtems.opt"
-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] RTEMS thread model configuration
  2014-04-18 10:11 [PATCH] RTEMS thread model configuration Sebastian Huber
@ 2014-05-02  8:46 ` Sebastian Huber
  2014-09-17 13:26   ` Sebastian Huber
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Huber @ 2014-05-02  8:46 UTC (permalink / raw)
  To: gcc-patches; +Cc: joel.sherrill

Ping.

On 2014-04-18 12:11, Sebastian Huber wrote:
> From: Sebastian Huber <sebastian-huber@web.de>
>
> The command line to build a GCC for RTEMS contained virtually always a
> '--enable-threads'.  This patch helps to avoid this extra configuration
> command line parameter and makes the GCC build a bit more user friendly
> for RTEMS.
>
> This patch should be applied to GCC 4.9 branch and master.
>
> 2014-04-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
>
> 	* config.gcc (*-*-rtems*): Default to 'rtems' thread model.
> 	Enable selection of 'posix' or no thread model.
> ---
>   gcc/config.gcc | 8 +++++++-
>   1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/gcc/config.gcc b/gcc/config.gcc
> index 3c55c88..93d5994 100644
> --- a/gcc/config.gcc
> +++ b/gcc/config.gcc
> @@ -791,7 +791,13 @@ case ${target} in
>     ;;
>   *-*-rtems*)
>     case ${enable_threads} in
> -    yes) thread_file='rtems' ;;
> +    "" | yes | rtems) thread_file='rtems' ;;
> +    posix) thread_file='posix' ;;
> +    no) ;;
> +    *)
> +      echo 'Unknown thread configuration for RTEMS'
> +      exit 1
> +      ;;
>     esac
>     tmake_file="${tmake_file} t-rtems"
>     extra_options="${extra_options} rtems.opt"
>


-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] RTEMS thread model configuration
  2014-05-02  8:46 ` Sebastian Huber
@ 2014-09-17 13:26   ` Sebastian Huber
  2014-09-17 15:03     ` Joel Sherrill
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Huber @ 2014-09-17 13:26 UTC (permalink / raw)
  To: gcc-patches; +Cc: joel.sherrill, RTEMS

Ping^2.

On 02/05/14 10:46, Sebastian Huber wrote:
> Ping.
>
> On 2014-04-18 12:11, Sebastian Huber wrote:
>> From: Sebastian Huber <sebastian-huber@web.de>
>>
>> The command line to build a GCC for RTEMS contained virtually always a
>> '--enable-threads'.  This patch helps to avoid this extra configuration
>> command line parameter and makes the GCC build a bit more user friendly
>> for RTEMS.
>>
>> This patch should be applied to GCC 4.9 branch and master.
>>
>> 2014-04-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
>>
>>     * config.gcc (*-*-rtems*): Default to 'rtems' thread model.
>>     Enable selection of 'posix' or no thread model.
>> ---
>>   gcc/config.gcc | 8 +++++++-
>>   1 file changed, 7 insertions(+), 1 deletion(-)
>>
>> diff --git a/gcc/config.gcc b/gcc/config.gcc
>> index 3c55c88..93d5994 100644
>> --- a/gcc/config.gcc
>> +++ b/gcc/config.gcc
>> @@ -791,7 +791,13 @@ case ${target} in
>>     ;;
>>   *-*-rtems*)
>>     case ${enable_threads} in
>> -    yes) thread_file='rtems' ;;
>> +    "" | yes | rtems) thread_file='rtems' ;;
>> +    posix) thread_file='posix' ;;
>> +    no) ;;
>> +    *)
>> +      echo 'Unknown thread configuration for RTEMS'
>> +      exit 1
>> +      ;;
>>     esac
>>     tmake_file="${tmake_file} t-rtems"
>>     extra_options="${extra_options} rtems.opt"
>>
>
>


-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] RTEMS thread model configuration
  2014-09-17 13:26   ` Sebastian Huber
@ 2014-09-17 15:03     ` Joel Sherrill
  0 siblings, 0 replies; 4+ messages in thread
From: Joel Sherrill @ 2014-09-17 15:03 UTC (permalink / raw)
  To: Sebastian Huber, gcc-patches; +Cc: RTEMS

Thanks for the ping.

I updated the date on the ChangeLog and committed this.

--joel



On 9/17/2014 8:26 AM, Sebastian Huber wrote:
> Ping^2.
>
> On 02/05/14 10:46, Sebastian Huber wrote:
>> Ping.
>>
>> On 2014-04-18 12:11, Sebastian Huber wrote:
>>> From: Sebastian Huber <sebastian-huber@web.de>
>>>
>>> The command line to build a GCC for RTEMS contained virtually always a
>>> '--enable-threads'.  This patch helps to avoid this extra configuration
>>> command line parameter and makes the GCC build a bit more user friendly
>>> for RTEMS.
>>>
>>> This patch should be applied to GCC 4.9 branch and master.
>>>
>>> 2014-04-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
>>>
>>>      * config.gcc (*-*-rtems*): Default to 'rtems' thread model.
>>>      Enable selection of 'posix' or no thread model.
>>> ---
>>>    gcc/config.gcc | 8 +++++++-
>>>    1 file changed, 7 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/gcc/config.gcc b/gcc/config.gcc
>>> index 3c55c88..93d5994 100644
>>> --- a/gcc/config.gcc
>>> +++ b/gcc/config.gcc
>>> @@ -791,7 +791,13 @@ case ${target} in
>>>      ;;
>>>    *-*-rtems*)
>>>      case ${enable_threads} in
>>> -    yes) thread_file='rtems' ;;
>>> +    "" | yes | rtems) thread_file='rtems' ;;
>>> +    posix) thread_file='posix' ;;
>>> +    no) ;;
>>> +    *)
>>> +      echo 'Unknown thread configuration for RTEMS'
>>> +      exit 1
>>> +      ;;
>>>      esac
>>>      tmake_file="${tmake_file} t-rtems"
>>>      extra_options="${extra_options} rtems.opt"
>>>
>>
>


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-17 15:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-18 10:11 [PATCH] RTEMS thread model configuration Sebastian Huber
2014-05-02  8:46 ` Sebastian Huber
2014-09-17 13:26   ` Sebastian Huber
2014-09-17 15:03     ` Joel Sherrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).