Compile Apache Traffic Server to AC68u

tramchamploo

New Around Here
The latest version of ATS uses C++17, so
Code:
 ./configure CXX=arm-uclibc-g++ CC=arm-uclibc-gcc --prefix=/opt --host=arm-linux
doesn't work, using am-toolchain. Then I downloaded official arm toolchain and compile with
Code:
./configure CXX="arm-none-eabi-g++  --specs=nosys.specs" CC="arm-none-eabi-gcc  --specs=nosys.specs" --prefix=/opt --host=arm-linux
and no luck. Prompting error: You are trying to build on a 32-bit platform, which is unsupported.
This is weird because I'm doing this on x86_64 platform.
What can I do now? Thanks.
 

st_ty_

Occasional Visitor
Are you sure, that you have chosen the right toolchain? Please choose a toolchain intended to compile firmware for AC68U! Your toolchain uses newlib, AC68U needs a toolchain based on uclibc.
BR
st_ty_
 

st_ty_

Occasional Visitor
I have to revise the statement in my first post: Building ATS should work, if c++ cross-compiler of your toolchain supports C++17. (But I don't know neither if it really supports C++17 nor if compiled ATS will run without error afterwards on AC-RT68U.)
Try to include "--enable-32bit-build" to configure. According to content of configure.ac, this could solve your problem.
BR
st_ty_
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top