httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Rutherford <grutherf...@iders.ca>
Subject [users@httpd] Apache for arm
Date Mon, 15 Aug 2005 21:56:30 GMT
Hello everyone...

I'm fairly new at setting up linux applications, so please bear with me 
here.

I'm trying to get apache running on a arm9 processor.  The operating 
system on this processor doesn't have any of the normal libraries, and 
there isn't much room.  So, whatever I install has to be statically 
compiled and as small as possible.

I think I've figured out how to get the configure script to use the 
cross compiler, and I've sorted out a few problems along the way.  The 
configure, make, and make install commands now all work without 
reporting any errors.

However, when I try to run httpd on the arm board, I get the same 
message that results if a progam is not compiled with the -static tag.  
(./httpd: No such file or directory - when the file definitely exists)

I understand that the problem could be with the cross compiler (already 
fixed a few of those last week).  However, I'd like to rule out any 
stupid mistakes I may be making :)  I'm currently trying to get it to 
compile statically by entering the following commands before running 
configure:

export CFLAGS="-static"
export LDFLAGS="-static"

Is there anything else I should be doing?  The -static tag shows up on 
every compile line when make is run, including the one for httpd itself.

Also, the file is currently about 4 MB, which is pretty large.  I 
imagine it will get larger if I am successful in getting it to be 
static.  Is there any way to reduce the size of the final executable?

Thanks in advance,
Grant

-- 
Grant Rutherford
Iders Incorporated

100-137 Innovation Drive
Winnipeg, MB, Canada R3T 6B6
http://www.iders.ca
tel: 204-779-5400 ext 250
fax: 204-779-5444
================================
Iders Incorporated: Confidential
================================
Note: This message is intended solely for the use of the designated
recipient(s) and their appointed delegates, and may contain
confidential information.  Any unauthorized disclosure, copying or
distribution of its contents is strictly prohibited.  If you have
received this message in error, please destroy it and advise the sender
immediately by phone, Email or facsimile.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message