Posted by: avnerm
« on: May 06, 2008, 12:11:11 AM »I'm trying to compile a cpp file using SlickEdit.
When I run "make bgmBgModeller.o" from the command line (outside SE) the following command line is dispatched:
/usr/bin/gcc bgmBgModeller.cpp -fPIC -DEXP_PRODUCT_STAMP="Product_00999" -DEXP_PRODUCT="Equinox" -DEXP_VERSION="2.09.01" -DEXP_FC_RELEASE="8" -D_GNU_SOURCE -DEXP_KERNEL_MAJOR=2 -DEXP_KERNEL_MINOR=6 -DEXP_KERNEL_RELEASE=24 -Wall -fsigned-char -fmessage-length=90 -Woverloaded-virtual -DEXP_GCC_MAJOR=4 -DEXP_GCC_MINOR=1 -march=core2 -DEXP_ARCH=core2 -DEXP_CPU_FAMILY_INTEL -DEXP_MMX -DEXP_SSE -Wno-long-long -Wno-attributes -pedantic -DEXP_DEBUG -ggdb -DEXP_DEVEL -DEXP_PROFILING -I/home/amoshkovitz/views/equinox-v2.09.01/tree -I/home/amoshkovitz/views/equinox-v2.09.01/exportedObjects/dbg-gcc4-core2/tree -I/home/amoshkovitz/views/equinox-v2.09.01/derivedObjects/dbg-gcc4-core2/dynamic/objects/tree/algorithms/bgModelling/src -c -o /home/amoshkovitz/views/equinox-v2.09.01/derivedObjects/dbg-gcc4-core2/dynamic/objects/tree/algorithms/bgModelling/src/bgmBgModeller.o
but when I run it with SE I get:
cc -c -g -o "Debug/bgmBgModeller.o" "/home/amoshkovitz/views/equinox-v2.09.01/tree/algorithms/bgModelling/src/bgmBgModeller.cpp"
I adjusted the following settings in Project / Project Properties
In the "Build" tab I selected "Build with a user-maintained makefile ..."
In the "Build" tab I filled in "make" in the "run from dir:" field.
I started SE from the terminal that launches the correct make flags, so I'm expecting SE to have the same environment settings (e.g. PATH)
Why doesn't SE produce the same make flags?
Thanks,
Avner
When I run "make bgmBgModeller.o" from the command line (outside SE) the following command line is dispatched:
/usr/bin/gcc bgmBgModeller.cpp -fPIC -DEXP_PRODUCT_STAMP="Product_00999" -DEXP_PRODUCT="Equinox" -DEXP_VERSION="2.09.01" -DEXP_FC_RELEASE="8" -D_GNU_SOURCE -DEXP_KERNEL_MAJOR=2 -DEXP_KERNEL_MINOR=6 -DEXP_KERNEL_RELEASE=24 -Wall -fsigned-char -fmessage-length=90 -Woverloaded-virtual -DEXP_GCC_MAJOR=4 -DEXP_GCC_MINOR=1 -march=core2 -DEXP_ARCH=core2 -DEXP_CPU_FAMILY_INTEL -DEXP_MMX -DEXP_SSE -Wno-long-long -Wno-attributes -pedantic -DEXP_DEBUG -ggdb -DEXP_DEVEL -DEXP_PROFILING -I/home/amoshkovitz/views/equinox-v2.09.01/tree -I/home/amoshkovitz/views/equinox-v2.09.01/exportedObjects/dbg-gcc4-core2/tree -I/home/amoshkovitz/views/equinox-v2.09.01/derivedObjects/dbg-gcc4-core2/dynamic/objects/tree/algorithms/bgModelling/src -c -o /home/amoshkovitz/views/equinox-v2.09.01/derivedObjects/dbg-gcc4-core2/dynamic/objects/tree/algorithms/bgModelling/src/bgmBgModeller.o
but when I run it with SE I get:
cc -c -g -o "Debug/bgmBgModeller.o" "/home/amoshkovitz/views/equinox-v2.09.01/tree/algorithms/bgModelling/src/bgmBgModeller.cpp"
I adjusted the following settings in Project / Project Properties
In the "Build" tab I selected "Build with a user-maintained makefile ..."
In the "Build" tab I filled in "make" in the "run from dir:" field.
I started SE from the terminal that launches the correct make flags, so I'm expecting SE to have the same environment settings (e.g. PATH)
Why doesn't SE produce the same make flags?
Thanks,
Avner
