.exe files


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers .exe files
# 1  
Old 11-21-2006
.exe files

how to open .exe file in freebsd system.My work is to run a growth.exe(created by growth.c turbo c 3.0 file).how to run that exe file in freebsd system?Thanks in advance help me
# 2  
Old 11-21-2006
You probably cant. As a general rule, you cannot just take executable binaries from one OS to another OS and expect them to work. You will probably have to recompile.
# 3  
Old 11-21-2006
is it like this

Thanks for the reply.You mean to say that i have to recompile growth.c to produce a .out file(exe file in unix).Let me know if iam wrong
# 4  
Old 11-21-2006
Not necessary to call the file a.out. That is just the default name. Most C compilers allow you to name the output file using the '-o <filename>' option.

But yes, you need to recompile. Best of luck.
# 5  
Old 11-21-2006
so it will be
cc -o growth growth.c
where growth will be executable file
btw i think you bgidemo.c which will b found default in c\tc\bgi.when i
cc -o demo bgidemo.c
my monitor is fille with errors.many functions problem i think.is this the way we complie or anyother way.please let me know
# 6  
Old 11-21-2006
There might be incompatibilities in the BSD compiler that you are using and the TurboC 3.0 compiler that gave you a clean compile for this file. There will also be differences in the files that you #include in unix and #include in Windows.

You should really be looking at a proper port of the application if you are moving to a new OS.
# 7  
Old 11-21-2006
Any suggestions to solve this problem?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to run exe files in unix

Hi I have a open source tool called table text comparator Link to download that tool: http://www.nirsoft.net/utils/csv_file_comparison.html I wish to run this tool in our unix servers. In windows O.S i just have to unzip and i can use this tool by running the .exe file. So i want to know how... (6 Replies)
Discussion started by: Ganesh_more
6 Replies

2. Programming

exe

hello everyone, could somebody tell me where can i find some good exercises on signals,processes and threads? actually i need to find some solved exercises in system programming. tnx (4 Replies)
Discussion started by: micy
4 Replies

3. Programming

How to build .exe from c

All, I have never comipled C code before and would appricaite if anyone could tell me how to build a .exe from a C program. Thanks in advance. (5 Replies)
Discussion started by: thana
5 Replies

4. Programming

How . exe files work

:confused:Hi I work on a production server. We have some .exe files in our system, the source of these files are C++ programs that are stored in the development server. How these .exe work. Could somebody please tell that in detail. Thanks a lot!! Kanu (8 Replies)
Discussion started by: kanu_pathak
8 Replies

5. Programming

exe

Is it possible to extract c program,from its executable file(.exe)? i mean we dont have program but its exe file only which runs,can we retrieve the program? if yes how? if no why? (2 Replies)
Discussion started by: unknown9
2 Replies

6. UNIX for Dummies Questions & Answers

list exe files modified before certain dates

Can you please tell me how I can list all EXE files in a dir and Subdir which where modified say before 01/01/2006 (2 Replies)
Discussion started by: fremont
2 Replies

7. Programming

running exe

how we can run the exe when the system starts. (2 Replies)
Discussion started by: phani_sree
2 Replies

8. SuSE

does exe

does exe files works withe suse am new n linux system and were can i find msn 4 linux (2 Replies)
Discussion started by: abdulla
2 Replies

9. Programming

how To edit exe to insert a serial no wich can be usd by runing exe

At time of installation I have to open the resource. and i have to insert a string serial number in the exe. please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies

10. UNIX for Dummies Questions & Answers

Running EXE files on UNIX

I'm trying to find out if a executible file created in visual basic will run in the CGI-BIN of a unix server. I see the C section but no mention of VB. Thanks Sean (1 Reply)
Discussion started by: seanstog
1 Replies
Login or Register to Ask a Question