[users@httpd] Apache for arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux