Comments
by anon@NSG-Static-090.113.72.182.airtel.in -

I want to achieve something like this

I have 4 C source and header files and with using “arm-uclinuxeabi-gcc” I want to compile and create one single executable file..? and need to add this to my kernel Image.

In our host machine in order to generate binary file we used commands like this

“gcc -o calc calc.c stdsoap2.c soapC.c soapClient.c”


After this step we got “calc” binary file this works.

how to achieve this step in uclinux using arm-uclinux crass compiler to generate single executable binary file…??
actual intension to port gsoap to ulinux and run on target machine.

when I compiled its giving error like this
…………………………………………………………………….
……………………………………………………………..
Building modules, stage 2.
MODPOST 0 modules
make[1]: Leaving directory `/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/linux’
make -C app all CFLAGS=“-Os -mcpu=cortex-m3 -mthumb -I/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/A2F/root/usr/include” LDFLAGS=“-mcpu=cortex-m3 -mthumb -L/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/A2F/root/usr/lib”
make[1]: Entering directory `/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/projects/solus_test/app’
arm-uclinuxeabi-gcc -Os -mcpu=cortex-m3 -mthumb -I/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/A2F/root/usr/include -o calc calc.c soapC.c soapClient.c /home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/projects/solus_test/app/stdsoap2.c
Critical error: Cannot open file “arm-uclinuxeabi-gcc -Os -mcpu=cortex-m3 -mthumb -I/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/A2F/root/usr/include -o calc calc.c soapC.c soapClient.c /home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/projects/solus_test/app/stdsoap2.c “ for reading
make[1]: *** [calc] Error 1
make[1]: Leaving directory `/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/projects/solus_test/app’
make: *** [app] Error 2
root@amarayya-System-Product-Name:/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/projects/solus_test#

how can I fix critical error in crass compiler and what is the reason for it..?

(Attached to Article Cross compiling in Technology)
 
by anon@c114-77-19-30.brasd3.vic.optusnet.com.au -

Thanks for the info on cross compiling.

I had to compile libjs for MIPSEL and got stumpted when the makefile was trying to execute MIPSEL binaries on my X86 machine (Cygwin). So the tip of copying the MIPSEL binaries to the target machine was very helpful.

But, there were a couple of differences.
My makefile kept deleting jsautocfg.h, so I commened out the line with rm -f jsautoconf.h in it in Makefile.ref
(its a bit of a hack, but it works!)

Also in the makefile, jskwgen takes the output file as the first arguement. So I ran ./jskwgen jsautokw.h on the target system to generate jsautokw.h
But I can see now that if I omit the output file jskwgen just outputs to stdio, so you can redirect it to a file like you did.

Anyway. Great tips

Thanks again.

Roger Clark

(Attached to Article Cross compiling in Technology)
 
by packi -

…I think those script programmers are missing makefiles. 0x09 out.

(Attached to Article Me vs. Python in Technology)
 
by packi -

It seems that

stl::string.assign( const char* )…

is causing the trouble. Don’t know how I’ll solve that though. We’ll see *crawls to bed*

(Attached to Article Memory corruption in Technology)
 
by packi -

…according to the author of the “Circuit macros” maybe, we weren’t trying hard enough ;)