Re: Cross-compiling hosted on Linux

2008-02-08 Thread Delio Brignoli

Hi,

Even though what you are trying to do is theoretically possible by  
wasting countless hours chasing up a version of gcc's source with  
apple patches and then making it work, breaking some licenses by  
installing their SDK libs on a different platform and then rewriting a  
number of utilities used by the build process I do not recommend you  
try.


Sadly, Apple does not support compiling for OSX on any platform other  
than... (drum roll) OSX.
Also Apple does not allow you to run their OS in a virtual machine. So  
I believe you will not be able to compile an executable targeted to  
OSX from your linux machine :(


Xcode is downloadable as an *huge* (a little more than 1GB) disk image  
from Apple. It is made up of an IDE, gcc, Apple's substitute for  
"make", SDK libraries for various versions of their OS and a thousands  
other development related utilities.


Xcode will be easy to use if all you need to do is build: open project  
file, hit build&run icon.


HTH (at least to avoid hours of fruitless attempts)
--
Delio

On 9/02/2008, at 4:06 PM, Aidan Gauland wrote:

If I was just trying to compile some command line program (like  
lynx), this would be a dawdle (probably).  But this program's build  
environment for Mac OS X uses Xcode, AND it makes a .app directory,  
for the Finder (if you don't know what the  I'm talking  
about.sorry, I just looked, and couldn't find anything  
explanatory on the netit's just some weird way of organising  
files and folders in a directory named "foo.app", so it shows up to  
the Finder as a single file.  Lets not start an OS API flame war now  
though.)  So that complicates this problem a bit, and is what I need  
help with.


-Aidan

Volker Kuhlmann wrote:

On Fri 08 Feb 2008 19:12:24 NZDT +1300, A Thomas wrote:

Long version: I use Linux at home (duh), and the school I go to uses
Mac OS X (some Intel, some PPC), and I want to be able to use this
program at the school, but it would be a pain to compile it on the
school computers (mainly because I would have to puzzle out Xcode),
also if I need a new feature or bug fix in a new version, I would  
have
to go through this all again.  So if I could compile this program  
for

Mac, from Linux, that would save a lot of time.
What did your googling come up with? I put in "gcc macosx  
crosscompile
linux" and the top link to ubuntuforums is right on topic, but not  
all

that helpful - people who heard "gcc" and "cross-copile" in the same
sentence answering that gcc can do it, but otherwise not much clue to
the how (pretty much my experience with ubuntuforums in general - all
question, not much answer).
You're dealing with a complex issue and need to look at it one step  
at a
time. What gcc calls cross-compile is generating code for one  
processsor

on another one. Yes gcc can do that. You'll have to recompile gcc for
that as AFAIK no Linux distributor ships a gcc which is compiled for
more than the architecture it's running on. Keep in mind that gcc
compiles for processors only - it's what it calls hosts or
architectures, it does not really compile for operating systems. For
Apples you're looking at PPC and x86.
If you want to make the code actually run on another OS, you'll  
have to

get a linker which can all of a) create executable code for that
OS, b) link against the standard runtime environment of that OS, c)  
link

against any other libraries that the OS or your application uses. At
least b) needs substantial information about "macosx" on your Linux
machine - you guessed it, it's not there. You get to put it there  
first.

As pointed out by others, you'll need that xcode, it's unclear to me
whether it is available on Linux. Also, comments like "on mac osx  
we use

a specially doctored gcc made by apple" don't suggest to me that
develop-on-Linux-run-on-Macosx is that far advanced.
So this is what you need to sort out. If you make it, let us all know
and write it up somewhere. My guess is that only someone proficient  
in

developing on both Linux and Macosx independently will be able to put
something like this together, esp as all the parts might not yet be
available.
Volker






Re: Cross-compiling hosted on Linux

2008-02-08 Thread Aidan Gauland
 If I was just trying to compile some command line program (like lynx), 
this would be a dawdle (probably).  But this program's build environment 
for Mac OS X uses Xcode, AND it makes a .app directory, for the Finder 
(if you don't know what the  I'm talking about.sorry, I just 
looked, and couldn't find anything explanatory on the netit's just 
some weird way of organising files and folders in a directory named 
"foo.app", so it shows up to the Finder as a single file.  Lets not 
start an OS API flame war now though.)  So that complicates this problem 
a bit, and is what I need help with.


 -Aidan

Volker Kuhlmann wrote:

On Fri 08 Feb 2008 19:12:24 NZDT +1300, A Thomas wrote:


 Long version: I use Linux at home (duh), and the school I go to uses
Mac OS X (some Intel, some PPC), and I want to be able to use this
program at the school, but it would be a pain to compile it on the
school computers (mainly because I would have to puzzle out Xcode),
also if I need a new feature or bug fix in a new version, I would have
to go through this all again.  So if I could compile this program for
Mac, from Linux, that would save a lot of time.


What did your googling come up with? I put in "gcc macosx crosscompile
linux" and the top link to ubuntuforums is right on topic, but not all
that helpful - people who heard "gcc" and "cross-copile" in the same
sentence answering that gcc can do it, but otherwise not much clue to
the how (pretty much my experience with ubuntuforums in general - all
question, not much answer).

You're dealing with a complex issue and need to look at it one step at a
time. What gcc calls cross-compile is generating code for one processsor
on another one. Yes gcc can do that. You'll have to recompile gcc for
that as AFAIK no Linux distributor ships a gcc which is compiled for
more than the architecture it's running on. Keep in mind that gcc
compiles for processors only - it's what it calls hosts or
architectures, it does not really compile for operating systems. For
Apples you're looking at PPC and x86.

If you want to make the code actually run on another OS, you'll have to
get a linker which can all of a) create executable code for that
OS, b) link against the standard runtime environment of that OS, c) link
against any other libraries that the OS or your application uses. At
least b) needs substantial information about "macosx" on your Linux
machine - you guessed it, it's not there. You get to put it there first.

As pointed out by others, you'll need that xcode, it's unclear to me
whether it is available on Linux. Also, comments like "on mac osx we use
a specially doctored gcc made by apple" don't suggest to me that
develop-on-Linux-run-on-Macosx is that far advanced.

So this is what you need to sort out. If you make it, let us all know
and write it up somewhere. My guess is that only someone proficient in
developing on both Linux and Macosx independently will be able to put
something like this together, esp as all the parts might not yet be
available.

Volker



Re: usb headset...

2008-02-08 Thread Steve Holdoway
On Sat, 09 Feb 2008 15:21:26 +1300 (NZDT)
Derek Smithies <[EMAIL PROTECTED]> wrote:

> Skype does have a significant problem for the corporate world. If the boss 
> decides that all communications into/outof the company are monitored 
> (which is reasonable - the boss has supplied the environment), how can the 
> boss monitor a skype conversation? - It is quite hard to do. V hard.

There are also reliability problems with Skype, and it's had major outages in 
the last 6 months. Also, my gf was using it on her Xp pc, and for some reason 
the pc started running at 100% cpu... what was it doing???

As for monitoring, the FBI do it ok, don't they???

Cheers,


Steve
-- 
Steve Holdoway <[EMAIL PROTECTED]>


Re: usb headset...

2008-02-08 Thread Derek Smithies
Hi,
What usb headet works?
 pretty much any headset will work, provided it is a recent distro.

One thing you can check in the store:
  If the headset box comes with a driver disk, it won't work. 
  The absence of a driver disk implies the headset only uses standard USB
   signalling.


On Sat, 9 Feb 2008, Nick Rout wrote:

> pardon me but why are people on this list supporting proprietary skype
> when open standards are so important to linux users (not to mention life
> the universe & everything)?

Because skype works in the hard places. Without fuss, really easily.

The hardest voip connection to setup is where both parties are behind 
different firewalls, and where both parties do not have the ability (or 
access) to add pinholes to the firewall.

for protocols such as sip, h323, this is a problem - how do they set up a 
call?

Further, while SIP is an industry standard, it is not 100.00% adherred to. 
There are over a dozen open source implementations of sip - all of 
differing quality and interoperableness.

SIP has been described as the largest denial of service attack on the IETF 
working process - the number of RFCs dealing with SIP is simply huge.

H.323 has far higher level of interoperability - the openh323 project has 
become the industry standard.

Skype does have a significant problem for the corporate world. If the boss 
decides that all communications into/outof the company are monitored 
(which is reasonable - the boss has supplied the environment), how can the 
boss monitor a skype conversation? - It is quite hard to do. V hard.

Derek.
 -- 
Derek Smithies Ph.D.
IndraNet Technologies Ltd.
Email: [EMAIL PROTECTED]
ph +64 3 365 6485
Web: http://www.indranet-technologies.com/


Re: OT: was: Re: usb headset...

2008-02-08 Thread Chris Hellyar
As I understand it, there are now a couple of gateway packages, but
nothing publicly available.  So you can do it with a bit of messing
about for asterisk and call back out.  Obviously skype do not support
this activity, as they are a commercial provider etc...


> Can you call a skype user from a SIP provider and vice versa?




Re: OT: was: Re: usb headset...

2008-02-08 Thread Nick Rout
Actually one of the reasons I asked is that I have heard of several people
buying "skype phones" only to find they don't work on other (eg SIP) based
systems.

I've used skype, its done a good job of promoting voip to the masses, and
that has the incidental good effect of knocking arrogant sods like telcos
a little further off their perches.

Can you call a skype user from a SIP provider and vice versa?


On Sat, February 9, 2008 1:21 pm, Chris Hellyar wrote:
> Don't knock Nick off his horse, he enjoys riding it around this
> neighbourhood.. (Ducking stones)
>
> On Sat, 2008-02-09 at 13:20 +1300, Caleb Sawtell wrote:
>> Because he asked for help not freedom crusading. There are other
>> limitations in the real word
>> like the fact that the people he is taking too are comfortable to
>> skype and dont want to change.
>> or maybe the opensource implamentations are limited or unfinished and
>> he wants something that will just work.
>> I can understand wanting to champion open source and open standards
>> but sometimes you just have to be a little tolerant
>
>
>


-- 
Nick Rout



OT: was: Re: usb headset...

2008-02-08 Thread Chris Hellyar
Don't knock Nick off his horse, he enjoys riding it around this
neighbourhood.. (Ducking stones)

On Sat, 2008-02-09 at 13:20 +1300, Caleb Sawtell wrote:
> Because he asked for help not freedom crusading. There are other
> limitations in the real word
> like the fact that the people he is taking too are comfortable to
> skype and dont want to change.
> or maybe the opensource implamentations are limited or unfinished and
> he wants something that will just work.
> I can understand wanting to champion open source and open standards
> but sometimes you just have to be a little tolerant




Re: usb headset...

2008-02-08 Thread Caleb Sawtell
Because he asked for help not freedom crusading. There are other limitations
in the real word
like the fact that the people he is taking too are comfortable to skype and
dont want to change.
or maybe the opensource implamentations are limited or unfinished and he
wants something that will just work.
I can understand wanting to champion open source and open standards but
sometimes you just have to be a little tolerant

On Feb 9, 2008 1:08 PM, yuri <[EMAIL PROTECTED]> wrote:

> On 09/02/2008, Nick Rout wrote:
> > pardon me but why are people on this list supporting proprietary skype
> > when open standards are so important to linux users (not to mention life
> > the universe & everything)?
>
> What he said!
> The industry wide standard VoIP protocol is SIP, which is an open
> standard well support by all serious players in the VoIP market.
>
> You can even get SIP phones that plug straight into your router, so
> you can use the service even when your computer is turned off.
>
> Give it some thought.
>
> Yuri
>


Re: usb headset...

2008-02-08 Thread Chris Hellyar
I suppose I asked for that

Simple answer is that I've got 22 people in six countries using
different versions of windows and MaxOS I need to get talking each other
by Tuesday with a minimum of fuss.  Bearing in mind they are
photographers and artists, not geeks.

I personally have reservations about skype and it's proprietary nature,
but it's the easiest way to get non-savy users talking VOIP.

Not that I've actually talked to anyone appart from the echo test thingy
yet, as I don't know anyone who uses skype, most people I know who do
voip are geeks and use sip of one sort or another.

Having said that I'm playing with SIP myself, 'cause I can, although I
canna get a connection to 2talk.co.nz to work.  I've got a double layer
of nat, and I think that's borking it.  Must play some more.

On Sat, 2008-02-09 at 10:07 +1300, Nick Rout wrote:
> pardon me but why are people on this list supporting proprietary skype
> when open standards are so important to linux users (not to mention life
> the universe & everything)?



Re: incremental folder naming

2008-02-08 Thread Ross Drummond
On Sat, 09 Feb 2008, Roger Searle wrote:
> Hi, I have a script that does a wget on a website, which is working
> well.  Before the wget command I am moving the folder that already exists:
>
> mv $HOME/documents/newsite $HOME/documents/newsite-old
>
> which is fine.  So long as the folder newsite-old doesn't already exist
> because the script had previously been run and the folder exists.  If it
> does, I'd get the following:
>
> mv: cannot move `/home/roger/documents/newsite/' to a subdirectory of
> itself, `/home/roger/documents/newsite-old/newsite'
>
> What I would really like to do is be retaining each of the previous
> copies of the newsite-old folder, and having the script append an
> increasing number to the folder name each time it ran, ie newsite-old1
> then newsite-old2 etc.
>
> How could I modify the mv command so that it did this for me?
>
> Hoping this makes sense,
> Roger

I suggest that your script create a new directory each time it operates.

I would recommend that you incorporate the date in ISO 8601 format into your 
directory name. This means that file managers should by default list your 
directories in date order. You can add other info on for human readability 
purposes if you choose,

Here is how I would do it;

DirectoryName=/home/roger/documents/site/$(date +"%Y%m%d-%a%d%b")

Cheers Ross Drummond


Re: usb headset...

2008-02-08 Thread yuri
On 09/02/2008, Nick Rout wrote:
> pardon me but why are people on this list supporting proprietary skype
> when open standards are so important to linux users (not to mention life
> the universe & everything)?

What he said!
The industry wide standard VoIP protocol is SIP, which is an open
standard well support by all serious players in the VoIP market.

You can even get SIP phones that plug straight into your router, so
you can use the service even when your computer is turned off.

Give it some thought.

Yuri


Re: usb headset...

2008-02-08 Thread Robert Fisher
On Sat, 09 Feb 2008 10:02:56 am Don Gould wrote:
> Have you considered a blue tooth unit?
>
> I'm sorry I don't know how they work with nix, but I've always wanted
> wireless headset to work with skype.
>
I do not know how they work with Linux but I have a friend who raves about his 
bluetooth headset with windows.

Rob


Re: incremental folder naming

2008-02-08 Thread Volker Kuhlmann
On Sat 09 Feb 2008 10:10:37 NZDT +1300, Nick Rout wrote:

> of course if the only problem is that Roger's script doesn't work when the
> backup directory already exists, the solution is to test for the existence
> of the backup folder and delete it if it exists.

Sure, but I think the thing is not to delete old backup directories. Or
only in a controlled manner in a separate operation.

Volker

-- 
Volker Kuhlmann is list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.


Re: incremental folder naming

2008-02-08 Thread Steve Holdoway
On Sat, 09 Feb 2008 10:04:37 +1300 (NZDT)
Nick Rout <[EMAIL PROTECTED]> wrote:

> 
> On Sat, February 9, 2008 9:20 am, Roger Searle wrote:
> > Hi, I have a script that does a wget on a website, which is working
> > well.  Before the wget command I am moving the folder that already exists:
> >
> > mv $HOME/documents/newsite $HOME/documents/newsite-old
> >
> > which is fine.  So long as the folder newsite-old doesn't already exist
> > because the script had previously been run and the folder exists.  If it
> > does, I'd get the following:
> >
> > mv: cannot move `/home/roger/documents/newsite/' to a subdirectory of
> > itself, `/home/roger/documents/newsite-old/newsite'
> >
> > What I would really like to do is be retaining each of the previous
> > copies of the newsite-old folder, and having the script append an
> > increasing number to the folder name each time it ran, ie newsite-old1
> > then newsite-old2 etc.
> >
> > How could I modify the mv command so that it did this for me?
> >
> > Hoping this makes sense,
> > Roger
> >
> >
> 
> 
> possibly by either:
> 
> a) testing what folders exist and naming the new folder by maximum +1, but
> the programming of that doesn't immediately spring to mind, note that if
> you use one digit you will soon run out of namespace, start at 00, 01 etc
> and you will get at least 100; or
> 
> b) adding the date and time of the fetch to the dir name, like:
> 
>  mv $HOME/documents/newsite $HOME/documents/newsite-${date +%F}
> 
> date +%F returns 2008-02-09 today, so they will naturally sort in date
> order. If you are going to od this more than once a day, come up with a
> date string that adds the time too (see man date, its very flexible).
> 
> 
> -- 
> Nick Rout
> 
Item b) is the approach I've always used. I create a date related subdirectory 
and backup to there. I then use a symbolic link for current to you can find the 
last backup easily .

The disadvantage to this is that you need to manage the backups in some way, 
otherwise they'll eventually fill the disk. If that's a problem, look at the 
logrotate scheme, and how it's done there.

Steve

-- 
Steve Holdoway <[EMAIL PROTECTED]>


Re: incremental folder naming

2008-02-08 Thread Nick Rout

On Sat, February 9, 2008 10:04 am, Volker Kuhlmann wrote:
> On Sat 09 Feb 2008 09:20:12 NZDT +1300, Roger Searle wrote:
>
>> What I would really like to do is be retaining each of the previous
>> copies
>> of the newsite-old folder, and having the script append an increasing
>> number to the folder name each time it ran, ie newsite-old1 then
>> newsite-old2 etc.
>> How could I modify the mv command so that it did this for me?
>
> The mv command won't do it for you. You'll need to write a script. 2
> Approaches are possible.
>
> 1) Generate the numbers, increasing, use the first which doesn't already
> exist. Doesn't scale well for large numbers of existing numbers.
>
> 2) Make assumptions on what is in the directory, and use a suitable
> "ls -1 PREFIX-*" to generate a list of what's there. Sort that list to
> find out the last used number. Tip: use fixed-width numbers. Scales much
> better.
>
> Or you could so something altogether different and rename the entry to a
> name which contains a date and time stamp. If you use a time stamp
> including seconds the method will always work unless you rename more
> often than once in the same second.
>
> Volker

of course if the only problem is that Roger's script doesn't work when the
backup directory already exists, the solution is to test for the existence
of the backup folder and delete it if it exists.

-- 
Nick Rout



Re: usb headset...

2008-02-08 Thread Nick Rout
pardon me but why are people on this list supporting proprietary skype
when open standards are so important to linux users (not to mention life
the universe & everything)?


On Sat, February 9, 2008 10:02 am, Don Gould wrote:
> Have you considered a blue tooth unit?
>
> I'm sorry I don't know how they work with nix, but I've always wanted
> wireless headset to work with skype.
>
> Cheers Don
>
> Chris Hellyar wrote:
>> Anyone got a recommendation for a lightweight usb headset that works out
>> of the box with Linux?
>>
>> I'm going to be using skype a bit over the next few months on a project,
>> and the only headset I've got is a poxy heavy Logitech one which appears
>> to work fine (only just signed up to skype, cool toy...) but is quite
>> bulky..
>>
>> Cheers, Me.
>
> --
> Don Gould
> 2/59 Peverel Street, Riccarton, Christchurch, New Zealand
> Phone: +64 3 348 7235 - Mobile: +64 21 114 0699
> www.thinkdesignprint.co.nz
>
>


-- 
Nick Rout



Re: incremental folder naming

2008-02-08 Thread Volker Kuhlmann
On Sat 09 Feb 2008 09:20:12 NZDT +1300, Roger Searle wrote:

> What I would really like to do is be retaining each of the previous copies 
> of the newsite-old folder, and having the script append an increasing 
> number to the folder name each time it ran, ie newsite-old1 then 
> newsite-old2 etc. 
> How could I modify the mv command so that it did this for me? 

The mv command won't do it for you. You'll need to write a script. 2
Approaches are possible.

1) Generate the numbers, increasing, use the first which doesn't already
exist. Doesn't scale well for large numbers of existing numbers.

2) Make assumptions on what is in the directory, and use a suitable 
"ls -1 PREFIX-*" to generate a list of what's there. Sort that list to
find out the last used number. Tip: use fixed-width numbers. Scales much
better.

Or you could so something altogether different and rename the entry to a
name which contains a date and time stamp. If you use a time stamp
including seconds the method will always work unless you rename more
often than once in the same second.

Volker

-- 
Volker Kuhlmann is list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.


Re: incremental folder naming

2008-02-08 Thread Nick Rout

On Sat, February 9, 2008 9:20 am, Roger Searle wrote:
> Hi, I have a script that does a wget on a website, which is working
> well.  Before the wget command I am moving the folder that already exists:
>
> mv $HOME/documents/newsite $HOME/documents/newsite-old
>
> which is fine.  So long as the folder newsite-old doesn't already exist
> because the script had previously been run and the folder exists.  If it
> does, I'd get the following:
>
> mv: cannot move `/home/roger/documents/newsite/' to a subdirectory of
> itself, `/home/roger/documents/newsite-old/newsite'
>
> What I would really like to do is be retaining each of the previous
> copies of the newsite-old folder, and having the script append an
> increasing number to the folder name each time it ran, ie newsite-old1
> then newsite-old2 etc.
>
> How could I modify the mv command so that it did this for me?
>
> Hoping this makes sense,
> Roger
>
>


possibly by either:

a) testing what folders exist and naming the new folder by maximum +1, but
the programming of that doesn't immediately spring to mind, note that if
you use one digit you will soon run out of namespace, start at 00, 01 etc
and you will get at least 100; or

b) adding the date and time of the fetch to the dir name, like:

 mv $HOME/documents/newsite $HOME/documents/newsite-${date +%F}

date +%F returns 2008-02-09 today, so they will naturally sort in date
order. If you are going to od this more than once a day, come up with a
date string that adds the time too (see man date, its very flexible).


-- 
Nick Rout



Re: usb headset...

2008-02-08 Thread Don Gould

Have you considered a blue tooth unit?

I'm sorry I don't know how they work with nix, but I've always wanted 
wireless headset to work with skype.


Cheers Don

Chris Hellyar wrote:

Anyone got a recommendation for a lightweight usb headset that works out
of the box with Linux?

I'm going to be using skype a bit over the next few months on a project,
and the only headset I've got is a poxy heavy Logitech one which appears
to work fine (only just signed up to skype, cool toy...) but is quite
bulky..

Cheers, Me.


--
Don Gould
2/59 Peverel Street, Riccarton, Christchurch, New Zealand
Phone: +64 3 348 7235 - Mobile: +64 21 114 0699
www.thinkdesignprint.co.nz


incremental folder naming

2008-02-08 Thread Roger Searle
Hi, I have a script that does a wget on a website, which is working 
well.  Before the wget command I am moving the folder that already exists:


mv $HOME/documents/newsite $HOME/documents/newsite-old

which is fine.  So long as the folder newsite-old doesn't already exist 
because the script had previously been run and the folder exists.  If it 
does, I'd get the following:


mv: cannot move `/home/roger/documents/newsite/' to a subdirectory of 
itself, `/home/roger/documents/newsite-old/newsite'


What I would really like to do is be retaining each of the previous 
copies of the newsite-old folder, and having the script append an 
increasing number to the folder name each time it ran, ie newsite-old1 
then newsite-old2 etc. 

How could I modify the mv command so that it did this for me? 


Hoping this makes sense,
Roger



Re: your mail

2008-02-08 Thread Volker Kuhlmann
On Fri 08 Feb 2008 19:12:24 NZDT +1300, A Thomas wrote:

>  Long version: I use Linux at home (duh), and the school I go to uses
> Mac OS X (some Intel, some PPC), and I want to be able to use this
> program at the school, but it would be a pain to compile it on the
> school computers (mainly because I would have to puzzle out Xcode),
> also if I need a new feature or bug fix in a new version, I would have
> to go through this all again.  So if I could compile this program for
> Mac, from Linux, that would save a lot of time.

What did your googling come up with? I put in "gcc macosx crosscompile
linux" and the top link to ubuntuforums is right on topic, but not all
that helpful - people who heard "gcc" and "cross-copile" in the same
sentence answering that gcc can do it, but otherwise not much clue to
the how (pretty much my experience with ubuntuforums in general - all
question, not much answer).

You're dealing with a complex issue and need to look at it one step at a
time. What gcc calls cross-compile is generating code for one processsor
on another one. Yes gcc can do that. You'll have to recompile gcc for
that as AFAIK no Linux distributor ships a gcc which is compiled for
more than the architecture it's running on. Keep in mind that gcc
compiles for processors only - it's what it calls hosts or
architectures, it does not really compile for operating systems. For
Apples you're looking at PPC and x86.

If you want to make the code actually run on another OS, you'll have to
get a linker which can all of a) create executable code for that
OS, b) link against the standard runtime environment of that OS, c) link
against any other libraries that the OS or your application uses. At
least b) needs substantial information about "macosx" on your Linux
machine - you guessed it, it's not there. You get to put it there first.

As pointed out by others, you'll need that xcode, it's unclear to me
whether it is available on Linux. Also, comments like "on mac osx we use
a specially doctored gcc made by apple" don't suggest to me that
develop-on-Linux-run-on-Macosx is that far advanced.

So this is what you need to sort out. If you make it, let us all know
and write it up somewhere. My guess is that only someone proficient in
developing on both Linux and Macosx independently will be able to put
something like this together, esp as all the parts might not yet be
available.

Volker

-- 
Volker Kuhlmann is list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.


Re: Cross-compiling hosted on Linux

2008-02-08 Thread Wesley Parish
The short of it is it is possible to cross-compile on linux using gcc, though 
it depends on whether or not the gcc on your Linux is compiled to permit 
cross-compiling.

The long of it is I don't know anything about MacOSX's development 
environment, nor about how well gcc is integrated into it.  And I don't know 
if MacOSX is one of the supported targets in gcc, though I suspect it is.

The non-X Window System environment I am passingly familiar with - Win32 - 
requires its own libraries and headers, and I use the version known as MinGW 
instead of Cygwin; I assume there is something comparable for MacOSX?  Eg, 
libraries for the various Macintosh operating system environments, Cocoa, 
etc?

I do know gcc includes Objective C - *.m files - but I have never used gcc's 
Objective C myself, and would not know about its support for MacOSX.

Likewise I don't know if Apple has made available a MacOSX cross-compiling 
development environment for Linux.

Just my 0.02c

Wesley Parish

On Friday 08 February 2008 19:12, A Thomas wrote:
> Hello,
>
>  Short version: I have the source for a cross-platform program.  It
> comes with a make file for Linux, and the files for Xcode, (for
> compiling on Mac and Linux respectively).  I want to compile the
> program for Mac OS X, from Linux.  Is this possible?  I need a .app
> file, not just an executable.
>
>  Long version: I use Linux at home (duh), and the school I go to uses
> Mac OS X (some Intel, some PPC), and I want to be able to use this
> program at the school, but it would be a pain to compile it on the
> school computers (mainly because I would have to puzzle out Xcode),
> also if I need a new feature or bug fix in a new version, I would have
> to go through this all again.  So if I could compile this program for
> Mac, from Linux, that would save a lot of time.
>
> Thanks,
> Aidan

-- 
Clinersterton beademung, with all of love - RIP James Blish
-
Gaul is quartered into three halves.  Things which are 
impossible are equal to each other.  Guerrilla 
warfare means up to their monkey tricks. 
Extracts from "Schoolboy Howlers" - the collective wisdom 
of the foolish.
-
Mau e ki, he aha te mea nui?
You ask, what is the most important thing?
Maku e ki, he tangata, he tangata, he tangata.
I reply, it is people, it is people, it is people.


Re: Voip providers?

2008-02-08 Thread Chris Hellyar
OK, I'll give 2talk a look-see, as I see they have a free plan which I
can test it out with.  Cheap at half the price. :-).



On Fri, 2008-02-08 at 22:36 +1300, Andrew Gordon wrote:

> 2talk.co.nz for the amount of features they have and price or VFX from 
> WorldXChange for a solid POTS land line replacement VoIP service.  I use 
> 2talk here for some of the few phone calls we make.  VFX I've heard 
> great things about.





Re: Voip providers?

2008-02-08 Thread Andrew Gordon

Chris Hellyar wrote:

Hi-ho,

Further to the skype headset question,

Anyone got a recommendation for a voip termination provider?


2talk.co.nz for the amount of features they have and price or VFX from 
WorldXChange for a solid POTS land line replacement VoIP service.  I use 
2talk here for some of the few phone calls we make.  VFX I've heard 
great things about.



I want to use ekiga to call some other SIP users and have a NZ based
DDI.


2talk works with any SIP device/endpoint etc, I'm using it with an 
Asterisk box (running on Linux of course, with Linksys, Snom and Cisco 
(plus some others) phones/ATAs).  VFX only allows certain devices 
(mainly Linksys IP phones and ATAs) and recently Asterisk boxes.


Voip providers?

2008-02-08 Thread Chris Hellyar
Hi-ho,

Further to the skype headset question,

Anyone got a recommendation for a voip termination provider?

I want to use ekiga to call some other SIP users and have a NZ based
DDI.

Cheers, Me.