Headless 32-bit build on 64-bit machine [message #1142635] |
Thu, 17 October 2013 15:18  |
Eclipse User |
|
|
|
I am presently running a headless compile from Jenkins on 64-bit Linux x86_64 and it works fine. Here's the basic command.
/usr/bin/eclipse \
--launcher.suppressErrors \
-nosplash \
-application org.eclipse.cdt.managedbuilder.core.headlessbuild \
-import ./ \
-cleanBuild project/Debug \
-data ../tmp-project
Of course, this builds a 64-bit binary (and I want that). But I also want to build a 32-bit binary and can't figure out how. I understand that the IDE can do so by setting the compiler and linker flags to -m32. However, I can't find a way to pass that information on the command line.
Note that I don't want to create two separate projects and I don't want to change the IDE settings of the project. I want to end up with both 32- and 64-bit binaries.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07142 seconds