You are not logged in.
I'm running a build script and getting the error below.. My colleges dont get that error building on ubuntu.. I'm running 64 bit arch..
Could this be a missing package or something?
cc1plus: error: unrecognized command line option "-m64"
make[2]: *** [qlog.o] Error 1
make[1]: *** [sub-common-core-all-ordered] Error 2
make[1]: *** Waiting for unfinished jobs....
Offline
No... our default gcc package is not multilib - i.e. it is 64 bit only. So you do not need that flag.
Offline
The build script sets that option somewhere though. I know I have been able to build it a long time ago without changing the build script.
The build script will build for 32 bit as that is what our embeded device is running. I do have the gcc-multilib package installed and I'm build some other project of our code base just fine.
Offline
-m64 will not build 32 bit...
Offline
but I've been trying to look at the build scripts and I cant find where it adds the -m64 option? Could it be that its added automaticaly by the arch build system somewhere?
And the build script will always build 32 bit so I dont get why they would ever add the -m64 option in our script
Last edited by nanook (2012-09-04 12:53:10)
Offline