salah1979 / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

Unable to install csu #75

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Follow the instructions on http://code.google.com/p/iphone-dev/wiki/Building
2. Error is produced when you reach this step:

"Install csu, which includes crt1.o, dylib1.o, and bundle1.o. Don't rebuild 
them from source, as 
this requires a working cross-GCC, which you don't have yet (and the 
build-from-source 
process for csu is broken right now anyway). Binaries are provided for this 
reason.
$ mkdir -p build/csu
$ pushd build/csu
$ ../../csu/configure --host=arm-apple-darwin
$ sudo make install
$ popd"

What is the expected output? What do you see instead?
I expect it to run the makefile properly, but get this error:

mkdir -p ./obj/static
static  -c -o obj/static/crt.o ../../csu/crt.c 
make: static: Command not found
make: [obj/static/crt.o] Error 127 (ignored)
mkdir -p ./obj/static
static  -c -o obj/static/arm-start.o ../../csu/arm-start.s 
make: static: Command not found
make: [obj/static/arm-start.o] Error 127 (ignored)
r -static  -nostdlib -keep_private_externs -o crt0.o obj/static/crt.o 
obj/static/arm-start.o
make: r: Command not found
make: [crt0.o] Error 127 (ignored)
/usr/bin/install -c -d /usr/local/arm-apple-darwin/lib
/usr/bin/install -c ../../csu/crt1.o ../../csu/dylib1.o ../../csu/bundle1.o 
crt0.o /usr/local/arm-
apple-darwin/lib
install: crt0.o: No such file or directory
make: *** [install] Error 71

What version of the product are you using? On what operating system?

I'm on an intel MacBook Pro running 10.4.10.

Original issue reported on code.google.com by knyghtf...@gmail.com on 13 Oct 2007 at 8:33

GoogleCodeExporter commented 8 years ago
just copy crt1.o, dylib1.o, and bundle1.o to /usr/local/aprm-apple-darwin/ and 
move
on to the next step...worked for me at least. thx to confusedfishcake for 
suggestion

Original comment by offby...@gmail.com on 14 Oct 2007 at 2:45

GoogleCodeExporter commented 8 years ago
Yea, that's what I ended up doing. I feel that this should still be resolved 
though for people who want to install 
through cleanly. Thanks.

Original comment by knyghtf...@gmail.com on 14 Oct 2007 at 6:06

GoogleCodeExporter commented 8 years ago
Same thing here, not sure why, its a very simple thing to do.

Original comment by Phi...@gmail.com on 16 Oct 2007 at 11:07

GoogleCodeExporter commented 8 years ago
It seams that when nightwatch added support for kexts, he added code in 
Makefile to
compile csu statically. 
The makefile seams to try and build csu, even when --enable-bootstrap wasn't in 
the
used, and fails miserably, due to CC being undefined.

I've removed the suspect code from Makefile.in temporally, will try to make it
conditional later.

Original comment by Phi...@gmail.com on 16 Oct 2007 at 12:29

GoogleCodeExporter commented 8 years ago
=*SJ99 - iPhone toolchain SDK v2.0.1*=

==Support Leopard & Snow Leopard (MAC OS 10.5.x & 10.6.x) Perfectly.==
==Support iPhone OS v3.x & 4.x==

Please open this link to view detail:  
http://www.sj99.com/toolchain.html

Usually, in order to develop iPhone toolchain applications, the beginners need 
to download several crosslink package and configure many complicated settings, 
it's very hard to config, complie, and link the toolchain successfully in a 
fews days. Almost 99% of the beginners will encounter several problems, and 
more than half them will gave up.

From now on, everything is easy. All you have to do is just buy/download this 
SJ99 iPhone Toolchain SDK, and install it on your Mac computer, only need to 
click the mouse several times.  It's a good news to all of the iPhone toolchain 
developers. 

[http://www.sj99.com/toolchain/TOOLCHAINSDK-en.png]

SJ99 - iPhone Toolchain SDK

Develop and Distribute Toolchain Application, General Flow:

 [http://www.sj99.com/toolchain/flow.jpg] 

SJ99 - iPhone Toolchain SDK, Installation Screen Snap:

[http://www.sj99.com/toolchain/sj99-iphone-toolchain-1.jpg]

After installed successfully, you can found all of the necessary dev-tools is 
ready on your computer:

There are some Demo Apps with source code that you can find them after 
installed the SDK. They are very easy to learn and test on the real iPhone.

For example, If you want to run one of the Demo App: testapp, just step into 
the source code folder, and run command line: $ make

After run make successfully, you can find the new executable program:test was 
created in the same folder.

Now let's run it on the real iPhone, it's very easy: 
1st. Config your iphone WIFI to link your Mac in a same local network, edit the 
iPhone_ip_address config file on your Mac
2nd. Run a simple command line: $ make up
OK, the script will upload the test program file onto your iPhone, and sign it 
automatically.

Example: You can find the executable file:test  in the /tmp folder on your 
iPhone:

Now you can run it by the terminal App on the iPhone:

This is just a very simple demo. You can use this SDK to develop powerful and 
fully functional iPhone applications.
In order to improve the dev efficiency, we recommend developers using Xcode to 
develop the UI and common functions, just leave all of the underlying/bottom 
functions to Toolchain SDK. It's very easy and suitable for the Xcode project 
to link the dylib file which was complied by Toolchain SDK.

The newest v2.1 version now is available. It has been optimized and support all 
of the XCODE versions, all of the iPhone OS versions, and all of the Apple 
iPhone SDK versions. The v2.1 contain more important demo project source code, 
include dylib project and Xcode UI project which can link and call the api that 
was implemented in a dylib library. 

Please open this link to view detail:  
http://www.sj99.com/toolchain.html

Copyright (C) 2010, SJ99.com Innovation for Dev&Art. Email: sj99com@gmail.com

Original comment by SJ99...@gmail.com on 5 Sep 2010 at 2:37