Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #5470

Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc)

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c
Subject Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc)
Date 2011-06-05 20:22 +1200
Message-ID <950sm2FivcU14@mid.individual.net> (permalink)
References (8 earlier) <5dfe258f-9f3f-4705-8d45-04590a9e7793@s41g2000prb.googlegroups.com> <yI-dnRSTQPbHXnTQnZ2dnUVZ_rSdnZ2d@posted.internetamerica> <isci0a$cha$1@speranza.aioe.org> <950ci9FivcU13@mid.individual.net> <isfcbm$l8k$1@speranza.aioe.org>

Show all headers | View raw


On 06/ 5/11 07:48 PM, jacob navia wrote:
> Le 05/06/11 05:47, Ian Collins a écrit :
>> On 06/ 4/11 06:06 PM, jacob navia wrote:
>>> Le 04/06/11 07:32, Gordon Burditt a écrit :
>>>>
>>>> This is less of an issue with math functions, *printf, and the
>>>> string library and such since they usually don't have much of an
>>>> interface with the kernel in areas where changes occur.
>>>>
>>>
>>> Exactly, and those functions should be provided by the compiler,
>>> not the OS.
>>
>> If so, how do you cope with the other dependencies? Not just technical,
>> but documentation. Do you provide replacement man pages?
>
> Yes, and lcc-win provides its own documentation since
> there are sizable differences between the C99 printf
> that I provide, and the system printf that is C89.

OK.

>> How about
>> linking to libraries built with the system libc?
>
> lcc-win doesn't accept static library linking with
> other compiler's libraries. I would have to
> replicate Microsoft object code format (that is not
> documented) and I would have to replicate the Microsoft
> linker behavior, that is not documented either.
>
> That is why lcc-win  provides its own linker.

Ah, I see.  I'm not used to the windows way of doing things.  Do you 
have problems with system libraries?  I'm used to the Unix way where all 
C compilers coexist by using the system ABI and libraries.

>> I can see this getting very messy, very fast.
>
> Of course much less messy is to fail to provide
> a C99 library when the system is not C99 like
> mingw under windows (gcc doesn't run under windows).

Now I'm really glad I don't have to use windows!

> I have demonstrated that if you want to do it you can
> do it. But I am always wrong in this group, even if I
> provide a full C99 implementation under windows.

Why oh why do you have to take every comment as a personal insult?  I'd 
have thought you've been around Usenet long enough to how it works.

-- 
Ian Collins

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) David Mathog <dmathog@gmail.com> - 2011-06-02 13:52 -0700
  Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) Nobody <nobody@nowhere.com> - 2011-06-02 22:16 +0100
  Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) David Mathog <dmathog@gmail.com> - 2011-06-02 14:18 -0700
    Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) David Mathog <dmathog@gmail.com> - 2011-06-02 14:37 -0700
      Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) Ian Collins <ian-news@hotmail.com> - 2011-06-03 09:59 +1200
        Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) David Mathog <dmathog@gmail.com> - 2011-06-02 15:18 -0700
          Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) Ian Collins <ian-news@hotmail.com> - 2011-06-03 10:35 +1200
            Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) David Mathog <dmathog@gmail.com> - 2011-06-02 16:01 -0700
              Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) ImpalerCore <jadill33@gmail.com> - 2011-06-03 06:45 -0700
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) David Mathog <dmathog@gmail.com> - 2011-06-03 12:13 -0700
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) jacob navia <jacob@spamsink.net> - 2011-06-03 21:35 +0200
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) Ian Collins <ian-news@hotmail.com> - 2011-06-04 08:48 +1200
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) Nobody <nobody@nowhere.com> - 2011-06-03 23:28 +0100
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) gordonb.myhxj@burditt.org (Gordon Burditt) - 2011-06-04 00:32 -0500
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) jacob navia <jacob@spamsink.net> - 2011-06-04 08:06 +0200
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) gordonb.c5zg9@burditt.org (Gordon Burditt) - 2011-06-04 22:03 -0500
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) Ian Collins <ian-news@hotmail.com> - 2011-06-05 15:47 +1200
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) jacob navia <jacob@spamsink.net> - 2011-06-05 09:48 +0200
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) Ian Collins <ian-news@hotmail.com> - 2011-06-05 20:22 +1200
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) jacob navia <jacob@spamsink.net> - 2011-06-05 15:59 +0200
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) "Joel C. Salomon" <joelcsalomon@gmail.com> - 2011-06-06 09:09 -0400
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) jacob navia <jacob@spamsink.net> - 2011-06-06 15:24 +0200
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) David Mathog <dmathog@gmail.com> - 2011-06-06 10:17 -0700
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) Ian Collins <ian-news@hotmail.com> - 2011-06-07 07:46 +1200
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) David Mathog <dmathog@gmail.com> - 2011-06-09 09:35 -0700
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) Keith Thompson <kst-u@mib.org> - 2011-06-09 11:18 -0700
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) David Mathog <dmathog@gmail.com> - 2011-06-09 12:52 -0700
                Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) Ian Collins <ian-news@hotmail.com> - 2011-06-10 09:14 +1200
            Re: OT: missing C99 math pieces in gcc 4.x on Solaris 8 (sparc) Keith Thompson <kst-u@mib.org> - 2011-06-02 16:04 -0700

csiph-web