x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Linux下编译的二进制太大了。

我在Linux上编译ue4,编译到一千多个文件的时候,我的硬盘满了导致编译失败,我看了一下,占用了我60多G,在执行make的时候有什么参数可以减小生成的二进制吗?比如不编译一些用不到的,或者不生成调试文件,就像手动删除windows上的pdb文件来减少空间的占用。60多G对于固态来说已经很大了,我接受不了啊。

Product Version: UE 4.21
Tags:
more ▼

asked Feb 17 '19 at 03:05 AM in Chinese

avatar image

ssd1997
1 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Try commenting out the line in LinuxToolchain.cs that has

                 Result += " -fstandalone-debug";

That should reduce the debug info at the expense of some debugging experience.

more ▼

answered Feb 17 '19 at 05:10 AM

avatar image

RCL STAFF
2.7k 59 6 88

avatar image ssd1997 Feb 18 '19 at 12:51 AM

Thanks.

[1]: /storage/temp/268882-2019-02-18-08-29-52屏幕截图.png

missing font?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question