OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Simplest way to an executable ?, Compiling a single C file...
fpp
post Jun 24 2004, 03:28 AM
Post #1





Group: Members
Posts: 188
Joined: 1-February 04
Member No.: 1,647



Hi,

How hard would it be to compile a single C file to an executable that runs on the Z ?

This is a console-mode Linux app that has no user interface (sort of a combined Weblog + http server) and uses flat files for storage, no dependencies. It's quite portable as it runs on almost any Linux/unix and Windows too. It is just one C file.

What's the simplest way to try this on the Z ? is a cross-platform tool chain really necessary, or can it be done on the Z itself (a C760) ?

Thanks for any tips ; just in case it matters, below is the list of includes in the source for the Unix/Linux platforms :

#include <stdio.h>
#include <sys/types.h>
#include <fcntl.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <locale.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <signal.h>
#include <time.h>
#include <dirent.h>
#include <errno.h>
#include <ctype.h>
#include <pwd.h>
#include <grp.h>
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
fpp
post Jun 24 2004, 08:29 AM
Post #2





Group: Members
Posts: 188
Joined: 1-February 04
Member No.: 1,647



QUOTE(tumnus @ Jun 24 2004, 07:51 AM)
What about the Handhelds.org Dev Cluster?

http://www.handhelds.org/projects/devcluster.html

Wasn't aware of its existence, actually. Fun stuff though ! ;-)

I wonder if binaries compiled there would run on a C760 with maslovsky's Cacko ROM 1.21 ?...
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th June 2013 - 02:44 PM