[Live-devel] cross compiling for mips

Marco Amadori amadorim at vdavda.com
Thu Nov 13 00:56:27 PST 2008


On Thursday 13 November 2008, 09:25:23, Edward wrote:

> Here is the config I am using.

> CROSS_COMPILE=          mipsel-linux-
> COMPILE_OPTS =          $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t
> -DNO_STRSTREAM=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64q
> C =                     c
> C_COMPILER =            $(CROSS_COMPILE)gcc
> C_FLAGS =               $(COMPILE_OPTS)
> CPP =                   cpp
> CPLUSPLUS_COMPILER =    $(CROSS_COMPILE)g++
> CPLUSPLUS_FLAGS =       $(COMPILE_OPTS) -Wall -DBSD=1
> OBJ =                   o
> LINK =                  $(CROSS_COMPILE)g++ -o
> LINK_OPTS =             -L. -u
> CONSOLE_LINK_OPTS =     $(LINK_OPTS)
> LIBRARY_LINK =          $(CROSS_COMPILE)ld -o
> LIBRARY_LINK_OPTS =     $(LINK_OPTS) -r -Bstatic
> LIB_SUFFIX =                    a
> LIBS_FOR_CONSOLE_APPLICATION =
> LIBS_FOR_GUI_APPLICATION =
> EXE =

I see no reference to toolchain paths, happy hacking!

-- 
ESC:wq

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the live-devel mailing list