Fixing some build issue on OSX

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Fixing some build issue on OSX

Mathieu Suen-2
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
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Fixing some build issue on OSX

Mehul Sanghvi-2
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 <[hidden email]> 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
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/help-smalltalk



--
Mehul N. Sanghvi
email: [hidden email]

_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Fixing some build issue on OSX

Mehul Sanghvi-2
In reply to this post by Mathieu Suen-2
On Fri, Feb 10, 2012 at 18:48, Mathieu SUEN <[hidden email]> 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: [hidden email]

_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Fixing some build issue on OSX

Paolo Bonzini-2
In reply to this post by Mathieu Suen-2
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

_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk