How to run 32 bit FreeBSD compiled apps on 64 bit

2008-02-26 Thread navneet Upadhyay
I have a simple program say Hello world , i have compiled it on 32 bit FreeBSD and it dynamically links to libraries(I cannot make it statically linked due to some requirements), now when i run it on AMD64 i get ELF interpreter /libexec/ld-elf32.so.1 not found. How to fix it, i searched and found

Recursive mutex safe on FreeBSD 6.2

2008-02-25 Thread navneet Upadhyay
can we use recursive mutex on 6.2 freebsd ?? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

32 bit and 64 bit freebsd binary compatiblty

2008-02-19 Thread navneet Upadhyay
do we handle this situation??? Is there any way or i have to compile my code on 64 bit machine?? Keep in mind there can be many such structure.. Thanks, Navneet On 2/19/08, Dominic Fandrey [EMAIL PROTECTED] wrote: navneet Upadhyay wrote: On 2/18/08, Dominic Fandrey [EMAIL PROTECTED] wrote

Re: 32 bit and 64 bit freebsd binary compatiblty

2008-02-19 Thread navneet Upadhyay
a machine will be required (always) , i think i figured it out , ineed to compile them using *amd64 *instead of i386 . On 2/19/08, Wojciech Puchar [EMAIL PROTECTED] wrote: Can anyone tell how do we handle this situation??? Is there any way or i have to compile my code on 64 bit

32 bit and 64 bit freebsd binary compatiblty

2008-02-18 Thread navneet Upadhyay
Hi , For our product we generally compile the binaries on 32 bit systems and use them for both 32 and 64 bit systems. like we have same binaries for 32 bit and 64 bit RHEL. We are porting the product to FreeBSD and when we tried the same, i.erunning binaries compiled on 32 bit FreeBSD 6.2

make not working gmake works

2008-02-18 Thread navneet Upadhyay
Hi, I have a Makefile . It works well with Linux versions when i use make command.The make command fails on FreeBSD but gmake works fine. Any clues on this behavior? Thanks, Navneet ___ freebsd-questions@freebsd.org mailing list

Re: 32 bit and 64 bit freebsd binary compatiblty

2008-02-18 Thread navneet Upadhyay
I checked in usr/local/ and didnt find the lib32 folder, so i guess they are nt installed . Why do i need them ? can u put some light on it ? On 2/18/08, Norman Maurer [EMAIL PROTECTED] wrote: Am Montag, den 18.02.2008, 20:42 +0530 schrieb navneet Upadhyay: it and 64 bit RHEL. We

Re: 32 bit and 64 bit freebsd binary compatiblty

2008-02-18 Thread navneet Upadhyay
Yes i am using few libs not built on FreeBSD but they work fine on 32 bit freeBSD , so in principle they shud have the same behavior on 64 one. On 2/18/08, Dominic Fandrey [EMAIL PROTECTED] wrote: navneet Upadhyay wrote: Hi , For our product we generally compile the binaries on 32

Re: 32 bit and 64 bit freebsd binary compatiblty

2008-02-18 Thread navneet Upadhyay
system. On 2/18/08, Dominic Fandrey [EMAIL PROTECTED] wrote: navneet Upadhyay wrote: On 2/18/08, Dominic Fandrey [EMAIL PROTECTED] wrote: navneet Upadhyay wrote: Hi , For our product we generally compile the binaries on 32 bit systems and use them for both 32 and 64 bit

Re: script to be executed on system startup.

2008-02-07 Thread navneet Upadhyay
]; then* *start my executables* *elif * *stop my executables* *fi* ** *question is :-* ** *How to excute a script when system comes up and shuts down with differnt parameter.* ** *Thanks,* *navneet* On 2/6/08, Dominic Fandrey [EMAIL PROTECTED] wrote: navneet Upadhyay wrote: Hi, I have

script to be executed on system startup.

2008-02-06 Thread navneet Upadhyay
Hi, I have a script file, i want that script to be executed on system startup. I am doing this on Linux in following two steps : - 1. Copying the script to /etc/rc.d directory. 2. /sbin/chkconfig --add scriptname I want to achieve the same on FreeBSD chckconfig file is not present,

Re: script to be executed on system startup.

2008-02-06 Thread navneet Upadhyay
and if it is stop i gracefully exit from my executables. I want to achie same thing in FreeBSD. Thanks, Navneet On 2/6/08, Derek Ragona [EMAIL PROTECTED] wrote: At 08:09 AM 2/6/2008, navneet Upadhyay wrote: Hi, I have a script file, i want that script to be executed on system

Upgrading the Installed package

2008-02-05 Thread navneet Upadhyay
Hi, I have two binary packages of an application of version 1.1 and 1.2. *The 1.1 is already installed, how can i upgrade it to 1.2* ? Do i have to uninstall 1.1 and then install 1.2 ? I would prefer a way by which i can upgrade an wxisting package without uninstalling. Thanks, Navneet

Endianness of freeBSD

2008-02-04 Thread navneet Upadhyay
1. Is FreeBSD little Endian like windows? 2. Linux is Big endian? wrote a code int i = 1;if((i 1) == 0) little else big got little on all platforms bsd,linux,windows. *Does endianness depends on OS or the hardware?* ** ** *Thanks,* *navneet* ___

Latest Stable FreeBSD version and its Dell 2950 Compatiblity

2008-01-22 Thread navneet Upadhyay
Hi, I need to know which is the latest stable FreeBSD release(6.2 ?) and does it goes well with Dell 2950 ? Thanks Navneet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Trying to support my product on FreeBSD

2008-01-18 Thread navneet Upadhyay
Hi , My product is successfully running on Linux( all most all versions) and HP- UX and Windows . *It is 100 % C++ code*. I am planning to support it on FreeBSD, i have two queries : 1. *How to build my code into binaries* on FreeBSD , i have my unix make files. Just to give an idea i