Fw: How to Port 32bit source code in compatible to 64bit OS

2007-01-02 Thread Syam Prasad Nagabairu

Hi All,
Here I already ported the source code to gcc from diab compiler by using
cygwin environment on Microsoft Windows XP [Version 5.1.2600]. Now the
requirement for me is to port this code on Linux in particular SUSE
linux.actually my need is to simulate the code on model. we need to port it
in compatible to 64bit. is it possible to port a 32 bit source code on
GNU/linux(i686 machine processor)? I am beginner in linux!please help me.
thanks in advance


Thanks  Regards,
 Syam Prasad N
INDUS RD Ltd.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Fw: How to Port 32bit source code in compatible to 64bit OS

2007-01-02 Thread Holger Krull

Syam Prasad Nagabairu schrieb:


Here I already ported the source code to gcc from diab compiler by using
cygwin environment on Microsoft Windows XP [Version 5.1.2600]. Now the
requirement for me is to port this code on Linux in particular SUSE
linux.actually my need is to simulate the code on model. we need to port it
in compatible to 64bit. is it possible to port a 32 bit source code on
GNU/linux(i686 machine processor)? I am beginner in linux!please help me.


As far as i know there is no 64 Bit Cygwin. As your code already compiles on 
cygwin, just give it a try on a 64 Bit linux system. Depending on what librarys 
where used it maybe just works.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Fw: How to Port 32bit source code in compatible to 64bit OS

2007-01-02 Thread Syam Prasad Nagabairu

Holger Krull,

   thanks for ur response.I am having only 32bit linux system.
   but my application to be build should be compatible to 64
   bit. Is there any cross compilation facility for this. i
   mean 32bit source code to be build on 32bit linux system but
   for 64bit machine.


Thanks  Regards,
Syam Prasad N
INDUS RD Ltd.





Here I already ported the source code to gcc from diab compiler by using
cygwin environment on Microsoft Windows XP [Version 5.1.2600]. Now the
requirement for me is to port this code on Linux in particular SUSE
linux.actually my need is to simulate the code on model. we need to port it
in compatible to 64bit. is it possible to port a 32 bit source code on
GNU/linux(i686 machine processor)? I am beginner in linux!please help me.












Here I already ported the source code to gcc from diab compiler by using
cygwin environment on Microsoft Windows XP [Version 5.1.2600]. Now the
requirement for me is to port this code on Linux in particular SUSE
linux.actually my need is to simulate the code on model. we need to port it
in compatible to 64bit. is it possible to port a 32 bit source code on
GNU/linux(i686 machine processor)? I am beginner in linux!please help me.


As far as i know there is no 64 Bit Cygwin. As your code already compiles
on cygwin, just give it a try on a 64 Bit linux system. Depending on what
librarys where used it maybe just works.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Fw: How to Port 32bit source code in compatible to 64bit OS

2007-01-02 Thread Syam Prasad Nagabairu



Holger Krull,

thanks for ur response.I am having only 32bit linux system. but my
application to be build should be compatible to 64 bit. Is there any cross
compilation facility for this. i mean 32bit source code to be build on
32bit linux system but for 64bit machine.




Here I already ported the source code to gcc from diab compiler by using
cygwin environment on Microsoft Windows XP [Version 5.1.2600]. Now the
requirement for me is to port this code on Linux in particular SUSE
linux.actually my need is to simulate the code on model. we need to port it
in compatible to 64bit. is it possible to port a 32 bit source code on
GNU/linux(i686 machine processor)? I am beginner in linux!please help me.


As far as i know there is no 64 Bit Cygwin. As your code already compiles
on cygwin, just give it a try on a 64 Bit linux system. Depending on what
librarys where used it maybe just works.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Fw: How to Port 32bit source code in compatible to 64bit OS

2007-01-02 Thread Holger Krull

Syam Prasad Nagabairu schrieb:


I am having only 32bit linux system.


That makes testing a bit difficult.



application to be build should be compatible to 64 bit. Is there any cross
compilation facility for this.


Don't know of any. But you could instruct the compiler and linker to use a 64 
Bit environment as a target. You will need the 64 Bit libs installed for 
linking. The effort to do this is much larger than setting up a 64 Bit Suse. 
Rent a root server with 64 Bit Suse if you don't want to spend much money or 
need things fast. You will need a computer for testing anyway.
Maybe you don't need that at all, as all 64 Bit Distros bring the 32 Bit libs along with them. I have not found a program compiled for 32 Bit environment that doesn't work on a 64 Bit system. 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Setting xterm title over ssh problems

2007-01-02 Thread pgrodt

Forgive me if this is not really a cygwin question, I'm uncertain.  I am
spawning xterm instances while ssh fowarding a linux box to cygwin-xfree,
and am unable to set the title of these windows.  I first tried calling
xterm with the '-title' argument, which works for about a 10th of a second
and then resets to $CWD.

specifically:
execute startxwin.exe
[EMAIL PROTECTED] ~]$ ssh -Y remoteHost
[EMAIL PROTECTED] ~]$ xterm -title wazzap 

So I read http://www.nabble.com/How-to-add-a-title-to-xterm-tf679887.html

and tried the script contained in that thread:

[EMAIL PROTECTED] sbin]$ ./setxtitle.sh wazzap
\033]0;wazzap\a\c
also tried:
[EMAIL PROTECTED] sbin]$ \033]0;wazzap\a\c  $(tty)

but neither had any effect.

Could someone please point me in the right direction?

FYI:
[EMAIL PROTECTED] ~]$ uname -a
CYGWIN_NT-5.1 my-pc 1.5.21(0.156/4/2) 2006-07-30 14:21 i686 Cygwin

[EMAIL PROTECTED] sbin]$ uname -a
Linux remotehost 2.4.21-40.ELsmp #1 SMP Thu Feb 2 22:22:39 EST 2006 i686
i686 i386 GNU/Linux

-- 
View this message in context: 
http://www.nabble.com/Setting-xterm-title-over-ssh-problems-tf2908624.html#a8126021
Sent from the cygwin-xfree mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Setting xterm title over ssh problems

2007-01-02 Thread Phil Betts
pgrodt wrote on Tuesday, January 02, 2007 3:59 PM::

 Forgive me if this is not really a cygwin question, I'm uncertain.  I

It isn't really, but...

 am spawning xterm instances while ssh fowarding a linux box to
 cygwin-xfree, and am unable to set the title of these windows.  I
 first tried calling xterm with the '-title' argument, which works for
 about a 10th of a second and then resets to $CWD.

The fact that your title appears momentarily, before being changed 
suggests that either $PS1 or $PROMPT_COMMAND already includes a command
that sets the title.

Try setting PS1='\$ ' and unsetting PROMPT_COMMAND, then try again.


Phil

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/