Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Platform architecture flag
Platform architecture flag [message #19217] Thu, 20 November 2008 20:19 Go to next message
cocob is currently offline  cocob
Messages: 156
Registered: January 2008
Experienced Member
Hello all,

I'am trying to build a an program on several differents architecture on linux but whith the automatic build flags generetad by theide :

GCC SHARED LINUX

I don't know on witch architecture i am, x86, x86_64 or powerpc, etc... (for example to link the correct lib with package organiser)

I there a way to do that ?

thanks for your help
Re: Platform architecture flag [message #19392 is a reply to message #19217] Sun, 30 November 2008 16:01 Go to previous message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Hello cocob

I know this is not exactly the answer you want but perhaps it could serve.

If you want to know the computer architecture you have to get the output of the command "uname -m".

The output in Linux will be depending on the architecture:
- x86
- x86_64
- Probably powerpc or ppc

Using bash you could do some kind of preprocessing before compiling, perhaps like a ./configure.

Best regards
Koldo


Best regards
IƱaki
Previous Topic: gdb integration improvement
Next Topic: Package template
Goto Forum:
  


Current Time: Fri Mar 29 13:35:05 CET 2024

Total time taken to generate the page: 0.01837 seconds