Dear Kasper

Thank you very much. If you still read this, I would like to ask a question 
about cross compilation. I found this developers guide from Synology: 
https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_NAS_Server_3rd_Party_Apps_Integration_Guide.pdf

It starts very easy to follow and I followd the link to the github 
repository as mentioned on page 7. There I selected "Marvell Armada 370 
Linux 3.2.40" as this corresponds with my current linux version and the DS 
213j. However, I have problems with the following steps.

Page 11 shows how I should set environment variables. But not everything 
works.

The PDF says:

# env CC=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-gcc 
\
LD=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-ld \
RANLIB=/usr/local/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-ranlib
 
\
CFLAGS="-I/usr/local/arm-marvell-linux-gnueabi/arm-marvell-linux-
gnueabi/libc/include-mhard-float -mfpu=vfpv3-d16" \
LDFLAGS="-L/usr/local/arm-marvell-linux-gnueabi/arm-marvell-linux-
gnueabi/libc/lib" \
./configure \
--host=armle-unknown-linux \
--target=armle-unknown-linux \
--build=i686-pc-linux" \
--prefix=/usr/local


There are also further questions like "do I have to insert the 
backslashes?" but my more important question is around "how should I adapt 
these recommendations to my case?"

The toolchain that I extracted to /usr/local on my desktop PC has a 
different name. The folder is called "arm-unknown-linux-gnueabi". In the 
bin folder I can find many files starting with "arm-unknown-linux-gnueabi". 
There are also several gcc files. gcc itself, but also gcc-4.9.3, gcc-ar, 
gcc-nm, gcc-ranlib and there is a also a file which ends on -ld. 

However, there is no libc folder. When go back from the bin folder, then 
there is just "lib" and in it "gcc". Then there is another 
"arm-unknown-linux-gnueabi" folder and in it "4.9.3". But in there and in 
the following subfolders I cannot find a file called include-mhard-float

So, I do not even know what I am doing there, I am just trying to adapt 
this to the available files.

Could you point me in the right direction?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dae3cc3a-c6c0-4574-912a-6c8ea5a7832a%40googlegroups.com.

Reply via email to