Mathieu SUEN | 10 Feb 19:48
Picon
Favicon

Fixing some build issue on OSX

Hi Paulo

I have commit a fix that cause some bug at build time. You can found the commit to merge here:
https://github.com/mathk/smalltalk/commit/1fa5efe01f

The issue was that the environ global was remove from libc on osx and replace by the _NSGetEnviron.
I have only be able to test on 10.7. So I have no idea if that is compatible with 10.6

Also the MessgaeLookup.st file was missing in the kernel package.xml

Thanks in advance

--
Mathieu
Mehul Sanghvi | 10 Feb 20:17
Picon

Re: Fixing some build issue on OSX

I've got a 10.6 system, at least for the next few days, but I'm new to OSX
related stuff.  If you can tell me what I need to look for and where,
I can certainly
check for you.

cheers,

      mehul

On Fri, Feb 10, 2012 at 18:48, Mathieu SUEN <mathieusuen <at> yahoo.fr> wrote:
> Hi Paulo
>
> I have commit a fix that cause some bug at build time. You can found the commit to merge here:
> https://github.com/mathk/smalltalk/commit/1fa5efe01f
>
> The issue was that the environ global was remove from libc on osx and replace by the _NSGetEnviron.
> I have only be able to test on 10.7. So I have no idea if that is compatible with 10.6
>
> Also the MessgaeLookup.st file was missing in the kernel package.xml
>
> Thanks in advance
>
> --
> Mathieu
> _______________________________________________
> help-smalltalk mailing list
> help-smalltalk <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/help-smalltalk

--

-- 
(Continue reading)

Mehul Sanghvi | 10 Feb 20:20
Picon

Re: Fixing some build issue on OSX

On Fri, Feb 10, 2012 at 18:48, Mathieu SUEN <mathieusuen <at> yahoo.fr> wrote:
> Hi Paulo
>
> I have commit a fix that cause some bug at build time. You can found the commit to merge here:
> https://github.com/mathk/smalltalk/commit/1fa5efe01f
>
> The issue was that the environ global was remove from libc on osx and replace by the _NSGetEnviron.
> I have only be able to test on 10.7. So I have no idea if that is compatible with 10.6
>
> Also the MessgaeLookup.st file was missing in the kernel package.xml
>
> Thanks in advance
>

I have the following in the /usr/include/crt_externs.h file:

       extern char ***_NSGetEnviron(void);

on my MacOS X 10.6 system

Hope that helps.

cheers,

       mehul

--

-- 
Mehul N. Sanghvi
email: mehul.sanghvi <at> gmail.com
(Continue reading)

Paolo Bonzini | 22 Feb 12:45
Picon
Gravatar

Re: Fixing some build issue on OSX

On 02/10/2012 07:48 PM, Mathieu SUEN wrote:
> Hi Paulo
> 
> I have commit a fix that cause some bug at build time. You can found the commit to merge here:
> https://github.com/mathk/smalltalk/commit/1fa5efe01f
> 
> The issue was that the environ global was remove from libc on osx and replace by the _NSGetEnviron.
> I have only be able to test on 10.7. So I have no idea if that is compatible with 10.6
> 
> Also the MessgaeLookup.st file was missing in the kernel package.xml

Hi, I committed a fix for both problems.  Please try again, I used a
configure test instead of directly testing __APPLE__.

Paolo

Gmane